Changes between Version 17 and Version 18 of qPloneGoogleSitemaps/news-sitemap


Ignore:
Timestamp:
Jun 1, 2010 12:00:42 PM (14 years ago)
Author:
olha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qPloneGoogleSitemaps/news-sitemap

    v17 v18  
    88A News Sitemap must contain a '''publication date''' for each article, which refers to the date that the article first appears on your site. 
    99 
    10 == New News Sitemap == 
     10== Requirements == 
    1111 
    12 According to the new News Sitemap specifications http://www.google.com/support/news_pub/bin/answer.py?hl=en&answer=74288 New News Sitemap should now have more tags to each entry to provide more information about individual articles. New News Sitemap looks like this: 
    13  
    14 [[Image(new-news-sitemap.png, nolink)]] 
    15  
    16 It consists of greater number of URL blocks (within <url> </ulr> tags) each including such newsitem-specific tags: 
    17  
    18 {{{ 
    19 <urlset> 
    20   <url> 
    21     <loc>http://www.example.org/business/article55.html</loc> 
    22     <n:news> 
    23       <n:publication> 
    24         <n:name>The Example Times</n:name> 
    25         <n:language>en</n:language> 
    26       </n:publication> 
    27       <n:access>subscription</n:access> 
    28       <n:genres>pressrelease, blog</n:genres> 
    29       <n:publication_date>2008-12-23</n:publication_date> 
    30       <n:title>Companies A, B in Merger Talks</n:title> 
    31       <n:keywords>business, merger, acquisition, A, B</n:keywords> 
    32       <n:stock_tickers>NASDAQ:A, NASDAQ:B</n:stock_tickers> 
    33     </n:news> 
    34   </url> 
    35 </urlset> 
    36 }}} 
    37  
    38 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: 
    39  
    40 === New Required Tags === 
    41  
    42  * Publication tags ('''<n:publication>''') - include two child tags name and language which should be added to each of your Sitemap’s news articles. 
    43       * '''<n:name>.''' - is the name of the news publication 
    44       * '''<n:language>''' - is the language of your publication 
    45  * Title tags ('''<n:title>''') - article titles can be added using the title tag to help us identify the correct title for your articles. 
    46  * Publication date ('''<news:publication_date>''') - article publication date in W3C format. This tag remains the same as in old news sitemap format. 
    47  
    48 === Half-required Tags === 
    49  
    50 More about [http://www.google.com/support/news_pub/bin/answer.py?answer=93992 access and genres tags]. 
    51  
    52 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. 
    53  
    54  * 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. The <genres> tag takes one or more of the following values, separated by commas:  
    55    * '''''!PressRelease''''' (visible): an official press release. 
    56    * '''''Satire''''' (visible): an article which ridicules its subject for didactic purposes. 
    57    * '''''Blog''''' (visible): any article published on a blog, or in a blog format. 
    58    * '''''!OpEd''''': an opinion-based article which comes specifically from the Op-Ed section of your site. 
    59    * '''''Opinion''''': any other opinion-based article not appearing on an Op-Ed page, i.e., reviews, interviews, etc. 
    60    * '''''!UserGenerated''''': newsworthy user-generated content which has already gone through a formal editorial review process on your site. 
    61  
    62  * 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: 
    63    * '''''Subscription''''' (visible): an article which prompts users to pay to view content. 
    64    * '''''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. 
    65  
    66 === Not Required Tags === 
    67  
    68  * Keywords tags ('''<news:keywords>''') - A comma-separated list of keywords describing the topic of the article. 
    69  * 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. 
    70  
    71 == Old News Sitemap == 
    72  
    73 Example of Old News Sitemap (generated by [http://plone.org/products/qplonegooglesitemaps/releases/1.1.2 qPloneGoogleSitemaps =< 1.1.2]) looks like this: 
    74  
    75 [[Image(news-sitemap.png, nolink)]] 
    76  
    77 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). 
    78  
    79 {{{ 
    80 <urlset> 
    81 <url> 
    82 <loc>http://localhost:33100/www/news-items/test-page</loc> 
    83 <news:news> 
    84 <news:publication_date>2010-01-12T14:32:47Z</news:publication_date> 
    85 <news:keywords>town, flower, plone</news:keywords> 
    86 /news:news> 
    87 </url> 
    88 <url> 
    89 ... 
    90 </url> 
    91 </urlset> 
    92 }}} 
     12Being a unique Sitemap Type, News Sitemap has some requirements about its structure and contained tags. Here is a [wiki:qPloneGoogleSitemaps/news-sitemap/requirements News Sitemap requirements]: Old and New required formats.