WordPress.org

Ready to get started?Download WordPress

Forums

XML Sitemap & Google News feeds
[resolved] [Plugin: XML Sitemap & Google News Sitemap Feeds] Titles with tags (2 posts)

  1. ploums
    Member
    Posted 3 years ago #

    I've started using the plugin with 3.1 (apparently, this is not version-related, though) and found a small improvement.

    When titles contain an HTML tag (like <b></b>), the generated sitemap-news.xml is not acceptable by Google.

    It suggest the following change to the feed-sitemap-news.php file.

    Replace
    The_Title();
    on line #64 with
    echo strip_tags(get_the_title(get_the_ID()));

    It works on my own blog. You can check a sample output of the modified plugin in http://ylovephoto.com/fr/sitemap-news.xml

    Apart from that, the plugin started working quite soon. I would have prefered to see a more prominent information about removing the old XML files and a more obvious information of where the generated files go (a chapter in the FAQ would be welcome). Good plugin. Thanks.

  2. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for your contribution. It will make it into the next release :)

    About removing old XML files, it's step 4 in the installation instructions ... but it will not hurt to stress it again in the FAQ's ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic