- Theoretically, publishing a podcast feed in WordPress should take nothing more than a link to the episode file, using an absolute URL. This should prompt WordPress to generate the appropriate
enclosure
tag in the feed. - However, WordPress generates the
enclosure
only upon initial generation of a post, not on subsequent edits. So if the podcast URL is added after the entry is created, during an edit, the enclosure isn’t generated. - For some reason, WordPress doesn’t generate the
enclosure
for me even when I post the link straight up. It doesn’t do so either, when I use the ‘Add media’ function, although I’m not sure if it’s even supposed to. - Luckily, it’s possible to hand-craft the enclosure for a post for which no enclosure has been created. Though laborious, it works. The “enclosure” field’s value should consist of three lines:
- Full URL to the file
- Length of the file in bytes
- Content-Type of the file (like “audio/x-vorbis+ogg”)
Some notes about podcasting in WordPress
Written by
in
Comments
2 responses to “Some notes about podcasting in WordPress”
Thanks for the post – I was wondering if it was possible to get WordPress to properly use Ogg Vorbis…
[…] – bookmarked by 3 members originally found by coolopa on 2008-10-16 Some notes about podcasting in WordPress http://mummila.net/nuudelisoppa/?p=1749 – bookmarked by 2 members originally found by pdip on […]