Using WordPress For Podcasting

Podcasting is seamlessly supported as of WordPress 1.5. Add a link to an audio file in a post and WordPress will automatically add the necessary enclosure tag to your RSS2 feed to make it useable as a podcast.

Important: Use a complete, absolute URI when linking to the audio file. Otherwise WordPress will not make an enclosure for it.

To create a subscription or to syndicate your podcast, add your RSS feed link on the site and to your iTunes and other syndication accounts.

http://example.com/wordpress/?feed=rss2

If you're using an Atom feed:

http://example.com/wordpress/?feed=atom

To make life easier for iTunes users, consider also linking to your podcast feed with the itpc:// protocol rather than http, e.g.:

itpc://domain.org/path/?feed=atom

iTunes users will then be able to subscribe to your feed with a single click.

Notes:

As of WordPress 1.5, this only works for posts but not for static pages.

Make sure the linked file is accessible when you publish your post. Otherwise, WordPress won't be able to collect the information it needs from the linked files.

If you change a linked file, republish the post so WordPress can update its file size information about the file.

Occasionally, you may have to put .xml at the end of the RSS/Atom url, for it to properly work.

To get WordPress to recognize m4a and m4b files as podcasts, you need to make sure that your web server is configured to serve them with the right content-type. Do this by adding the following directives to your Apache configuration file or .htaccess file:

AddType audio/x-m4a .m4a
AddType audio/x-m4b .m4b

Dedicated Podcasts

To create a dedicated podcast feed:

Create a category for your audio files and call "podcasts" or something similar.

This will show your podcasts feed as http://example.com/podcasts/feed/rss2 for RSS2 format, or http://example.com/podcasts/feed/atom for Atom format. (If you don't know the difference between the two, give out the first, as RSS2 is generally a bit better supported).

Archive.org issues

Archive.org can be used to host podcast audio files but archive.org uses re-directs on the file paths it publishes - this confuses WordPress, and consequently, the Podcast publication fails (missing enclosure tag error).

To avoid this error, if you are hosting your audio files on archive.org, you need to add a Custom Field called "enclosure" and paste the full url for the mp3 file in the Value field.