Comments feed for your Movable Type blog
Fri 21 Apr 2006, 3:38 pm
About a week ago, Michael Stephens mentioned parenthetically “I think I need a way to offer comments as a feed….“. Since I have a comments feed for See Also, I copied my template, made a few small changes and sent it to Michael. He seemed to appreciate it.
So I thought that other Movable Type types might want to copy that file, too. Here it is: comments.xml Looks like that file is kaput. Try this one: Movable Type comments RSS 2.0 feed. (Right-click (Macintosh users ctrl-click) to download this file to your computer.)
One of the things I like about this particular comments feed is that it provides a bit more context than comment feeds often do. The headline in the aggregator will say “Comment by [name] on [blog post title]“. The main body of the feed contains the entire comment, followed by an excerpt of the original post. There are links to the comment, the commenter’s URL (if provided), and to the original post.
This template should work for Movable Type 3.2 with a minimum of customization on your part. To use, create a new index template on the Templates screen in Movable Type. I gave mine the name “RSS 2.0 Comments” and the filename “comments.xml”, but I expect you could call it anything that ends in “.xml”.
Movable Type will automatically replace the MT template tags in the document with the name, description, URL, etc. of your blog (as well as the appropriate comments, of course). You do need to specify a URL for an image (if you would like your blog logo to show in certain feed readers) and text for a copyright statement. See the comments in the template file itself for guidance as to where to put that information..
Once you have it set up, the URL will be http://[your blog url]/comments.xml (or whatever filename you gave it). Load that URL in your browser. It will look like
unformatted XML (like my raw comments feed), but you should be able to read it well enough to be sure it is pulling the appropriate comments from your blog.
If you have experience using the template tags for your blogging software, this kind of feed is pretty easy to write. I just looked at the stock MT feeds for the entries, referred to the RSS 2.0 specification and did a little troubleshooting when I made this feed.
One last caveat: it looks like almost no one subscribes to my comments feed! That’s OK, because it is useful to me. And if I can get some more good discussions going here in the future, perhaps more people will want to pick it up.

I admit, I don’t subscribe to your comments feed–but your posts show up again in Bloglines when there are new comments, so I tend to pick them up that way.
Comment by Laura — April 23, 2006 @ 4:57 pm
That’s a nice solution, though I still find I want to read the comments in context of the post (which is how I have my feeds set up).
Comment by K.G. Schneider — April 23, 2006 @ 6:20 pm
Laura, I forgot that Bloglines marked it as new when it got a new comment. So I can see why Bloglines users wouldn’t bother.
Karen, yes, I had thought of doing it your way, too. My problem with that is having to scroll through the original post and previous comments to read the new one(s). The benefit of doing it your way is that readers get to see all the comments together, so if people are having a conversation, you can see it all. There’s no one right way to do it, of course.
Comment by Steve Lawson — April 23, 2006 @ 8:41 pm
Is your comment feed template still available? The download link appears to be a URL that no longer exists on your old site, and I can’t seem to find an equivalent URL on your new site….
If not available, no problem; just figured it couldn’t hurt to ask.
thanks,
–jed
Comment by Jed — October 20, 2007 @ 2:06 am
Not sure where that file went, Jed, but I should be able to find it easily enough. I’ll let you know, and I’ll fix this link when I do.
Comment by Steve Lawson — October 20, 2007 @ 7:51 am
OK, fixed inline, or use this link:
Movable Type comments RSS 2.0 feed.
Comment by Steve Lawson — October 21, 2007 @ 8:34 pm
Looks like I forgot to come back and say thanks. So, thank you! Installing the feed was very quick and totally painless, and it appears to work perfectly. Very much appreciated.
Comment by Jed — October 26, 2007 @ 11:50 am
Thanks from me too. Found you via Google, just installed this on my own site and it works a treat. All done in 5 mins. Might tinker with the bottom part, as I feel the quoted post ought to look slightly different to the comment itself.
Comment by Hg — November 16, 2007 @ 8:44 am
Hey, Jed and Hg. Glad this can still help, even after I have moved on to WordPress.
I like the look of your site, Hg.
Comment by Steve Lawson — November 16, 2007 @ 1:20 pm
Thanks. At the risk of sounding mutually adoring, I like yours too. I’ve never seen anyone use that title font in a blog before and it works really well.
Comment by Hg — November 16, 2007 @ 5:01 pm
In my experience, mutual adoration is the most satisfying kind.
For the curious, the post titles are in Gill Sans Extra Bold (as is the title of the blog, as an image) unless you don’t have that font. If not, you get Cooper Black. If you don’t have that, you get Arial Black. If you don’t have that, you must be on a VT100 terminal or something.
I was inspired to use “nonstandard” fonts by Ryan Tomayko, who, I swear, used to spec Optima as the body font.
Comment by Steve Lawson — November 17, 2007 @ 4:08 pm