WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. John Rahkon
    Member
    Posted 4 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:

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

    What to do?

    http://wordpress.org/extend/plugins/google-news-sitemap-generator/

  2. Samuel B
    moderator
    Posted 4 years ago #

    try this one instead
    http://wordpress.org/extend/plugins/google-sitemap-generator/
    the other is out of date

  3. John Rahkon
    Member
    Posted 4 years ago #

    samboll,

    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
    moderator
    Posted 4 years ago #

    oops sorry

  5. John Rahkon
    Member
    Posted 4 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
    Member
    Posted 4 years ago #

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

  7. brainofworms
    Member
    Posted 3 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 :
    <urlset>

    <url>
    <loc>http://brainofworms.com/</loc>
    <lastmod>2010-06-30T21:17:35Z</lastmod>
    </url>
    </urlset>

    How do I fix this problem?
    P.S:
    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