Robot-like Human

(it's a website)

Social Media Taunts Me

Facebook Ads

Maybe I'm taking it the wrong way. Maybe Facebook's a dick.

You Know Me Too Well

Thank you Facebook for confirming daily that yes, I am a single nerd who drinks too much. The ads usually look like this.

"Date Girls"
"Morebeer.com"
"Date Asian Girls"
"Learn Web Development"
"Date Asian Girls Who Brew Beer and Teach Web Development"

Facebook serves ads based on the contextual clues we provide. But how do they know I dig Asian girls?

Microformatting (aka rich snippets) and You

This micro-jazz is fairly new. Well, the technology is a few years old, but Google only recently started implementing it. The idea is to structure your code and content a particular way ("semantically") so Google and God knows who else can understand it on a new level that takes particular stuff as granted. If Google knows what kind of stuff to expect in your data they can crawl, decipher, and spit back that data (aka content) in seriously rad ways.

Ok... what does that even mean?

Add First & Last Classes to Field Items

Edit: I'm pretty sure they fixed this with Drupal 7.2. Thanks Drupal contributors. Understanding nth-child CSS is still useful for targeting specific divs, ul li's, and the like. It's definitely worth keeping in your back pocket.

We aren't really going to add a first and last class to Field items. Instead, we are going to use CSS3 to determine the first and last class of any given group of elements.

Self-taught Web Development is a B

Many of us are self-taught web developers. We base our learning curriculum on necessity. If a client needs a fancy new slider, we learn jquery. When a pet project needs traffic, we study SEO and analytics. As we grow older, we tend not to learn new web concepts all willy-nilly. It's exhausting, never ends, and there is money to be made with the skills we already have.

How to Print a View in Drupal 7 (and Drupal 6)

If we understand how to render Views in a template, we can put any data anywhere any way we like. This is one of the many reasons Drupal is touted as super-hero powerful. Wordpress has nothing even close as far as I know (which isn't very far). Well, this thing kind of mimics Views, though I don't dig it. I'm not sure what Joomla has to offer. Mostly because it's Joomla.

Things I Wish I Was Told About Web Design Long Ago

1. Don't Learn Flash

As for practical applications for Flash in 2011, it's kind of meh. Jquery is rocking socks off, and once CSS3 transform and transition and HTML5's canvas are better supported, Flash will be dead for simple online animation. Apple has been an out-spoken dick regarding the evils of Flash, nailing down the coffin one propaganda doc at a time. It was a good run buddy.

There's still a place for Flash for cool animations that require a time-line environment, like games and cartoons, which we so need. Well, I do.

10 Reasons Not to Start a Blog

1. You’re not as cool as you think

Although your mom would vehemently argue otherwise, you’re not special. 1,407,724,920 people have access to the Internet. At least 10 million of them are cooler than you. Only 10% of them are willing to blog while the remaining 90% are busy meeting members of the opposite sex, attending Dave Mathews Band concerts, and doing other cool things cool people do. That’s one million cooler-than-you bloggers to compete with. Crunch the numbers.

How to Print Taxonomy $term in node.tpl.php in Drupal 7

For someone who uses PHP every day, I sure do suck at it. I'm more of a less-mathematical-aspects-of-the-internet-guy, if that makes sense. Considering my brain's math deficit, It's little surprise it took me hours to figure out how to print taxonomy terms in node.tpl.php with Drupal 7.

The only code that worked for me was...

<?php print render($content['field_tags']); ?>

Printing CCK (Content) Field Values in Drupal 7

Drupal documentation can be tough to find. Blame Google's algorithm's focus on link-popularity and my failing patience. A search for "embed/print/render cck field value drupal 7" brings up a bunch of D4, D5, and D6 info. Not for me.

node.tpl.php actually gives you pretty clear instructions on how to print content fields, but since you aimlessly Googled your problem like me, here's how...

for Drupal 7
<?php print render($content['field_EXAMPLE']); ?>
<?php print render($content['body']); ?>

Google Indexed this Website In 1 Day

Yesterday, I registered this domain, tossed up a couple pages, setup Google Analytics, and pow – Google indexed me the next day. It could have been 5 seconds, I didn’t check until now.
BFD you say? Well, when I was a kid and we had to code manually 5 miles uphill on notepad, index time could take weeks or months! Following the dog-year standard, 1 human-month = 7 internet-months. That’s a long time to wait for traffic.

Pages

Subscribe to Robot-like Human RSS