rel-sitemap

From Microformats Wiki
Revision as of 03:54, 21 August 2012 by Phluid61 (talk | contribs) (→‎Introduction: added link to blog article discussing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

From http://www.sitemaps.org/ :

Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site.

Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using the Sitemap protocol does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.

The structure of the XML document, and the sitemap protocol in general, is defined at http://www.sitemaps.org/protocol.html

The sitemap relation extends the protocol to allow each web page in a site to link back to its associated sitemap, instead of using a more general technique such as robots.txt

Relevance

From www.grandmint.com.hk (May 18, 2012)

Google, Microsoft and Yahoo agreed to support the same sitemap protocol. Anyone using Google Sitemap do not need to make any changes, Yahoo and Microsoft will index those sitemaps.

Details

The sitemap relation may be used with link elements. It refers to an external resource conforming to the standard defined at http://www.sitemaps.org/protocol.html.

It appears within the HEAD section of the HTML document:

<head>
<title>...</title>
<link rel="sitemap" href="/sitemap.xml" />
</head>