Private: Google Sitemap Code for Movable Type
How to add Google Sitemap XML to MT ….
Add this to “Manage” >> “Templates” >> “New Template”:
name the file sitemap.xml and have it rebuild on every posting, then
submit to https://www.google.com/webmasters/sitemaps/showaddsitemap?hl=en_US
<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset xmlns=”http://www.google.com/schemas/sitemap/0.84″>
<url>
<loc><$MTBlogURL encode_xml=”1″$></loc>
<priority>0.5</priority>
</url>
<MTEntries lastn=”9999″>
<url>
<loc><$MTEntryPermalink encode_xml=”1″$></loc>
<lastmod><$MTEntryModifiedDate utc=”1″ format=”%Y-%m-%dT%H:%M:%SZ”$></lastmod>
</url>
</MTEntries>
</urlset>
June 4, 2005 | Filed Under Thoughts
Comments
Additional comments powered by BackType