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

Hundreds of headlines wash over us every day. And part of why many of us engage in this flow is because we have faith that over time, this torrent of episodic knowledge is going to cohere into something more significant: a framework for genuinely understanding an issue. And we live with it ’cause it sort of works. Eventually you hear enough buzzwords like “single-payer” and “public option” and you start to feel like you can play along.

But mounting evidence indicates that this approach to information is actually totally debilitating. Faced with a flood of headlines on an ever-increasing variety of topics, we shut off. We turn to news that doesn’t require much understanding – crime, traffic, weather – or we turn off the news altogether.

- Matt Thompson on why the way we report and consume news is precisely wrong. Matt is, of course, precisely right. If you’re at SXSW next week, I don’t know how you could justify missing this talk.

Cameron’s Colosseo letterpress poster is now available: The only question is, black or white? The black is oh so tempting!

Jon Stewart Skewers Media’s Obsession with Chat Roulette: Funniest Wii Craps reference ever, as well. It’s really interesting to me that Chat Roulette is getting this much “attention” when TinyChat has been around so much longer, essentially does the same thing and more, and is much more useful to the average person. Just goes to show how viral public sex acts can be.

"Add features and customers forever and rake in the dough.":

The 2005 email that spawned Picnik, Google’s latest buy. If you’re thinking about launching a startup, you should study this e-mail carefully. It’s a perfect example of exactly how a crazy little thought becomes a big idea, and even on its own, it’s better than most “official company business plans” people present to VCs.  I gave a talk at Webstock in New Zealand a couple of weeks ago about creating a startup and I wish I had this to dissect at the time. Really good stuff.

Tumblr Finally Rolls Out Comments. Sort Of. Trolls Not Welcome. :

I actually really like how clubby it is.  Unfortunately it means I won’t be commenting on any Tumblrs since I don’t officially “follow” anyone besides via RSS, but that’s probably ok. Maybe the answer to the world’s wide-open commenting problem is something like this.

Episode 2 of Dan Benjamin's "The Conversation" is Live:

I was a guest on Dan Benjamin’s new weekly radio show last week, along with Merlin Mann, Christina Warren, Adam Keys, and Dave Nanian. Subjects discussed include Newsvine, keeping your own identity after becoming part of a big company, and the RADICAL concept of only publishing stuff to your readers and followers that is actually true.

LESS - Leaner CSS:

Given that pre-compiling CSS is an official “best practice” these days, why not use that compile step to extend CSS in powerful ways? LESS lets you use variables, nested rules, and other niceties at author-time to clean up your rules and keep everything tidy. I believe The Wolf made something like this a few years ago, but I haven’t heard about it since.

How 3D works, and why it's back:

Great article on the ins and outs of three dimensional imagery. Still doesn’t change my opinion that well-shot conventional cinematography is more impressive than the novelty that is Avatar.

The Importance of Removing Features:

This is one of the most useful articles I’ve read in a long time. As we work on focusing, strengthening, and simplifying Newsvine, the concepts discussed by Lukas ring true. “Saying no” has never been a strong suit of mine. It’s very helpful to remember how important of a quality it is. (via fullstopinteractive)

Newly released video of the space shuttle Challenger disaster: It was 24 years ago, I was in 5th grade, but I remember it like it was yesterday. School was stopped immediately and they wheeled out televisions in every classroom for us to watch the news footage. It’s great that this video has been released, but holy crap, how do you tuck something that away for two decades???

A nicely done british parody of 60 Minutes style video journalism. It’s easy to miss how formulaic our news is sometimes. (via B-Tizzle, originally via E-Chizzle)

Colosseo: This is why Cameron is a king and we are all just pawns in his world. I can’t wait to get my hands on this poster. I will point out, however, that the outro credits on the video need some kerning. Someone is going to lose their right hand for that.

Spezify:

New ways of searching are almost never as useful as old ways of searching. Spezify is pretty awesome though. It’s a visually interesting, never-ending, horizontally and vertically scrollable, topic explorer. I don’t think I’d use it for digging deep on anything, but to get a quick visually rich sampling of a topic, it’s quite fun (via tiff, a long time ago actually, over email).

Realism in UI Design:

Reminds me of my favorite logo design advice: “Never waste a stroke”. (via gruber)

Overshared
At the first Doughty show of the night at the Triple Door. If you're in Seattle you should come down for the 2nd at 10. Excellent!
This Kindle ad is cute and Applelike but misses the mark. Advertise what you do well: price and battery life http://bit.ly/cFBw70
@codinghorror Aliased Monaco 9 should be in the Smithsonian.
Why does the media continue to cover what Rob Glaser thinks about the future?
@Trenti Ummm, the Timex Sinclair came out after the VIC-20, beeeeeeeayatch! I will out-old you any day!
@paulsmith Wow. I love the user manual shooting out from Shatner's shoulder at the perfect angle. http://j.mp/am10eU
@paulsmith You have me beat by mere months there! I cut my teeth on a Practical Peripherals 1200 bauder.
@roblifford Probably a 10% chance I fly in at the last minute for a couple of nights. Other than that, planning to skip this year.
I can't believe @shauninman's first computer was a G4. I feel ancient. Mine was a VIC-20. http://5by5.tv/pipeline/5
Wow, how did I not know about Lala until now? Tons of great full albums, free: http://bit.ly/dBrdLw
Thanks for everyone who suggested Brizzly. Going to fire that sucker up again...
Is there a way to unfollow people but still allow them to DM you? Like a "mute" setting or something?
@levifig Burn-in was a bigger issue with first-gen plasmas. They are much better now. LCDs have their own lighting issues as well.
@horsedreamer The black isn't quite as good as some other top plasmas, but it's better than all LCDs. At an inch thick, I'll take it.
@levifig Isn't ghosting mainly an issue for LCDs? I've had a plasma for four years and no ghosting whatsoever.