WordPress.org

Support

Support » Plugins and Hacks » XML Sitemap & Google News feeds » [Resolved] [Plugin: XML Sitemap & Google News Sitemap Feeds] Titles with tags

[Resolved] [Plugin: XML Sitemap & Google News Sitemap Feeds] Titles with tags

  • 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.

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    @ravanh

    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 😉

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: XML Sitemap & Google News Sitemap Feeds] Titles with tags’ is closed to new replies.
Skip to toolbar