WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemap for Videos
Invalid XML error - Google Webmaster Tools (6 posts)

  1. shoot2score67
    Member
    Posted 3 years ago #

    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!

  2. CookingInHD
    Member
    Posted 3 years ago #

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

  3. shoot2score67
    Member
    Posted 3 years ago #

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

  4. TheSpoter
    Member
    Posted 3 years ago #

    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.

  5. freakenstein
    Member
    Posted 3 years ago #

    I think the category should be commaseperated to be valid

  6. nfong
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic