Invalid tags in descriptions of video sitemap
« on: March 09, 2016, 01:45:03 PM »
Hi,

google says there are errors in my video sitemap.

It seems that at least dailymotion can have br tags in the description of the video and those html tags are not allowed by the google search console parser.

Is there a way to use my page description instead of the dailymotion description of the embeded video or maybe some kind of filtering I could enable on the generator ?
Re: Invalid tags in descriptions of video sitemap
« Reply #1 on: March 09, 2016, 02:36:50 PM »
Hello,

sitemap contains video details as defined in corresponding video source (which is extracted via API), it cannot be defined otherwise.
Re: Invalid tags in descriptions of video sitemap
« Reply #2 on: March 10, 2016, 10:24:36 AM »
Ok, but the generator can produce an invalid xml sitemap when the description of the video contains html tags (I have seen it only on dailymotion's videos).

How can I fix it ?

For reference, here is a quote from the last video sitemap made by the generator for our website, it shows the invalid markup in the video:description element :

Code: [Select]
 
<url>
       <loc>http://***.com/actualite/a-la-decouverte-des-reseaux-et-compteurs-electriques-de-demain</loc>
       <lastmod>2016-03-10T09:36:41+00:00</lastmod>
       <changefreq>daily</changefreq>
       <priority>0.0012</priority>
       <video:video>
         <video:thumbnail_loc>http://***.com/generator/data/fdc4dbae6dedf6ac5769e61ab33e288d.jpg</video:thumbnail_loc>
         <video:title>Compteur intelligent dans le cadre de la préparation de la loi de programmation de transition énergétique</video:title>
         <video:description>Inauguration du site témoin d’ERDF présentant le compteur intelligent dans le cadre de la préparation de la loi de programmation de transition énergétique. <br /> <br />Consultez l'article  <br />A la découverte des réseaux et compteurs électriques de demain</a></video:description>
         <video:publication_date>2014-05-20T16:06:45+00:00</video:publication_date>
         <video:player_loc allow_embed="yes" autoplay="ap=1">http://www.dailymotion.com/embed/video/x1vsynd</video:player_loc>
         <video:duration>165</video:duration>
       </video:video>
  </url>