wiki:qPloneGoogleSitemaps/news-sitemap

Version 4 (modified by olha, 14 years ago) (diff)

--

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 Sitemap

Example of Old News Sitemap (generated by qPloneGoogleSitemaps 0.8.5) looks like this:

No image "news-sitemap.png" attached to qPloneGoogleSitemaps/news-sitemap

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).

<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>town, flower, plone</news:keywords>
</news:news>
</url>
<url>
...
</url>
</urlset>

New News Sitemap

New News Sitemap should now look like this (example taken from here):

<?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>

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:

New Required Tags

  • Publication tags (<n:publication>) - include two child tags name and language which should be added to each of your Sitemap’s news articles.
    • <n:name>. - is the name of the news publication
    • <n:language> - is the language of your publication
  • Title tags (<n:title>) - article titles can be added using the title tag to help us identify the correct title for your articles.
  • Publication date (<news:publication_date>) - article publication date in W3C format. This tag remains the same as in old news sitemap format.

Half-required Tags - More about access and genres tags.

Values for the tags <access> and <genres> are required when applicable and restricted to the list provided below. These values can be in English only. Google system will automatically display the visible designations in your site's language when displaying your articles on Google News.

  • 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.
  • Access tags (<n:access>) - tell us about the access level of your articles, whether they’re under a subscription or free. This is a required tag if access is not open, otherwise it should be omitted.

The <access> tag takes one of the following values: 1) Subscription (visible): an article which prompts users to pay to view content. 2) Registration (visible): an article which prompts users to sign up for an unpaid account to view content. Omitting the <access> tag means that the full article is accessible to all users for at least thirty days.

Not Required Tags

  • Keywords tags (<news:keywords>) - A comma-separated list of keywords describing the topic of the article.
  • 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.

Attachments (8)

Download all attachments as: .zip