UPDATE 2 July 14, 2005: As it turns out most WordPress 1.5 installs will podcast automatically, without doing all this stuff bellow. It appears that my web host is set up in such as way to make it hard. This how-to is my work around. Use it if it is helpful. Otherwise bask in the automatic podcasting glory of Word Press! 😀
As of this minute I only have one way to create my Podcast RSS 2.0 feed with Word Press 1.5. My old install of Movable Type had a plug-in that added the mp3 link and all info into my RSS 2.0 feed automatically. So far I haven’t found a method as easy in Word Press. But here is a HowTo to make it work in Word Press 1.5 anyway. This is what I did to get my enclosure tags for RSS 2.0 working and part of what I do each and every time I release a Podcast. IF ANY ONE KNOWS OF A PLUG-IN OR EASY HACK FOR WORD PRESS 1.5 THAT MAKES PODCASTING SIMPLER PLEASE PLEASE LET ME KNOW. 😀 Update: Supposedly WP 1.5 should add links to MP3s in the post to your RSS feed automatically. Here is the Word Press Codex page that describes this. I’m not getting this functionality. Hmmmm.
HowTo podcast with WordPress 1.5
1) Make sure to upload the mp3 your want to podcast to your webserver.
2) Get the full URL to the file
3) Find the file’s size in bytes. That right bytes not MegaBytes (MB)or KiloBytes (KB) but bytes
ex. a number like 37611020
In the unix terminal the following command will tell you how many bytes large your mp3 file is.
Here is an example output of what ls -l will tell you. A number similar to the one I made bold is what your looking for.
-rw-r--r-- 1 username users 37611020 Feb 10 12:26 your_podcast.mp3
Go here for more info about the command ls.
4) Log into your WordPress blog Admin panel
5) Click on ‘Write‘ just like your going to compose a blog entry. (Make sure your Writing Posts in Advanced mode. If you do not see the Advanced area under the ‘Write Post’ area at the top then…
Options > Writing > Writing Options
Click the radio button labeled ‘Advanced Controls’
Click the ‘Update Options’ button.
6) At the bottom of the page look for the form labeled ‘Add a new custom field to this post:‘
7) Click on the drop down form called -Select-. Do you see a option called ‘enclosure‘? If not type in the word enclosure into the form feild called ‘Key’ and click on the button labled ‘Add Custom Field’
8) Now you should have an option in the drop down form at ‘dd a new custom field to this post:’ called enclosure. Select that.
9) In the form feild called ‘Value‘ enter the following info on three seperate lines.
a. The full URL to the mp3 you’ve uploaded
b. The size of the file in bytes
c. The description of the mp3 mime type.
Here’s how it should look:
Don’t forget to replace your specific info 🙂
10) Click ‘Add Custom Field’ button and be sure to click the ‘Publish‘ button when your done writting your blog entry text
11) Go check to be sure your enclosure got encluded in your RSS feed.
This address should be something like this:
The key part to look for is wp-rss2.php. The rss2 part is describing the type of rss it is, 2.0. RSS 2.0 is the only one with the enclosure aggrument encluded in it’s standard. This is why we use it for podcasting.
A good way to look at the structure of your RSS 2.0 feed is by using the Firefox browser. It prints out the RSS in a clean color coded manner.
Good luck and email me if you have questions, corrections, and/or suggesions!
(This is a living document that might change from time to time.)
Date last Edited: o3/03/05