MovableType

From LemonWiki共筆
Jump to navigation Jump to search

Movable Type (MT) 修改或其外掛程式(plugin)的參考網站

Thanks funny site maryland airport_hotels_rome_fiumicino_cheap  %-(((

this post is fantastic copenhagen cheap hotels in29841 567

I'm happy very good site flight hotel cheap hotel in wales 0312

MT的書目格式

Bibliography for MT (MT的書目格式,提供他人引用自己Blog上的文章)


版本管理(revision)


迴響的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

Keywords: movabletype comment feed atom

錯誤訊息

MT 3.15重建網站時出現

Use of uninitialized value in substitution iterator at lib/MT/Util.pm line 146.

首頁的分月彙整也不正常

請將網誌組態(Core Setup)中的偏好(Preferences) > Language for Date Display: 改成English


Also see BlogLinks