15-4 サイトマップを作る
297ページ
<?xml version="1.0" encoding="<mt:publishCharset />"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc><mt:blogURL encode_xml="1" /></loc>
<lastmod><mt:date format="%Y-%m-%dT%H:%M:%S" /><mt:BlogTimezone /></lastmod>
<changefreq>daily</changefreq>
</url>
<mt:ifArchiveTypeEnabled archive_type="Individual">
<mt:BlogEntryCount setvar="blog_entry_count" />
<mt:Entries lastn="$blog_entry_count">
<url>
<loc><mt:EntryPermalink encode_xml="1" /></loc>
<lastmod><mt:EntryModifiedDate format="%Y-%m-%dT%H:%M:%S" /><mt:BlogTimezone /></lastmod>
<priority>1.0</priority>
</url>
</mt:Entries>
</mt:ifArchiveTypeEnabled>
<mt:ifArchiveTypeEnabled archive_type="Page">
<mt:Pages>
<url>
<loc><mt:PagePermalink encode_xml="1" /></loc>
<lastmod><mt:PageModifiedDate format="%Y-%m-%dT%H:%M:%S" /><mt:BlogTimezone /></lastmod>
<priority>1.0</priority>
</url>
</mt:Pages>
</mt:ifArchiveTypeEnabled>
<mt:Archives>
<mt:unless tag="archiveTypeLabel" like="ブログ記事|ウェブページ">
<mt:ArchiveList>
<url>
<loc><mt:ArchiveLink encode_xml="1" /></loc>
<mt:Entries lastn="1" sort_by="modified_on">
<lastmod><mt:EntryModifiedDate format="%Y-%m-%dT%H:%M:%S" /><mt:BlogTimezone /></lastmod>
</mt:Entries>
</url>
</mt:ArchiveList>
</mt:unless>
</mt:Archives>
<url>
<loc><mt:Link template="アーカイブインデックス" encode_xml="1" /></loc>
<lastmod><mt:Date format="%Y-%m-%dT%H:%M:%S" /><mt:BlogTimezone /></lastmod>
</url>
</urlset>