WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Google News Sitemap Generator] exclude categories shows error after updatating the new vers (4 posts)

  1. taruntanu
    Member
    Posted 5 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

  2. chris.jinks
    Member
    Posted 5 years ago #

    Hi,

    Thanks for your feedback.

    Download the latest version, this bug has now been fixed.

    Chris

  3. taruntanu
    Member
    Posted 5 years ago #

    Yeah done Thanks !

    Regards
    Tarun
    http://www.telecomtalk.info

  4. Troy Media
    Member
    Posted 4 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.

Topic Closed

This topic has been closed to new replies.

About this Topic