« Technical difficulties | Main | Today in elisp »

Template changes

Scripting News

RSS 2.0 has a neat feature that allows an item to link to comments about that item. Content tools and aggregators can support this feature, allowing people to comment directly from the aggregator.
I've added this to my RSS 2.0 MT template. It's a pretty simple change: add

<MTEntryIfAllowComments>

    <comments>

        <$MTCGIPath$>mt-comments.cgi?entry_id=<$MTEntryID$>

    </comments>

</MTEntryIfAllowComments>

somewhere inside the item element in the template. This generates a URL that takes you to the comments form for the post. Note that this does not embed existing comments in your RSS feed - it 's just the URL for the post's comment form. Would be cool to see NetNewsWire support this. Knowing Brent, he probably already has implemented it.