Googleさん、XMLサイトマップに画像の追加が可能になったそうで。
Movable Typeに導入してみました。
こんな感じです。
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<mt:Ignore>ブログ記事</mt:Ignore>
<mt:IfArchiveTypeEnabled archive_type="Individual">
<mt:Entries lastn="9999">
<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>
<changefreq>daily</changefreq>
<mt:EntryAssets lastn="9999" type="image">
<image:image>
<image:loc><$mt:AssetURL$></image:loc>
</image:image>
</mt:EntryAssets>
</url>
</mt:Entries>
</mt:IfArchiveTypeEnabled>
</urlset>
ウェブマスターでは、XMLサイトマップは認識していますが、どうなることやら。。。
最近のコメント