This used to be habi.gna.ch

comment feed

chregu recently mentioned that he wants a feed for every blog (actually for every blog software…)

so i’ve modified my already present comment-feed, which i’ve been using to manage my comments (e.g archive nicely, edit, despam…) into a publicly available format, for all of you to consume.

the comment feed can be accessed via this file: comments.xml.

the full code is as follows [1]:

<rss version=“2.0”

xmlns:dc=“http://purl.org/dc/elements/1.1/"

xmlns:sy=“http://purl.org/rss/1.0/modules/syndication/"

xmlns:admin=“http://webns.net/mvcb/"

xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#">

Comments

dc:languageen-us</dc:language>

dc:creator<$MTEntryAuthorEmail$></dc:creator>

dc:date<$MTEntryDate format="%Y-%m-%dT%H:%M:%S”$><$MTBlogTimezone$></dc:date>

<admin:generatorAgent rdf:resource=“http://www.movabletype.org/?v=<$MTVersion$>” />

sy:updatePeriodhourly</sy:updatePeriod>

sy:updateFrequency1</sy:updateFrequency>

sy:updateBase2000-01-01T12:00+00:00</sy:updateBase>

(mail, URL)

<$MTCommentBody encode_xml=“1”$>

so, if you want to add a comment feed to your MT installation, proceed like this. go to your mt.cgi (the main admin), add a new template, give it the name you want (comments.xml works nicely) and paste the code above into the Template Body field.

[1]: didn’t code it myself, but forgot where i’ve gotten it, it’s half a century ago (or so…)

technorati tags: comments, feed, rss

Categories: