Archive for August 2007

Adding a "Subscribe" Bar to Your Blog

It makes me uneasy that such a huge number of people still visit blogs the old fashioned way: by checking them manually every now and then. This, of course, is in opposition to subscribing via RSS and then only clicking over when there is new content.

I am guilty of keeping an extremely unpredictable publishing schedule at Mike Industries, sometimes posting multiple times per week, and other times going almost a month without any new entries. For this reason, I wish all readers were subscribers. That way, no one would ever be greeting with old content.

In an effort to convert more casual readers to subscribers, and hopefully convert people onto RSS in general, I’ve developed a PHP-powered module which prompts users to subscribe to my feed if they aren’t already. Here’s how it works:

  1. If you come to Mike Industries and don’t have at least one of two cookies, you see a bar encouraging you to subscribe via RSS or e-mail. One cookie is the “subscriber” cookie while the other one is the “promptclosed” cookie.
  2. If a user clicks over to Mike Industries from my feed, I set the “subscriber” cookie. If a user manually clicks the “close this message” link in the module, I set the “promptclosed” cookie. Both cookies last for three months.

In order to accomplish this, you need to do a few things:

  1. Write some simple HTML to display your prompt message. Include it at the top of every page of your blog, hopefully using something like PHP so you only have to do it once. Using PHP, or your dynamic language of choice, set the message to only render if neither the “subscriber” nor the “promptclosed” cookies are set. Here’s what mine looks like:

  2. Modify the URLs in your feeds such that they pass a variable at the end like “how-to-make-a-margarita?subscribed=true”.
  3. Using PHP, or your dynamic language of choice, insert code right above the code in step 1 which checks for the presence of “subscribed=true” in the query string and sets the “subscribed” cookie accordingly.

* Note: If you are using Mint w/ BirdFeeder like I am, you can skip steps 2 and 3 and just add the following to Birdfeeder’s class.php right above the line that says header("Location:{$_GET['seed']}");:

Voila. That’s it. An unobtrusive message encouraging you to subscribe which goes away after you either subscribe or decide to close the message.

Interestingly, I got this idea while experimenting with Google AdSense several months ago. I only wanted to show the ads to casual passers-by (perhaps coming in through search engines) and not to Mike Industries subscribers. Now that we have the ability to set cookies and identify who is a subscriber, we can do all sorts of things. I can imagine a small subset of features on the site which are perhaps only made available to subscribers. Who knows. I like the possibilities though.

I just lost any respect I had for Nokia

If you can't beat them, copy the hell out of them.

Some great .htaccess and mod_rewrite examples

If Web Commenters Attended Business Meetings

Funniest video I've seen in awhile.

“It will completely change the look of the American highway, but not so much that anyone will notice.”

A great writeup about the evolution of the Clearview typeface.

Fantasy Football Spot Up For Grabs

Once again, the blogosphere’s trashtalkingest and most reprehensible fantasy football league, the IKNFL, is increasing its roster. We’re expanding to two leagues of 14 teams each this year, and there is an extra spot up for grabs. Past champions include D. Keith Robinson (2004), Jeff Croft (2005), and Wilson Miner (2006).

Personal transformations have been known to occur in winners, as can be witnessed by Keith’s opening of the highly successful Blue Flavor design and development studio, Jeff’s relocation from a rural chicken farm in Kansas to the city of Seattle, and Wilson’s remarkable metamorphosis from early Swiffer mop prototype to ladykilling heartthrob (see below).

Before IKNFL Championship:

After IKNFL Championship:

The IKNFL is $80 to join but the payouts are equally rich. We include individual defensive players and use a normalized scoring system that ensures every position on the field can score big. There’s a lot of trash talk so make sure you can take the heat before applying.

SO… if you’d like to join, all you have to do is leave a comment below requesting membership. As a simple test of your football knowledge, name who should be the #2 pick of the draft and why.

Gnomedex: No Stinkin' Badges

Chris Pirillo’s Gnomedex conference kicked off last night in Seattle and the turnout looked fantastic. Lots of people from out of town, and a great venue to boot. The thing that pleased me more than anything else at the pre-conference party though was the design of the conference badges. Gnomedex badges are big and bold, with visual real estate doled out in almost perfect proportions. I wrote about the issue of carelessly designed conference badges a few months ago, and upon congratulating Chris on his conference last night, he informed me that the Gnomedex badge design was inspired by that article. Hooray for design evangelism!

Below is a photo of the badges snapped by Laughing Squid:

Positives:

  • Attendee name is huge and readable from far away — set in Univers Helvetica Neue Condensed Black, an extremely legibile, yet space-efficient typeface.
  • Attendee’s blog URL (instead of company) is listed below name. A nice touch considering the subject matter of Gnomedex.
  • Title of conference and all other non-essential information is minimized.
  • Sponsor (Polar Rose) is all over the lanyard instead of mucking up half the badge.
  • Badge is two-sided.

Potential Negatives (Not many!):

  • http:// could theoretically be lopped off the blog URL to increase the size and readability of the URL, but one could argue the prefix adds geek appeal.
  • A commenter on my previous entry suggested perhaps emphasizing the person’s *given* name so you know what to call them. This is more important in other countries though where names don’t always follow the “call me by the first name you see on my badge” rule. Not really fair to call this a negative, but it would be a nice potential issue to solve.

Oh, and there’s another big positive too. This has got to be the coolest badge ever. Party only! –

Hacking the iPhone on an Intel Mac

The Wolf is a crazy man.

XRAY tool for web developers

Possibly the second coolest bookmarklet ever (behind Seed Newsvine)

Shared

Video of 14 year old Jimmy Page in 1957: I watched “It Might Get Loud” last night and part of it featured this 53 year old video clip. Don’t miss the interview a couple minutes in where Jimmy says he wants to do biological research when he grows up. As for the movie, it was pretty good, if you’re a fan of the three guitarists. I personally didn’t think The Edge added much, but I’m not a huge U2 fan either. Jack White and Page, however, were great.

How to Swear in English, if You’re Korean: “Little children and pregnant women should not watch, because it will be bad for their education.” Gets funnier every time I watch it.

Saturday Night Live: China Cold Open — I don’t watch SNL much anymore but this week’s (repeat) opening skit on U.S./China relations was hilarious. I love the translator.

TrentWalton.com:

Trent’s site is really nice. The single-blog-post index is an interesting touch. Make sure to click “Prev” to peruse some of Trent’s other posts.

How to make a Lost Cat poster if you’re a graphic designer and you don’t like doing free work for people. (via jimray)

“Apple of My Eye”: A short movie, filmed and edited entirely on an iPhone. Beautiful stuff. (via gruber)

PilotHandwriting:

Write some letters on a piece of paper, upload it via webcam, and this site will turn it into a font. Very slick. If I didn’t have deplorable handwriting, I would try it. (via Cameron)

How the Big 12 came back to life:

This is one of the best investigative sports articles I’ve ever read. Really, really fascinating. If you care at all about college football, you must read it. Two really interesting things I learned: Colorado really screwed themselves, and ESPN pretty much screwed the Pac-10.

We just launched msnbc.com’s new photoblog today. It’s pretty hot and it’s not even full featured yet. Peep it.

iPhone App Development: The Missing Manual:

If I ever decide to write an iPhone app, this will be the first book I buy. (via gruber)

The Battery Flashlight: Pretty cool. I can’t think of another example of a product where the battery is actually part of the user interface.

“What is the level of technology that is required to make a foam stick?” — Wham-O Moves to America (The Daily Show)

How Much Do Music Artists Earn Online? A great infographic showing how the digital distribution of music has sucked artists’ royalties almost completely dry. People have argued they were never healthy to begin with, but the difference here is major. The same is going to happen to every meatspace product that transitions to digital. The iPad isn’t going to save content royalties.

Dude with ridiculous business-card throwing skills. It’s good to know business cards still have a use. (via tan.gy)

If ever anyone had a look that screamed “potential air guitar champion”, it is Rob Weychert. Watch him tear it up in the 2010 Air Guitar World Championships. I am proud to say this man has slept on my couch.