| 1 | = News Sitemap = |
| 2 | |
| 3 | '''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. |
| 4 | |
| 5 | 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. |
| 6 | A News Sitemap must contain a '''publication date''' for each article, which refers to the date that the article first appears on your site. |
| 7 | |
| 8 | == Old News Sitemap == |
| 9 | |
| 10 | Example of Old News Sitemap (generated by qPloneGoogleSitemaps 0.8.5) looks like this: |
| 11 | |
| 12 | [[Image(news-sitemap.png, nolink)]] |
| 13 | |
| 14 | It consists of number of URL blocks (within <url> </ulr> tags) each including such newsitem-specific tags as '''<news:publication_date>''' (required) and '''<news:keywords>''' (not required). |
| 15 | |
| 16 | {{{ |
| 17 | <urlset> |
| 18 | <url> |
| 19 | <loc>http://localhost:33100/www/news-items/test-page</loc> |
| 20 | − |
| 21 | <news:news> |
| 22 | <news:publication_date>2010-01-12T14:32:47Z</news:publication_date> |
| 23 | <news:keywords>town, flower, plone</news:keywords> |
| 24 | </news:news> |
| 25 | </url> |
| 26 | <url> |
| 27 | ... |
| 28 | </url> |
| 29 | </urlset> |
| 30 | }}} |
| 31 | |
| 32 | == New News Sitemap == |
| 33 | |
| 34 | New News Sitemap should now look like this (example taken from [http://www.google.com/support/news_pub/bin/answer.py?hl=en&answer=74288 here]): |
| 35 | |
| 36 | {{{ |
| 37 | <?xml version="1.0" encoding="UTF-8"?> |
| 38 | <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
| 39 | xmlns:n="http://www.google.com/schemas/sitemap-news/0.9"> |
| 40 | <url> |
| 41 | <loc>http://www.example.org/business/article55.html</loc> |
| 42 | <n:news> |
| 43 | <n:publication> |
| 44 | <n:name>The Example Times</n:name> |
| 45 | <n:language>en</n:language> |
| 46 | </n:publication> |
| 47 | <n:access>subscription</n:access> |
| 48 | <n:genres>pressrelease, blog</n:genres> |
| 49 | <n:publication_date>2008-12-23</n:publication_date> |
| 50 | <n:title>Companies A, B in Merger Talks</n:title> |
| 51 | <n:keywords>business, merger, acquisition, A, B</n:keywords> |
| 52 | <n:stock_tickers>NASDAQ:A, NASDAQ:B</n:stock_tickers> |
| 53 | </n:news> |
| 54 | </url> |
| 55 | </urlset> |
| 56 | }}} |
| 57 | |
| 58 | The new updated format allows you to add new tags to each entry in your Sitemap, to provide more information about individual articles. So, the differences between old and new News Sitemap format include: |
| 59 | |
| 60 | '''New Required Tags''' |
| 61 | |
| 62 | * Publication tags ('''<n:publication>''') - include two child tags name and language which should be added to each of your Sitemap’s news articles. |
| 63 | * '''<n:name>.''' - is the name of the news publication |
| 64 | * '''<n:language>''' - is the language of your publication |
| 65 | |
| 66 | * Title tags ('''<n:title>''') - article titles can be added using the title tag to help us identify the correct title for your articles. |
| 67 | |
| 68 | * Genres tags ('''<n:genres>''') -helps identify the different types of content within your articles, such as !PressRelease, !OpEd, Blog or !UserGenerated. This is a required tag if genres apply, otherwise it can be omitted |
| 69 | |
| 70 | * Access tags ('''<n:access>''') - tell us about the access level of your articles, whether they’re under a subscription wall, or free. This is a required tag if access is not open, otherwise it should be omitted. |
| 71 | |
| 72 | * Publication date ('''<news:publication_date>''') - article publication date in W3C format. This tag remains the same as in old news sitemap format. |
| 73 | |
| 74 | '''Not Required Tags''' |
| 75 | |
| 76 | * Keywords tags ('''<news:keywords>''') - A comma-separated list of keywords describing the topic of the article. |
| 77 | |
| 78 | * Stock Tickers ('''<stock_tickers>''') - A comma-separated list of up to 5 stock tickers of the companies, mutual funds, or other financial entities that are the main subject of the article. Relevant primarily for business articles. |