Forums

[Plugin: Google News Sitemap Generator] Google Says XML Error in Sitemap (23 posts)

  1. dailylatestnews
    Member
    Posted 2 years ago #

    Hi,

    My Google News Sitemap is rejected today when i checked google webmaster tools. There was this message "Missing XML tag
    This required tag is missing. Please add it and resubmit."

    Here is the Format of the recently generated sitemap using your plugin -------------------------------
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
    <url>
    <loc>http://www.dailylatestnews.com/movies/quick-gun-murugan-movie-review-0484</loc>
    <news:news>
    <news:publication_date>2009-08-27T17:45:23Z</news:publication_date>
    <news:keywords>Movies, quick gun murugan review, quick gun murugun</news:keywords>
    </news:news>
    </url>
    </urlset>
    <!-- Last build time: August 27, 2009, 2:05 pm-->
    --------------------------------------------------

    I think This line is missing from generated sitemap "<?xml version="1.0" encoding="UTF-8"?>"

    Please let me know if i m correct. Also let me know where should i add this line in php file so that from next time it will automatically included.

    Kindly Guide

    Regards
    Vikram

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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Site url?

  3. dailylatestnews
    Member
    Posted 2 years ago #

    It is mentioned above. i.e. http://www.dailylatestnews.com/

  4. dailylatestnews
    Member
    Posted 2 years ago #

    Right now i manually added <?xml version="1.0" encoding="UTF-8"?>
    in the genrated news sitemap. And it is now accepted. But What about is same happen in future

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    In that case, I suggest you try to find the source for the multiple lines added to the sitemap file that reference "Debug":

    <!-- Debug: Start Postings --><!-- Debug: Priority report of postID 56: Comments: 0 of 184 = 0 points -->

  6. dailylatestnews
    Member
    Posted 2 years ago #

    I Did not understand what are you talking about. Can u explain more about it?

  7. chris.jinks
    Member
    Posted 2 years ago #

    Hi,

    I have just noticed that Google have updated the example Google News Sitemap on their help page below:

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

    The sitemap now includes this additional "<?xml version="1.0" encoding="UTF-8"?>" line at the beginning of the sitemap.

    dailylatestnews did Google Webmaster Tools accept your sitemap after manually editing the plugin script to include this line?

    Chris

  8. dailylatestnews
    Member
    Posted 2 years ago #

    Yes Chris...
    After Manually adding "<?xml version="1.0" encoding="UTF-8"?>"

    Google acceopted my sitemap.

    But When Next time new :google news sitemap" generated by this plugin. The Line again went missing...

    Now How to fix it... someone help me

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    There are multiple references to <!-- Debug: Start Postings --><!-- Debug: Priority report of postID 56: Comments: 0 of 184 = 0 points --> in the RSS feed itself. That suggests there's a problem elsewhere that is impacting on the feed generation. Try deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

  10. dailylatestnews
    Member
    Posted 2 years ago #

    I am trying following. Let me know if i am doing right

    In google-news-sitemap.php file i am replacing
    $xmlOutput .= "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"
    xmlns:news=\"http://www.google.com/schemas/sitemap-news/0.9\">\n";

    With ------------>>>>>>>>

    $xmlOutput = "<?xml version="1.0" encoding="UTF-8"?>\n";
    $xmlOutput .= "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"
    xmlns:news=\"http://www.google.com/schemas/sitemap-news/0.9\">\n";

    Regards

  11. dailylatestnews
    Member
    Posted 2 years ago #

    Hi Esmi,

    I think you are talking about http://www.dailylatestnews.com/sitemap.xml

    But that is fine. Problem is with google news sitemap -
    http://www.dailylatestnews.com/google-news-sitemap.xml

    I am adding <?xml version="1.0" encoding="UTF-8"?> each time news sitemap is updated. i want this automatically

    Please help me in that

  12. marcinpl
    Member
    Posted 2 years ago #

    I have the same problem. Please help !!!!!!!!!!

  13. dailylatestnews
    Member
    Posted 2 years ago #

    Someone Please help on this. AS once again google rejected my site map and again i added "<?xml version="1.0" encoding="UTF-8"?>" manually to reactivate my sitemap. This is serious issue

  14. chris.jinks
    Member
    Posted 2 years ago #

    Hi dailylatestnews,

    Thanks for letting me know, the plugin has now been updated to include the addition line of code.

    Remember if you find the plugin useful please rate it! :)

    Let me know how you get on with the new version (v1.3.1).

    Chris

  15. marcinpl
    Member
    Posted 2 years ago #

    sorry not working for me still same info:

    No info in XML
    <urlset>
    </urlset>
    <!-- Last build time: August 31, 2009, 6:45 pm-->
  16. dailylatestnews
    Member
    Posted 2 years ago #

    Hi

    Its working now. But Sometimes after posting an article, the sitemap do not build properly. But when i update any existing article then sitemap builds perfectly. So now onwards after writing an article i also need update any article so that sitemap build in correct manner.

    The format of wrong sitemap is same as mentioned by marcinpl above. i.e.
    No info in XML
    <urlset>
    </urlset>
    <!-- Last build time: August 31, 2009, 6:45 pm-->

    Any Solutions Chris ?

  17. dailylatestnews
    Member
    Posted 2 years ago #

    i just copied again. This is the content that remains after new posting

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
    </urlset>
    <!-- Last build time: September 6, 2009, 8:23 am-->

  18. chris.jinks
    Member
    Posted 2 years ago #

    @dailylatestnews: Please can you explain the problem you are having in more detail? Also what version of WordPress and what version of this plugin are you using?

    @marcinpl: Please can you supply me with a direct hyperlink to your website & sitemap.

    Chris

  19. Martin Missfeldt
    Member
    Posted 2 years ago #

    Hi,
    have the same problem as dailylatestnews. The sitemap-zrlset does not any item.
    perhaps it is a conflict with these plugins:

    - DDSitemap Generator (for a user-friendly sitemap-page)
    - Google XML sitemap (for normal sitemap - not news)

    My Blog: http://www.tagseoblog.de

    Greetings, Martin

  20. dailylatestnews
    Member
    Posted 2 years ago #

    Hi Chris,

    Here is what i face each time i publish a new article in my wordpress site.

    After Clicking on the publishing Button The Google News sitemap plugin generates Correct Sitemap for the first time. But after few seconds around 10-30 seconds. The plugin again generated a new sitemap in wrong format like this -
    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
    </urlset>
    <!-- Last build time: September 6, 2009, 8:23 am-->

    To correct the sitemap then a again update my post that i just published. So after updating sitemap again generates in the correct format. So i have to update each post again after publishing so that sitemap rebuild again in correct format. I hope i am more clear now.

    Following are the plugins that i am currently using
    All in One SEO
    FeedBurner
    Google News Sitemap
    Register Plus
    SexyBookmarks
    Smart Ads
    Smart Update Pinger
    Vote the Post
    Who Is Online
    PostViews
    WP-SpamFree
    WP Super Cache
    Related Posts (YARPP)
    XML-Sitemap

    Kindly let me know if anything else required.

    Regards
    Vicky

  21. Martin Missfeldt
    Member
    Posted 2 years ago #

    Chris ???

  22. dailylatestnews
    Member
    Posted 2 years ago #

    Hi Chris,

    Still waiting for you reply.... Kindly revert....

    Regards
    Vicky

  23. dailylatestnews
    Member
    Posted 2 years ago #

    Hi Chris,

    I found the problem and did the necessary changes to my blog. Now there is no problem and everything is working fine.

    What i did?
    I installed a plugin called smart update pinger. This plugin tells us that which sites pinged successfully and which are having problem. I removed the list of the ping services that were giving problem and now everything is working perfect.

    Regards
    Vicky

Topic Closed

This topic has been closed to new replies.

About this Topic