taruntanu
Member
Posted 2 years ago #
Today i upgraded Google News sitemap to its latest version everything went well but when i checked the exclude categories option it was listed with lots of errors like
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/telecom/public_html/wp-content/plugins/google-news-sitemap-generator/google-news-sitemap.php on line 322
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/telecom/public_html/wp-content/plugins/google-news-sitemap-generator/google-news-sitemap.php on line 322
what should be done in-order to sort it out ?
Regards
Tarun
http://www.telecomtalk.info
chris.jinks
Member
Posted 2 years ago #
Hi,
Thanks for your feedback.
Download the latest version, this bug has now been fixed.
Chris
taruntanu
Member
Posted 2 years ago #
Yeah done Thanks !
Regards
Tarun
http://www.telecomtalk.info
Troy Media
Member
Posted 2 years ago #
Chris: Is your latest version the newest one that Google wants?
<?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>
Appreciate any help you can give.