12-11 カテゴリ別にフィードを配信する

241ページ

<mt:HTTPContentType type="application/atom+xml" /><?xml version="1.0" encoding="<mt:PublishCharset />"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title><mt:CategoryLabel /> - <mt:BlogName remove_html="1" encode_xml="1" /></title>
  <link rel="self" type="application/atom+xml" href="<mt:BlogArchiveURL /><mt:SubCategoryPath />/atom.xml" />
  <link rel="alternate" type="text/html" href="<mt:BlogURL encode_xml="1" />" />
  <id>tag:<mt:BlogHost exclude_port="1" encode_xml="1" />,<mt:TemplateCreatedOn format="%Y-%m-%d" />:<mt:BlogRelativeURL encode_xml="1" />/<mt:BlogID /><mt:CategoryID /></id>
  <updated><mt:Entries lastn="1"><mt:EntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ" /></mt:Entries></updated>
  <mt:if tag="CategoryDescription"><subtitle><mt:CategoryDescription remove_html="1" encode_xml="1" /></subtitle></mt:if>
  <generator uri="http://www.sixapart.com/movabletype/"><mt:ProductName version="1" /></generator>
<mt:Entries lastn="15">
  <entry>
    <title><mt:EntryTitle remove_html="1" encode_xml="1" /></title>
    <link rel="alternate" type="text/html" href="<mt:EntryPermalink encode_xml="1" />" />
    <id>tag:<mt:BlogHost exclude_port="1" encode_xml="1" />,<mt:TemplateCreatedOn format="%Y-%m-%d" />:<mt:BlogRelativeURL encode_xml="1" />/<mt:BlogID /><mt:CategoryID /><mt:EntryID /></id>
    <published><mt:EntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ" /></published>
    <updated><mt:EntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ" /></updated>
    <summary><mt:EntryExcerpt remove_html="1" encode_xml="1" /></summary>
    <author>
      <name><mt:EntryAuthorDisplayName encode_xml="1" /></name>
    <mt:if tag="EntryAuthorURL">
      <uri><mt:EntryAuthorURL encode_xml="1" /></uri>
    </mt:if>
    </author>
    <mt:EntryCategories>
    <category term="<mt:CategoryLabel encode_xml="1" />" scheme="http://www.sixapart.com/ns/types#category" />
    </mt:EntryCategories>
    <mt:EntryIfTagged>
      <mt:EntryTags>
    <category term="<mt:TagName normalize="1" encode_xml="1" />" label="<mt:TagName encode_xml="1" />" scheme="http://www.sixapart.com/ns/types#tag" />
      </mt:EntryTags>
    </mt:EntryIfTagged>
    <content type="html" xml:lang="<mt:BlogLanguage ietf="1" />" xml:base="<mt:BlogURL encode_xml="1" />">
      <mt:EntryBody encode_xml="1" />
      <mt:EntryMore encode_xml="1" />
    </content>
  </entry>
</mt:Entries>
</feed>

243ページ

「HTMLヘッダー」テンプレートモジュール

<mt:if name="archive_class" eq="category-archive">
<link rel="alternate" type="application/atom+xml" title="Category Atom" href="<mt:BlogArchiveURL /><mt:SubCategoryPath />/atom.xml" />
</mt:if>

244ページ

「購読」ウィジェットテンプレート

<mt:if name="archive_class" eq="category-archive">
<li><img src="<$mt:StaticWebPath$>images/status_icons/feed.gif" alt="購読する" width="9" height="9" /> <a href="<mt:BlogArchiveURL /><mt:SubCategoryPath />/atom.xml" />このカテゴリを購読</a></li>
</mt:if>

このアーカイブについて

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。