« Sitemap index validationInforming search engine crawlers »

Sitemap extensions

  04/08/07 01:10, by , Categories: Specs

You can extend the Sitemaps protocol using your own namespace. Simply specify this namespace in the root element. For example:

XML

<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
         http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
         xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
         xmlns:example="http://www.example.com/schemas/example_schema"> <!−− namespace extension −−>
   <url>
      <example:example_tag>
         ...
      </example:example_tag>
      ...
   </url>
</urlset>
This entry was posted by and is filed under Specs.

No feedback yet


Form is loading...

 

©2017 by sitemaps

Contact | Help | Blog theme by Asevo | blog software | webhost | monetize blog