Feed Changes

Album Cover: Wincing the Night Away

"It's like I'm perched on the handlebars of a blind man's bike."
The Shins / Spilt Needles

Posted on December 21, 2004 12:09 AM in XML
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

I made a couple changes to my Atom feed tonight, the first being the addition of a <dc:subject> element in each entry so that readers know which of my website categories the entry falls within.

Of course, in order to add a namespaced element (note the dc: prepended to the subject element) I had to reference the namespace in the root element of my feed, like so:

<feed version="0.3" xmlns="http://purl.org/atom/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">

The other change I made involved adding a new alternate link to each entry specifically for that entry's comments. I did so by adding something like the following to each entry in my feed:

<link rel="comments" type="application/xhtml+xml"
href="http://www.bernzilla.com/item.php?id=396#comments" />

Hopefully these changes will make my feed just a little more useful for the people out there who have subscribed.


No one has added any comments.

Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.