Breaking News
Showing posts with label Sitemap tags. Show all posts
Showing posts with label Sitemap tags. Show all posts

Wednesday, 5 June 2013

Sitemap tag definitions | Experienced Webmaster


The following table outlines the tags required for Sitemaps listing web URLs. To add more detailed information about specific content types.
Tag
Required?
Description
<urlset>
 Required
 Encloses all information about the set of URLs included in the Sitemap.
<url>
 Required
 Encloses all information about a specific URL.
<loc>
 Required
 Specifies the URL. For images and video, specifies the landing page (aka play page, referrer page). Must be a unique URL.
<lastmod>
 Optional
 The date the URL was last modifed, in YYYY-MM-DDThh:mmTZD format (time value is optional).
<changefreq>
 Optional
 Provides a hint about how frequently the page is likely to change. Valid values are: always. Use for pages that change every time they are accessed. Hourly, daily, weekly, monthly, yearly. never.  Use this value for archived URLs.
<priority>
 Optional
 Describes the priority of a URL relative to all the other URLs on the site. This priority can range from 1.0 (extremely important) to 0.1 (not important at all).         Does not affect your site's ranking in Google search results. Because this value is relative to other pages on your site, assigning a high priority (or specifying the same priority for all URLs) will not help your site's search ranking. In addition, setting all pages to the same priority will have no effect.
Read more ...

Guidelines for Sitemaps | Experienced Webmaster

* A Sitemap file can contain no more than 50,000 URLs and must be no larger than 50MB when uncompressed. If your Sitemap is larger than this, break it into several smaller Sitemaps. These limits help ensure that your web server is not overloaded by serving large files to Google.

* If you have more than one Sitemap, you can list them in a Sitemap index file and then submit the Sitemap index file to Google. You don't need to submit each Sitemap file individually.

* Specify all URLs using the same syntax. For instance, if you specify your site location as http://www.example.com/, your URL list should not contain URLs that begin with http://example.com/.
Do not include session IDs in URLs.

* Your Sitemap file must specify the following XML namespace: xmlns="http://www.sitemaps.org/schemas/sitemap/0.9".

* The Sitemap URL must be UTF8-encoded, and encoded for readability by the webserver on which it is located.

* If your site is accessible on both the www and non-www versions of your domain, you don’t need to submit a separate Sitemap for each version. However, we recommend picking either the www or the non-www version, and using recommended canonicalization methods to tell Google which version you are using.

* If you’re considering hiring a consultant to help you optimize your Sitemaps, we recommend reading our recommendations on working with Search Engine Optimizers (SEOs). In addition, you should be familiar with our Webmaster Guidelines and our SEO Starter Guide. It can also be useful to check with colleagues with similar sites or businesses.

* A Sitemap file is independent of the language of the content. To make sure that each language version can be crawled and indexed, use unique URLs. These URLs can all be included in your Sitemap files.

Sitemap extensions (video, images, News ...)

As well as basic URL information, Sitemaps can contain detailed information about specific types of content on your site, including video, images, mobile, News, and software source code.

Depending on the type of content included in your Sitemap, you should specify the appropriate namespace(s), listed in the table below. Be sure to specify the namespace for every type of information included in your Sitemap.


General URL xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
 Images xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
 Video xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"
 Mobile xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0"
 News xmlns:news="http://www.google.com/schemas/sitemap-news/0.9".Google recommends, however, that you create separate Sitemaps for news content; these Sitemaps will be crawled very frequently to check for new articles
Sitemap tag definitions

The following table outlines the tags required for Sitemaps listing web URLs. To add more detailed information about specific content types.

Tag Required? Description
<urlset>  Required  Encloses all information about the set of URLs included in the Sitemap.
<url>  Required  Encloses all information about a specific URL.
<loc>  Required  Specifies the URL. For images and video, specifies the landing page (aka play page, referrer page). Must be a unique URL.
<lastmod>  Optional  The date the URL was last modifed, in YYYY-MM-DDThh:mmTZD format (time value is optional).
<changefreq>  Optional  Provides a hint about how frequently the page is likely to change. Valid values are: always. Use for pages that change every time they are accessed. Hourly, daily, weekly, monthly, yearly. never.  Use this value for archived URLs.
<priority>  Optional  Describes the priority of a URL relative to all the other URLs on the site. This priority can range from 1.0 (extremely important) to 0.1 (not important at all).         Does not affect your site's ranking in Google search results. Because this value is relative to other pages on your site, assigning a high priority (or specifying the same priority for all URLs) will not help your site's search ranking. In addition, setting all pages to the same priority will have no effect.
Read more ...
Designed By Published.. Blogger Templates