RSSで新しく付いたコメントの内容も確認できるようにしてみました。
コメントをRSSで配信できた方が便利だと思うので、MT使ってる人の為にやり方も書いておきますね。
Movable Typeテンプレートの「RSS1.0」内にある
<MTEntries lastn="15">
↑このタグの上に・・・
<MTEntries recently_commented_on="1" sort_order="ascend">
<MTComments lastn="1"><item rdf:about="<$MTEntryPermalink encode_xml="1"$>">
</MTComments>
<title><$MTCommentAuthorLink default_name="匿名さん" spam_protect="1"$> が「<$MTEntryTitle encode_xml="1"$>」にコメントしました</title>
<link><$MTEntryPermalink encode_xml="1"$></link>
<description><![CDATA[<p>「<$MTEntryTitle encode_xml="1"$>」へのコメント</p><p>名前: <$MTCommentAuthorLink default_name="匿名さん" spam_protect="1"$><MTCommentAuthorIdentity><br />コメント:<br /><p><$MTCommentBody$>]]></description>
<dc:subject><$MTEntryCategory encode_xml="1"$></dc:subject>
<dc:creator><$MTCommentAuthorLink default_name="匿名さん" spam_protect="1"$><MTCommentAuthorIdentity></dc:creator>
<dc:date><$MTCommentDate format="%Y-%m-%dT%H:%M:%S" language="en"$><$MTBlogTimezone$></dc:date>
</item>
</MTEntries>
↑これをコピペすればOK
なおムーヴァブルタイプでは自動的にRSS2,0やATOMなど四種類のRSSが自動生成されるますが、他のヴァージョンのRSSでもコメント配信したい場合は、このRSS1.0用のテンプレートを参考にして各バージョンに合わせてテンプレートを書き換えてください☆
Movable Type改造に関連するエントリーコメント(0)