Hi I would like to create video google sitemap webpart to generate xml video for google seo. I cloned the webpart in kentico V9 and I replaced begining of urlset to accept video sitemap configuration as follow@HeaderTemplate@@?xml version=@1.0@ encoding=@UTF-8@ ?@
@urlset xmlns:xsi=@http://www.w3.org/2001/XMLSchema-instance@ xsi:schemaLocation=@http://www.google.com/schemas/sitemap-video/1.1 http://www.google.com/schemas/sitemap-video/1.1/sitemap-video.xsd@ xmlns:video=@http://www.google.com/schemas/sitemap-video/1.1@@@/HeaderTemplate@.My problem is how to connect the data need from page type Video to this sitemap to generate the right sitemap for google.
Also I created a new transformation as follow
@url@@video:video@@video:thumbnail_loc@@/video:thumbnail_loc@
@video:title@@/video:title@
@video:description@@/video:description@
@video:content_loc@@/video:content_loc@
@video:duration@@/video:duration@
@video:publication_date@@/video:publication_date@
@video:family_friendly@no@/video:family_friendly@
@video:requires_subscription@no@/video:requires_subscription@
@video:live@no@/video:live@
@/video:video@
@/url@
↧