rel-sitemap: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (Undo revision 46611 by Alex80 (Talk) removed spammy content, please block this user)
(→‎Introduction: added link to blog article discussing)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


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
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 [http://www.grandmint.com.hk/en/blog/index.php/2012/05/18/search-engines-agree-to-support-standard-sitemap-protocol/ www.grandmint.com.hk] (May 18, 2012)
<blockquote>
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.
</blockquote>


==Details==
==Details==
The relation appears within the HEAD section of the HTML document:
The <code>sitemap</code> relation may be used with <code>link</code> elements.  It refers to an external resource conforming to the standard defined at http://www.sitemaps.org/protocol.html.
  <link rel="sitemap" href="/sitemap.xml"/>
 
It appears within the HEAD section of the HTML document:
<head>
<title>...</title>
  <link rel="sitemap" href="/sitemap.xml" />
</head>

Latest revision as of 03:54, 21 August 2012

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>