dwlt.thinksOutLoud

I am currently reading Collapse by Jared Diamond, in case you were wondering.

Earlier… Later…
Mark Fletcher on Web Stealth Startups One-Minute Vacations

Using FeedBurner

Pete Freitag’s post on guesstimating the number of people reading his feed reminded me that I hadn’t yet posted about me using FeedBurner on dwlt.net and with Tapestry. I first switched on FeedBurner for the Dilbert feed, to provide some information to United Media (it’s all gone quiet on that front, sadly), and it turns out that almost 42,000 people subscribe to that feed! Yow!

Even more surprising was the fact that 160 people subscribe to my own feed here. I figured that maybe six people subscribed, and one of them was me (to make sure it’s all working properly).

Anyway, to the point of this post: setting up FeedBurner was a doddle, but I was wondering if there was a way to set up the redirect transparently. Turns out that there is indeed a piece of mod_rewrite voodoo which I picked up from the FB forums and thought I’d call it out here, since I obviously have a captive audience :)

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^dilbert\.xml$ http://feeds.feedburner.com/tapestrydilbert [R,L]

These two lines set things up so that any user agent apart from the FeedBurner bot are redirected to the FeedBurner version of the feed. The FeedBurner bot itself will pick up the original feed for processing. Nifty, huh?


What Say You?

This is never displayed

hello

This is the website of one David Thomson (aka dwlt) from Edinburgh, Scotland. It contains the results of my patented thinking-out-loud process.

According to the about page, I'm a miscellaneist — at any given moment I'm a game designer, entrepreneur, programmer, consultant, and/or writer. I also read a lot.

If my ideas are intriguing to you, why not subscribe?

    follow me

    projects

    • Bookweave   Explore the connections between books.
    • Tapestry   Most Web Comics Now Have RSS Feeds As Standard!
    • Buffet of Death   48 Hour Film Project (Edinburgh, May 2008)

    Perhaps you'd like to subscribe to my thoughts? Or perchance peruse the archives?

    Copyright © 01976-02008 David Thomson. Some rights reserved. Incorrigible punster. Do not incorrige.