Add meta tag to movabletype
Jump to navigation
Jump to search
meta tag 用以標示該網頁的作者、標題、描述等網頁相關資訊,可供web crawler(搜尋引擎的索引程式)建立索引之用。但遭到誤用後,較少受到重視,不過它可以作為權利管理電子資訊(electronic rights management information)的記載,即著作權法第3條第17款「於著作原件或其重製物,或於著作向公眾傳達時,所表示足以確認著作、著作名稱、著作人、著作財產權人或其授權之人及利用期間或條件之相關電子資訊;以數字、符號表示此類資訊者,亦屬之」。
法1[edit]
- modify the template of Individual Entry Archive
- insert the following codes (after <head>, before <title> ) as follows:
<meta name="author" content="<$MTEntryAuthorDisplayName$>" /> <meta name="copyright" content="Some Rights Reserved. <$MTBlogCCLicenseURL$>" /> <meta name="keywords" content="<$MTEntryKeywords$>" /> <META name="date" content="<$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$>">
權利管理電子資訊
- author: 著作人
- copyright: 著作權相關資訊。此處說明著作權授權方式,也可改採用 doc-rights項目名稱。
- keywords: 描述著作的關鍵字/關鍵詞。
- date: 著作日期。 (此項目非一般meta tags約定項目)
- 更多項目: HTML tag reference guide - <META>
法2[edit]
<!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <Work rdf:about=""> <license rdf:resource="<$MTBlogCCLicenseURL$>" /> <dc:title><$MTEntryTitle remove_html="1"$></dc:title> <dc:date><$MTEntryDate format="%Y-%m-%d"$></dc:date> <dc:description><$MTEntryExcerpt></dc:description> <dc:creator><Agent><dc:title><$MTEntryAuthorDisplayName$></dc:title></Agent></dc:creator> <dc:rights><Agent><dc:title><$MTEntryAuthorDisplayName$></dc:title></Agent></dc:rights> <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> <dc:source rdf:resource="<$MTEntryPermalink$>" /> </Work> </rdf:RDF> -->
- dc:title 著作名稱 - 文章標題
- dc:description 描述 - 文章的文摘 或 文章前20字
- dc:creator 作者姓名
- dc:rights 著作權人姓名
- dc:date 著作權保護起始日期
- dc:source 原始著作 URL
- dc:type 著作的格式 - 此處選文字
關於dc:rights項目
- DCMI Metadata Terms: 描述著作權相關的資訊。
- CC Implement Metadata: 著作權所有人(rights holder)。
相關網頁
- The global structure of an HTML document: Meta data
- Dublin Core Metadata Initiative (DCMI)與DC元素翻譯
- Submit Corner - Guides - META Tag Guide and Optimization Tips (last visited: February 10, 2006)
- Useful HTML Meta Tags - cache, no-cache, robots, refresh, content, keywords, description, expires, author, etc.
- Official Google Webmaster Central Blog: Google does not use the keywords meta tag in web ranking (last visited: 2009-09-27)
- CC REL