Video google Sitemap.xml

rafik maher asked on November 18, 2016 06:55

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>

Recent Answers


Brenden Kehren answered on November 18, 2016 15:06

Create a page, place your new webpart on it and set the properties like path and page type and transformation. Should do the trick.

1 votesVote for this answer Mark as a Correct answer

rafik maher answered on November 19, 2016 10:19

My problem is after I cloned the google sitemap, I choose video as page type and in transformation I add my custom fields example <video:title><%# Eval("Title")%></video:title> of video page type but when I go in live mode it's empty(Not showing data inside this column) <video:title></video:title>

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 21, 2016 17:07

Have you checked the event log or made sure you have the repeater setup properly so it is actually returning pages which are published and such?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.