MovableType: Difference between revisions
Jump to navigation
Jump to search
| Line 28: | Line 28: | ||
== 迴響加上RSS Feed | == 迴響加上RSS Feed == | ||
=== Recent comments in RSS 0.91 === | |||
: 參考:phil ringnalda dot com: [http://philringnalda.com/blog/2002/06/comment_rss_feed.php Comment RSS feed] 2002-06-06 | : 參考:phil ringnalda dot com: [http://philringnalda.com/blog/2002/06/comment_rss_feed.php Comment RSS feed] 2002-06-06 | ||
: 新增以下模版,並輸出檔案至comments.xml | : 新增以下模版,並輸出檔案至comments.xml | ||
| Line 53: | Line 55: | ||
<language>en-us</language> | <language>en-us</language> | ||
主模版在</title>與<head>之間,加上 | |||
<link rel="alternate" type="application/rss+xml" title="Recent comments in RSS" href="<$MTBlogURL$>comments.xml"/> | |||
=== Recent comments in RSS 1.0 === | |||
: 參考:終極邊疆 Final Frontier BLOG: [http://blog.serv.idv.tw/archives/000206.php 在MT中把迴響作成RSS] 2004-05-24 | |||
: 新增以下模版,並輸出檔案至comments.rdf | |||
<pre> | |||
<?xml version="1.0" encoding="<$MTPublishCharset$>"?> | |||
<rdf:RDF | |||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |||
xmlns:dc="http://purl.org/dc/elements/1.1/" | |||
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | |||
xmlns:admin="http://webns.net/mvcb/" | |||
xmlns:cc="http://web.resource.org/cc/" | |||
xmlns="http://purl.org/rss/1.0/"> | |||
<channel rdf:about="<$MTBlogURL$>"> | |||
<title><$MTBlogName encode_xml="1"$></title> | |||
<link><$MTBlogURL$></link> | |||
<description><$MTBlogDescription encode_xml="1"$></description> | |||
<dc:language>zh-tw</dc:language> | |||
<dc:creator></dc:creator> | |||
<dc:date><MTEntries lastn="1"><$MTEntryDate format="%Y-%m-%dT%H:%M:%S" language="zh-tw"$><$MTBlogTimezone$></MTEntries></dc:date> | |||
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=<$MTVersion$>" /> | |||
<MTBlogIfCCLicense> | |||
<cc:license rdf:resource="<$MTBlogCCLicenseURL$>" /> | |||
</MTBlogIfCCLicense> | |||
<items> | |||
<rdf:Seq><MTComments lastn="15" sort_order="descend"> | |||
<rdf:li rdf:resource="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$>" /> | |||
</MTComments></rdf:Seq> | |||
</items> | |||
</channel> | |||
<MTComments lastn="15" sort_order="descend"> | |||
<item rdf:about="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$>"> | |||
<MTCommentEntry><title>Re: <$MTEntryTitle encode_xml="1"$></title> | |||
<link><$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$></link> | |||
<description><$MTCommentBody encode_xml="1"$></description> | |||
<dc:subject><$MTEntryCategory encode_xml="1"$></dc:subject></MTCommentEntry> | |||
<dc:creator><$MTCommentAuthor encode_xml="1"$></dc:creator> | |||
<dc:date><$MTCommentDate format="%Y-%m-%dT%H:%M:%S" language="zh-tw"$><$MTBlogTimezone$></dc:date> | |||
</item> | |||
</MTComments> | |||
</rdf:RDF> | |||
</pre> | |||
主模版在</title>與<head>之間,加上 | |||
<link rel="alternate" type="application/rss+xml" title="Recent comments Feed in RSS 1.0" href="<$MTBlogURL$>comments.rdf"/> | |||
=== other === | |||
* etc.: [http://www.fortysomething.ca/mt/etc/archives/002174.php Full Posts + Comments RSS Template for Movable Type] (RSS 2.0) 2003-04-08 | |||
* Shih-Hsien's BLOG » [http://sanwangx.brain-c.com/archives/2004_05/29_37/ 製作包含文章和迴響的 RSS] (RSS 1.0) 2004-05-29 | |||
Keywords: [http://www.google.com.tw/search?q=movabletype+comment+%28rss%7Catom%29+feed movabletype comment feed atom] | |||
Also see [[BlogLinks]] | Also see [[BlogLinks]] | ||
Revision as of 01:21, 23 November 2004
Movable Type (MT) 修改或其外掛程式(plugin)的參考網站
- 酋長的部落格 Chieftain's BLOG: MT調校
- MT Extensions
- MT Plugin Directory
分頁(MT-Paginate)
- 當我們blog在一起: 加裝MT-Paginate 2004-02-29
- dowba: 分頁的方法 2004-02-14
- 酋長的部落格: 將總彙整索引作成分頁樣式 January 11, 2004
- MT Extensions: MTPaginate updated April 01, 2003 demo
防止重複迴響
- 酋長的部落格 Chieftain's BLOG: MT-Hack兩則:防止重複迴響、重建單篇entry
- http://www.nonplus.net/software/mt/AvoidingDuplicateComments.htm
MT的書目格式
Bibliography for MT (MT的書目格式,提供他人引用自己Blog上的文章)
- 酋長: Bibliography for MT May 19, 2004
- FreeLeaf: Bibliography for Movable Type 2004年01月09日
版本管理(revision)
- Curt Siffert's RevisionPlugin 與一些資訊 單篇文章的版本回顧(revision)
- Dive into accountability July 18, 2003
迴響加上RSS Feed
Recent comments in RSS 0.91
- 參考:phil ringnalda dot com: Comment RSS feed 2002-06-06
- 新增以下模版,並輸出檔案至comments.xml
<?xml version="1.0"?>Extension:RSS -- Error:
Not a valid URL:
<channel>
<title><$MTBlogName$> : Comments</title>
<link><$MTBlogURL$></link>
<description><$MTBlogDescription$></description>
<language>zh-tw</language>
<MTComments lastn="20">
<item>
<title><$MTCommentAuthor encode_html="1"$>
<$MTCommentEmail encode_html="1"$></title>
<description><$MTCommentBody encode_html="1"$></description>
<link><$MTCommentAuthorLink encode_html="1"$></link>
</item>
</MTComments>
</channel>
注意,若是繁體字請用<language>zh-tw</language>,如果是英語則用
<language>en-us</language>
主模版在</title>與<head>之間,加上
<link rel="alternate" type="application/rss+xml" title="Recent comments in RSS" href="<$MTBlogURL$>comments.xml"/>
Recent comments in RSS 1.0
- 參考:終極邊疆 Final Frontier BLOG: 在MT中把迴響作成RSS 2004-05-24
- 新增以下模版,並輸出檔案至comments.rdf
<?xml version="1.0" encoding="<$MTPublishCharset$>"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:cc="http://web.resource.org/cc/" xmlns="http://purl.org/rss/1.0/"> <channel rdf:about="<$MTBlogURL$>"> <title><$MTBlogName encode_xml="1"$></title> <link><$MTBlogURL$></link> <description><$MTBlogDescription encode_xml="1"$></description> <dc:language>zh-tw</dc:language> <dc:creator></dc:creator> <dc:date><MTEntries lastn="1"><$MTEntryDate format="%Y-%m-%dT%H:%M:%S" language="zh-tw"$><$MTBlogTimezone$></MTEntries></dc:date> <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=<$MTVersion$>" /> <MTBlogIfCCLicense> <cc:license rdf:resource="<$MTBlogCCLicenseURL$>" /> </MTBlogIfCCLicense> <items> <rdf:Seq><MTComments lastn="15" sort_order="descend"> <rdf:li rdf:resource="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$>" /> </MTComments></rdf:Seq> </items> </channel> <MTComments lastn="15" sort_order="descend"> <item rdf:about="<$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$>"> <MTCommentEntry><title>Re: <$MTEntryTitle encode_xml="1"$></title> <link><$MTCGIPath$>mt-comments.cgi?entry_id=<$MTCommentEntryID$>#comment<$MTCommentID pad="1"$></link> <description><$MTCommentBody encode_xml="1"$></description> <dc:subject><$MTEntryCategory encode_xml="1"$></dc:subject></MTCommentEntry> <dc:creator><$MTCommentAuthor encode_xml="1"$></dc:creator> <dc:date><$MTCommentDate format="%Y-%m-%dT%H:%M:%S" language="zh-tw"$><$MTBlogTimezone$></dc:date> </item> </MTComments> </rdf:RDF>
主模版在</title>與<head>之間,加上
<link rel="alternate" type="application/rss+xml" title="Recent comments Feed in RSS 1.0" href="<$MTBlogURL$>comments.rdf"/>
other
- etc.: Full Posts + Comments RSS Template for Movable Type (RSS 2.0) 2003-04-08
- Shih-Hsien's BLOG » 製作包含文章和迴響的 RSS (RSS 1.0) 2004-05-29
Keywords: movabletype comment feed atom
Also see BlogLinks