Movable Type Comments Rss即为"评论RSS",用于查看你BLOG的评论,具体效果请点击本站右边栏Recent Comments旁边的小图标。你可以用阅读器订阅此RSS,这样就可以第一时间查看博友评论。
设置方法:在索引模版中"新建模版","模版名称"为Comment,"输出文件"为comments.xml,"模版内容"为
<?xml version="1.0" encoding="<$MTPublishCharset$>"?>
<rss version="2.0">
<channel>
<title> <$MTBlogName remove_html="1" encode_html="1"$>: Comments</title>
<link><$MTBlogURL$></link>
<description>Latest comments for <$MTBlogName remove_html="1" encode_html="1"$></description>
<language>en-us</language>
<lastBuildDate><MTComments lastn="1"><$MTCommentDate language="en" format="%a, %d %b %Y %H:%M:%S"$> <$MTBlogTimezone no_colon="1"$></MTComments></lastBuildDate>
<generator>http://www.movabletype.org/?v=<$MTVersion$></generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<MTComments lastn="20" sort_order="descend">
<item>
<title>Comment on "<MTCommentEntry><$MTEntryTitle remove_html="1" encode_html="1"$></MTCommentEntry>"</title>
<link><MTCommentEntry><$MTEntryPermalink$>#comments</MTCommentEntry> </link>
<description><$MTCommentBody encode_html="1"$> <p>- <$MTCommentAuthorLink show_email="0" encode_html="1"$></p></description>
<guid isPermaLink="false">comment<$MTCommentID pad="1"$>@<$MTBlogURL$></guid>
<pubDate><$MTCommentDate language="en" format="%a, %d %b %Y %H:%M:%S"$> <$MTBlogTimezone no_colon="1"$></pubDate>
</item>
</MTComments>
</channel>
</rss>
保存重建该模版后,登陆http://用户名.xmublog.org/comments.xml 即可查看效果。











