So, you want to set up an RSS feed for a podcast? Ah, young grasshopper, there is much data to munge and so little code to munge it with … at least code that you can live with.
I recently had the need to create an RSS feed for a podcast and discovered that, while you can do a lot of the heavy lifting yourself, it is much easier to use a tool for the purpose.
Before we start let me just make it clear what an RSS feed is: It is a file-based list of descriptions of, and meta data about, content items (HTML blog content or audio or video files) that is intended to be updated at some regular interval. There are a number of RSS formats and versions but the most common by far is RSS 2.0.
If you are just starting out in the podcast biz you could resort to creating a really simple starter RSS 2.0 feed using a service like Podcast RSS Feed Generator. As they say on the cooking shows, “here’s one I made earlier”:
This generator (rating, 2 out of 5) only produces the text of a very simple feed and skips a lot of the hardcore features and options available in RSS 2.0.
Despite its limitations the Podcast RSS Feed Generator provides a pretty good demo of the basics. You’ll notice first of all that RSS Version 2.0 is XML 1.0 compliant and if you want your feed to work correctly you’ll have to make sure you write correct XML.
A feed is defined within the
I’m sure you can figure out the intent of all of the other tags in the example above except maybe “
The TTL value used in the example defines that, if the feed was read more than one minute ago, the client must assume that any locally cached copy of that channel’s feed they might have will be obsolete. A more appropriate value might be, say, “120” or “1440”.
There are a few other tags that along with
Each individual episode of a podcast is defined within “
The topic of what RSS features publishers and clients should implement for performance considerations and why is discussed in a 2004 article that’s well worth reading: “HowTo RSS Feed State” by Randy Charles Morin.
The problem with Podcast RSS Feed Generator is that it is only useful for generating a first pass at a feed that lists only a single item. That said, unlike many other feed generators which are commercial, it doesn’t wrap your feed in advertising.
So, if you want to create a well-formed, easily managed RSS feed sans advertising you’re going to need better tools, which is what we’ll discuss next week.
Gibbs in Ventura, Calif. to gearhead@gibbs.com.




