• Welcome to Sitemap Generator Forum.
 

Time format in video sitemap wrong

Started by marcel5, March 13, 2014, 11:41:18 AM

Previous topic - Next topic

marcel5

Hi Oleg,

after the creation of video sitemaps works now, I have another issue: the time format of the video:duration tag seems to be wrong.

The videos of my sitemap are crawled by the [ External links are visible to forum administrators only ] markup. According to the [ External links are visible to forum administrators only ] standard the time format of the markup must be according to ISO 8601. Example:
<meta itemprop="duration" content="T1M33S" />
or
<meta itemprop="duration" content="PT1M33S" />
(I'm still not sure if it needs to be "T" or "PT" at the beginning. I think the [ External links are visible to forum administrators only ] standard is not clear about that.)

The video sitemap generator simply copies this data. But for the XML sitemap this time format is wrong. When I test the sitemap with Google Webmaster Tools (with all time format variations P/PT/T at the beginning) Google says that the time format is invalid.

In the video sitemap the duration must be given in seconds. Example:
<video:duration>600</video:duration>
Source: [ External links are visible to forum administrators only ] (Scroll down to the table "Video-Tag-Definitionen")

It seems that the video sitemap generator should convert the time format. What do you think?

Regards
Marcel

XML-Sitemaps Support

Hello,

it should in format:
<meta itemprop="duration" content="T1M33S" />

(generator will convert the time in this case)

marcel5

Hi Oleg,

thank you very much for your reply! Yes, it works now.

Kind greeting
Marcel