Feed Changes

Album Cover: Various Positions

"Her beauty and the moonlight overthrew ya."
Leonard Cohen / Hallelujah

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.