RSS Enclosures
By Daniel Miessler on May 31st, 2005: Tagged as Technology
For anyone interested, I’ve just successfully created my first RSS enclosure on the blog. It’s here if you’re interested.
Anyway, for anyone with Wordpress > 1.5, the process is quite simple (since I did the half-hour of research for you). Essentially, you create a blog post as normal, only under the advanced settings at the bottom you add a custom field from the drop down menu and choose “enclosure”.
In the field on the right, enter the link to the media you have stored somewhere (like your webserver). On the next line under that one, put the filesize in bytes. On the third and final line in this field, put the media type (such as “audio/mpeg”). It’ll look like this in the field:
http://dmiessler.com/files/sample.mp3
1700000
audio/mpeg
Once you’ve added the field and saved your blog post, any user viewing your feed with an aggregator that supports enclosures will see the content in the viewing window along with any text in the post.
This is how Podcasts are created, by the way.
Anyway, pretty cool stuff…
--

No Comments »
RSS Feed For This Post...
Leave a Comment...