how to add a comments feed

NOTE: This template has been updated.

I’ve added a Comments RSS Feed to Those of you who use RSS aggregators and wish to keep up with all of the latest comments can subscribe to it.

I HIGHLY recommend installing similar functionality on your own MovableType installations. It isn’t that important if your site has the ability to subscribe to email notifications of each post. However, if it doesn’t, keeping up with conversations (thanks to Movable Type’s horrible comment system) is very difficult. This should make it a little bit easier.

It’s actually quite simple to do. I stole Phil Ringnalda’s template and modified it so that it doesn’t require any plugins to use and still has the same functionality. Here are the steps.

  1. Log into your MovableType install.
  2. Select “Manage Blog” underneath the blog you wish to add a Comments Feed for.
  3. Choose “TEMPLATES” in the navigation bar onthe left.
  4. Click on “Create new Index Template” at the top right hand corner.
  5. Type “Comments Feed” in the “Template Name” box.
  6. Type “comments.rdf” in the “Output File” box.
  7. Paste this under “Template Body”:
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <rdf:RDF xmlns:rdf=""
        <channel rdf:about="<$MTBlogURL$>">
            <title><$MTBlogName encode_xml="1"$> - recent comments</title>
            <description><$MTBlogDescription encode_xml="1"$></description>
            <dc:date><$MTDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>
            <admin:generatorAgent rdf:resource="<$MTVersion$>" />
                    <MTComments lastn="15">
                        <rdf:li rdf:resource="<$MTCommentEntryLink$>#<$MTCommentID pad="1"$>" />
        <MTComments lastn="15">
                <item rdf:about="<$MTEntryLink$>#<$MTCommentID pad="1"$>">
                    <title><$MTCommentAuthor$> comments on &quot;<$MTEntryTitle$>&quot;</title>
                    <description><$MTCommentBody encode_xml="1"$></description>
                    <link><$MTEntryLink$>#<$MTCommentID pad="1"$></link>
                    <dc:date><$MTCommentDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>
  8. Click “SAVE”.
  9. Click “REBUILD”.
  10. Wait for the window to pop-up.
  11. Click “REBUILD” on that new window.
  12. Announce in your blog that you now have a comments feed.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>