I have created a news sitemap using views for google news.
It works fine except that any nodes which are picked up by the view which have been saved with 'default' as their priority have -2.0 inserted into their priority tag in the sitemap, like so:

  <url>
    <loc>http://www.xyz.com/news/article</loc>
    <lastmod>2009-03-07T13:12:31+00:00</lastmod>
    <changefreq>daily</changefreq>
    <priority>-2.0</priority>
    <news:news>
      <news:publication_date>2009-03-03T17:06:57+00:00</news:publication_date>
    </news:news>
  </url>

This causes google to issue an error in webmaster tools:

This XML tag has an invalid value. Please fix it and resubmit.

Comments

mr.j’s picture

Forgot to add that google news guidelines don't mention anything about including priority in a news sitemap so the easiest solution may be to simply not put priority in at all.

http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=74288

avpaderno’s picture

Status: Active » Fixed
Issue tags: +custom hooks

This has been fixed in CVS; the Google news site map doesn't include anymore the priority tag.
Feel free to re-open the issue if you still have problems.

Thanks for your report.

Status: Fixed » Closed (fixed)
Issue tags: -custom hooks

Automatically closed -- issue fixed for 2 weeks with no activity.