Version 4 (modified by olha, 15 years ago) (diff) |
---|
Why do you create Sitemaps for Google?
Content Sitemap
<url> <loc>http://localhost:33100/www/example-page</loc> <lastmod>2009-12-01T13:08:06Z</lastmod> </url>
News Sitemap
Google News Sitemap - allows you to control which content you submit to Google News. By creating and submitting a Google News Sitemap, you're able to help Google News discover and crawl your site's articles. News Sitemap is different from regular Sitemap, because the nature of news sites is that they change very often and need to be crawled and indexed much more frequently. News Sitemaps let Google know when new articles have been posted and are available for crawling and indexing. Especially recommended for new websites, with dynamic content, with few links to it or requires users to follow several links to reach your news content.
News Sitemaps are specific to Google News. News Sitemap content is very dynamic - as soon as new items are published - they are added to this sitemap and previous ones are excluded. News Sitemap lists only news articles which have been published on your site within the past two days. Older articles are not allowed. A News Sitemap must contain a publication date for each article, which refers to the date that the article first appears on your site.
Old News Sitemaps vs New News Sitemaps
Example of Old News Sitemap (generated by qPloneGoogleSitemaps 0.8.5) looks like this:
It consists of number of URL blocks (within <url> </ulr> tags) each including:
- <loc>...</loc> - location info
- <news:news>...</news:news> - news item tags:
- <news:publication_date>...</news:publication_date>
- <news:keywords/>
<urlset> <url> <loc>http://localhost:33100/www/news-items/test-page</loc> − <news:news> <news:publication_date>2010-01-12T14:32:47Z</news:publication_date> <news:keywords/> </news:news> </url> <url> ... </url> </urlset>
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:n="http://www.google.com/schemas/sitemap-news/0.9"> <url> <loc>http://www.example.org/business/article55.html</loc> <n:news> <n:publication> <n:name>The Example Times</n:name> <n:language>en</n:language> </n:publication> <n:access>subscription</n:access> <n:genres>pressrelease, blog</n:genres> <n:publication_date>2008-12-23</n:publication_date> <n:title>Companies A, B in Merger Talks</n:title> <n:keywords>business, merger, acquisition, A, B</n:keywords> <n:stock_tickers>NASDAQ:A, NASDAQ:B</n:stock_tickers> </n:news> </url> </urlset>