RSS feed of trackbacks for entries
Some people are interested in creating RSS feeds for each of their entries to show comments to that entry; this is an easy way for people to subscribe to see when new comments are added. Phil Ringnalda has a template here with instructions.1
Suppose you want to do the same thing for trackbacks. Actually, MT has done all the work for you; RSS files are generated for each entry the first time a trackback is sent to it. So all you have to do is link to it in your Individual Entry Archive template, like this:
<MTIfGreater a="[MTEntryTrackbackCount]" b="0" numeric="1">
<p><a href="<$MTBlogArchiveURL$><$MTEntryTrackbackID$>.xml">RSS feed of trackbacks to this entry</a></p>
</MTIfGreater>
I'm actually using the MTCompare plugin so that the link is only displayed when there are trackbacks on the entry, since that's when the file is generated.
Some people don't like these files and have turned off their creation, but I figure since MT is already creating them, why not make them available to anybody who might want to make use of them? Doesn't cost me anything!
1 Even though I have comments turned off at AMIB, I went ahead and added this; see "commentrss" here. In case I ever turn comments back on. ![]()
Subscribe to this blog's feed