WordPress.org

Support

Support » Plugins and Hacks » Google XML Sitemap for Videos » [Plugin: Google XML Sitemap for Videos] Invalid XML error – Google Webmaster Tools

[Plugin: Google XML Sitemap for Videos] Invalid XML error – Google Webmaster Tools

  • Hi – this plugin was working great. For some reason, we now get this error in Google Webmaster Tools which no longer accepts the sitemap:

    Invalid XML: too many tags
    Too many tags describing this tag. Please fix it and resubmit.

    Ideas?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same issue. When <video:category> XML tags are found in duplicate in the sitemap-video.xml, the XML file produce “Invalid XML: too many tags” errors in Google Webmaster Tools. For example:


    <video:category>Football</video:category>
    <video:category>Baseball</video:category>
    </video:video>
    </url>
    <url>
    <loc>http://abcdefg.com/wxyz/</loc&gt;
    <video:video>
    <video:category>Hockey</video:category>
    <video:category>Baseball</video:category> <=== different video with same category

    Will result in a failed attempt to add the XML Sitemap for Videos.

    I know these are legitimate tags, but it appears if they are present twice in the same XML file, the XML is invalid. When duplicates are manually removed, ** the XML file is accepted **.

    IMO, these duplicates should be legal since different videos can below to the same category.

    Help please.

    Same problem! When is solution coming…. otherwise plugin is useless. Help please.

    Guys,

    I have same issue and the way to fix it is as someone mentioned above – removing Second <category> tag.

    I think it comes from post being part of 2 or more different categories and plugin simply picks it up. Shrt term solution:

    Manually fix errors Webmaster tools points out – they actually give you exact line number and re-submit.

    Long term – don’t place a blog post containing video into more then One category and you should be fine.

    I think the category should be commaseperated to be valid

    I reduced it to just one <video:category> and it and my sitemap was ok. I think the author should edit the plugin to generate just one and ask what category.

    Youtube has specific category names you need to map to like: like People & Blogs, Entertainment, etc..
    http://www.youtube.com/videos?feature=mh

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Google XML Sitemap for Videos] Invalid XML error – Google Webmaster Tools’ is closed to new replies.
Skip to toolbar