Note: CogDogBlog has a new WordPress powered home at http://cogdogblog.com/. All entries from this version have been moved there, so as a guide dog service try finding this article in its new home by title search.
Day number 578 without an iPod...
No, I have no intent to start regular podcasts, enough other people with velvety FM radio D.J. type voices that never say "ummm" are at it already. There is no time to jump into this endeavor. But never say never.
On the other hand, twice or more or in the last week. I have included references to .mp3 files in a blog entry, and there is no reason those could not be made podcast-able. So to investigate what it would take, should ever a leap month appear in my calendar, here is a simple recap of how easy it was to add the proper RSS tags to my MovableType blog to make it "podcast" ready.
All you really need is Brandon Fuller's MT-Enclosures Movable Type Plugin:
Audio blogging is starting to take off. Currently, Movable Type has no support for audio blogs so I decided to whip up a quick plugin to provide the capability.
The missing link here is automating the process of adding the special <enclosure> link into your RSS 2.0 feed. That is the job of this plugin.
Installing it is a matter of clicking, downloading, and moving it to the plug-in directory.
Next, you need to make sure your blog has a template for RSS 2.0 feeds (it should be there for MT 3.x). Us old folks with MT 2.6x and older likely have RSS 1.0 templates (RSS feeds that have URLs that end in *.rdf). You can keep 'em, but it is easy enough to create a new index template, have it save as a file named
index.xml, and get a copy of a basic RSS 2.0 template from SixApart's MovabbleType old dingy templates.
While you are getting techy with the templates, you might as well make my recommended change of the default description tag:
<description>< $MTEntryExcerpt remove_html="1" encode_xml="1"$> </description>
<description>< $MTEntryBody remove_html="1" encode_xml="1"$> </description>
This way your RSS feed are not restricted to the stubby 40 words of the Excerpt, but whatever you type into the MT Body entry field. Take control of your feed descriptions!!
The change the MT-Enclosures is that inside the
<item>...</item>... area, you add a line that makes the magic happen:
<MTEntries lastn="20"> <item> <$MTEntryEnclosures$> </item> </MTEntries>
The plug-in automatically sniffs your content, and any hypertext links to enclosure content will get added to your RSS feed like:
<enclosure url="http://cogdogblog.com/alan/snore/iwantanipod.mp3" length="877408" type="audio/mpeg" />
which is what podcast reader tools look for to download to your computer and possibly transfer to yoour pod (if you have one, sniff, sniff).
The only hitch with the MT-Enclosures plug-in is, if I read the docs, right, it will look for all kinds of enclosed media (video, images, etc), so on my baby attempt, I used the include option to keep it to only URLs that end in *.mp3:
<MTEntries lastn="20"> <item> <$MTEntryEnclosures include="mp3"$> </item> </MTEntries>
The other design decision I took was that I am not expecting to do a whole lot of 'casting, so it would not make much sense to subscribe to my main RSS feed. So my strategy was to create a new blog category called "audiocasts", so if I write anything with a linked .mp3 file, I will add this category to my post. Thus, subscribing to the feed for that category, will give you all my "audiocasts" in RSS 2.0 with proper enclosures:
and I even got fancy, and used Adam Kalsey's way cool button maker to generate my own custom RSS Audiocast badge:
And there it is.... I am ready to podcast if I ever care too. The blog is ready.
blogged February 26, 2005 06:23 PM
:: category [