Socratic Monologue
Adding enclosures to WordPress
After successfully recording, uploading, and linking to the inaugural podcast, I have added the enclosure mod to WordPress. If you are subscribing to this blog through an RSS reader like bloglines, this revision may have caused my last 10 posts to show up in your feed reader again. Sorry about that, but in exchange for the inconvenience, I will offer a brief description of the WordPress enclosure mod installation, a process I found almost ridiculously easy:
- Add fields to the wp_posts table. A file, wordpress_enclosures_mod.sql, is included in the download, so you can just cut and paste the commands into MyPHPAdmin (if you have access to that tool – it will also work from the command line, if you don’t have MyPHPAdmin).
- Copy edit-forms.php, edit-forms-advanced.php and post.php to your wp-admin directory. You will need to overwrite the existing files, or if you already have so modifications to these files, you’ll need to make the necessary changes with your fave text editor.
- Copy wp-rss2.php to the wordpress root directory.
And that’s pretty much all there is to it. You will notice that your posting form now has a new section called enclosure, with three fields.
- Enclosure url is the url pointing to your audio file with the podcast on it.
- Enclosure type is the media type for your file (probably “audio/mpeg” for mp3 files – don’t put the quotes in the field, by the way).
- Enclosure length is the size of the file in bytes (at least that’s what I did and it hasn’t blown up so far.
That should do the trick. Now go get podcasting!
3 Responses to Adding enclosures to WordPress
Leave a Reply Cancel reply
Your thoughtful responses
Me tweeting
- #OMG I have wasted so much time on Twitter!!, Find out how much time youve spent on twitter http://t.co/rNMe8oxb 07-02-2012 22:12:47
- @courosa Anytime you speak, I listen. I also heckle quite often, but regardless I do listen. :-)
- "I'm a heavy user … of data" - @courosa
- Listening to @courosa on CBC Sask talking about SaskTel's egregious data charges out of province. C'mon @sasktel - you can do better!
- @courosa CBC Sask?






Howdy, Rob! I would love to include your feed on the ipodder.org education category! Is there any additional info you would like listed? Institutional affiliation(s)? City? Let me know if/how you want to be listed…
Hey D’Arcy – I would definitely love to be included on the ipodder.org listing. Thanks for taking on that job; I’m looking forward to hearing some of the stuff that others are doing. I have heard first few podcasts and I look forward to more. I’ll e-mail you with the details you are looking for.
Thanks for the tip, Rob. So far as I can judge from my stumbly use of iPodder , it seems to work like a champ. I see all the new fields, and my blog didn’t blow up, so life (so far) is good.