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.

Like this entry? You probably shouldn't follow me on Twitter here. I recommend the RSS feed instead.

29 Responses:

  1. Do you mind if I use the text without the code? I’d like to implement it differently.

  2. Not entirely unsurprising, but there’s a WordPress plugin for this called What Would Seth Godin do:

    http://tinyurl.com/2ufl2e

    There’s also another which does this and encourages IE users to switch to Firefox with a Google referral ad called Recommend Google Pack:

    http://tinyurl.com/38276k

  3. Cool Mike, that’s one of those simple ideas that leave me wondering why I never thought of it. Thanks for sharing.

  4. I was just thinking it’s been a while since we’ve heard anything from the ol’ Mike Industries when this popped up in the feed reader. I guess you don’t have to convince me =)

    Great idea on the cookie/subscribe thing, looks like that Seth Godin plugin works pretty flawlessly for WP, but your idea is great for non-WP sites.

  5. Göran says:

    Great idea! The only thing I can think of is the missing out of great design when only reading feeds. Like your site, it´s in my bloglinefeed but I still come here now and then just for the visual impact.

  6. Don says:

    I know how to subscribe if I like a blog … and if I don’t or am visiting for the first time or for a particular article I sure don’t want to be nagged, although you at least made it part of the page instead of an annoying pop-up or whatever, however I’m sure others will extend the idea to a pop-up div …

    I hope others don’t join you!

  7. [...] can keep up with the links I find all week on the Link List. Below is a [...]

  8. After I saw your subscribe by e-mail thing (which I use and love) I added something similar to my site. I don’t have the cookie thing (which is a good idea) so even if you subscribe or are a regular it has the box – but for not it works really good.

  9. Seth Dimbert says:

    I had to look at the top of the page three times before I found the bar. :( It’s up higher than any content and, since it’s black, sort of fades away.

    Just my two cents.

  10. Emily says:

    Out of curiosity, Mike, what happened when your blog exploded all over my RSS reader? It happened two or three times in the past month (I suppose that coincides with new posts), but why the explosion?

    And yes, comments are fine now.

  11. Good idea, WP has a plugin similar to this which I think is handy along with an explanation of what RSS is

  12. Vladimir says:

    Well, since there’s a WP plugin that does this already, would anyone be clued in to the existence of a TextPattern plugin that does the same? I do agree that the plight to get more people to be subscribers is an important one, since that is the direction the web is going these days.

  13. Mike D. says:

    Paul: Absolutely. Go ahead.

    Jemaleddin: Interesting plug-in, that Seth Godin thing. However, it doesn’t seem to tie into the user actually being *subscribed*. From my reading, it looked like it just showed users a prompt three times, and then went away. I want to actually know who is subscribed and who is not.

    Goran: Yep, I always visit sites to read the actual article as well. I just use RSS for new entry notification.

    Emily: Yeah, sorry about that. I migrated the entire site from MT to WordPress last week so the feed was wonky for the weekend. Should be all fixed now!

  14. Vladimir says:

    Wow, that was a pretty seemless crossover to WP! I probably never would’ve been the wiser had you not mentioned it. My only gripe with WP is templating, which can sometimes seem like more effort than its worth.

  15. Mike D. says:

    Vladimir: Thanks, yeah, about 20 hours into my attempted upgrade from MT3 to MT4, I figured it was time to switch. The migration to WP only took about a day and there wasn’t a whole lot of blood to clean up.

  16. Chad says:

    The biggest issue with RSS feeds is getting the average internet user to understand what they are and how to use them. Once that hurdle is crossed, subscribing to them isn’t a problem.

    Still a nice way to implement the “subscribe”, though …

  17. Vladimir says:

    “The biggest issue with RSS feeds is getting the average internet user to understand what they are and how to use them.”

    I suppose this actually makes sense. Perhaps a link in said “subscribe” bar that describes what RSS is and list all the advantages of being a subscriber?

  18. Jeff says:

    “The biggest issue with RSS feeds…”
    “…what RSS is and list all the advantages of being a subscriber?”

    What are the addvantages of RSS to the end user?

  19. Vladimir says:

    “What are the addvantages of RSS to the end user?”

    Well, in so many words it has pretty much been laid out here, hasn’t it? :)

    Like Mike said, to notify users of new content rather than randomly checking the site with the hopes of their possibly being new content. Also, if you have a feed aggregator (or like me and you have all your primary RSS feeds in your Firefox bookmarks toolbar) it allows easy access to multiple sources of information, quickly.

  20. Jeff says:

    Well I have had a subscription since the end of Feb this year. How is an RSS different than a subscription?

    If your RSS feeds are in a toolbar bookmark it requires you to access it to determine if there is new content. A subscription allows the user to organize content through watever filter they desire. What is the advantage of an RSS over a subscription?

  21. Vladimir says:

    Having RSS is a “subscription”, is it not? The two are one in the same last time I checked. RSS is just the format in which that subscription is delivered.

  22. [...] Mike Davidson has recently switched from MT to [...]

  23. Michel says:

    Great work, Mike!

    You’ve managed to migrate from Movable Type blog platform to WordPress in less time than one day? With so many blog posts and comments and a theme to tweak and old URLs not to break?… I admire the work done! :-)

    BTW, I am sure it’ll be interesting not only to me, but to a lot of your users, if you might answer to the following question — what decided you to “jump” from MT to WP, if it’s not a secret?… If you write about it in one of your next posts, would be great! (And also if you may unveil what difficulties you had during the move period, problems encountered and how you resolved them, etc.)!

    Cheers, M.

  24. [...] Mike Davidson – Adding a “Subscribe” Bar to Your Blog (tags: rss php cookies webdesign blog design tips marketing) [...]

  25. JohnR says:

    Mike,
    Why can’t we get the full feed in our readers. I can understand NYTimes needing the pageviews for their dying business but I’d love to get the full feed in my reader so I don’t have to jump over to your site every time there’s an update.
    Any chance of that happening?

  26. Just as an FYI, your comment permalinks are wrong. The # should be before “comment” :P

  27. Mike D. says:

    Ryan: Thanks! Old artifact from switching to WordPress. Fixed!

    JohnR: For now, I’d just prefer that full content only live in the browser. That may change though.

  28. [...] Adding a Subscribe Bar to Your Blog Another method to make RSS subscription more visible. (tags: blog reference cookies tips webdesign design) [...]

  29. [...] Yes, there are plugins like: Add ?Subscribe Me? Plugin To Your Blog | Blogging Without A Blog Mike Davidson – Adding a ?Subscribe? Bar to Your Blog Subscribe Me Plugin For WordPress You ALWAYS want to encourage your readers to subscribe to your [...]

Leave a Reply

Shared

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.

Snap Groups: Mark Fletcher's new project:

When Mark Fletcher creates a product, it’s usually transformative and awesome. Bloglines, for instance, changed my life. SnapGroups, his latest project, just launched today. It’s too early to tell how successful it will be, but given who is behind it, it’s something to keep an eye on.

Overshared
@blamedesign Yep, didn't mean discrimination. Just meant not maximizing shareholder value because of editorial ideologies.
@blamedesign The thing that may get them off the hook here is maybe it's going to be a trivially small transaction no matter who buys.
@blamedesign Here's an example: http://bit.ly/9VexnX "failed to look out for shareholders' best interests by rejecting Microsoft's offer"
@blamedesign Not true at all. Plenty of shareholder lawsuits for not maximizing proceeds during a bidding process.
@blamedesign I don't understand what you're saying. "Public company" equals "Publicly traded company".
@blamedesign Wha? http://finance.yahoo.com/q?s=WPO
How is it that a public company like WaPo can refuse bids for Newsweek on ideological grounds? Is that legal? http://cnt.to/m23
North Korean football team shamed in six-hour public inquiry over World Cup: http://bit.ly/dbDe1k
@Coudal What I find strange is that people think I'm supposed to like it even more because I'm into the ad industry... and yet, I don't.
@khoi You and me make two. I've given Mad Men three shots now. Does nothing for me.
@davepell We do it because so far, it has felt like some sort of improvement.The more plugged in one is,the sooner one will begin to unplug.
@shoghon Wow, that kills my diagram. Good idea... might be tough to anchor the fulcrum though. You can't walk on that slope.
@peruvianidol Nope. The eagle tree in on my neighbor's property. It's much bigger too. This is really almost an overgrown bush.
@sourjayne One swing of a sharp sword would chop these little branches right off. They are tiny. And yeah, gotta buy the sword first :).
@sxtxixtxcxh Yep, but the branches to be trimmed are very thin. Would like to just make some clean breaks.