[resolved] [Plugin: Google News Sitemap Generator] Creates empty sitemap (7 posts)

  1. John Rahkon
    Posted 6 years ago #

    I installed the plugin (v.1.3.1) on my blog (2.8.4) and moved the xml file to the main directory and chmod it.

    Every time I publish or save a post the plugin writes a new sitemap (as expected)- I can see that by the file date.

    But the sitemap is always empty??

    It only contains:

    <!-- Last build time: October 23, 2009, 12:49 am-->

    What to do?


  2. Samuel B

    Posted 6 years ago #

    try this one instead
    the other is out of date

  3. John Rahkon
    Posted 6 years ago #


    that is no solution since I need to create a Google News sitemap.

    This is different from a normal Google XML sitemap

  4. Samuel B

    Posted 6 years ago #

    oops sorry

  5. John Rahkon
    Posted 6 years ago #

    Found the Problem.

    The plugin uses the function DATEDIFF which is not supported on older PHP versions.
    Users of old php versions have to change the line of code where that appears.

  6. dcaceres
    Posted 6 years ago #

    Hi John,
    And what it's the new function to change?

  7. brainofworms
    Posted 6 years ago #

    I am also using this plugin but am having issues. I don't see the sitemap when i go to the url http://brainofworms.com/sitemap.xml All i see is this :


    How do I fix this problem?
    Google webmasters tools sees the sitemap and has accepted it without any errors.

Topic Closed

This topic has been closed to new replies.

About this Topic