Video Chapter Set
Each video chapter is individually marked and part of a set, delineated as such:
<videochapter:set>
<!-- Chapters Go Here -->
</videochapter:set>
Video Chapter Index
Each video chapter is individually marked as an index within the set. To clarify, each video that you are adding chapters to will have a single set of multiple indices. The available and required fields for each chapter are as follows:
|
Field
|
Type
|
Description
|
Required
|
|
guid
|
string
|
The unique identifier for this chapter.
|
YES
|
|
title
|
string
|
The chapter title.
|
YES
|
|
start_time
|
int
|
Timestamp (in seconds) for chapter beginning.
|
YES
|
|
end_time
|
int
|
Timestamp (in seconds) for chapter end.
|
No
|
|
url
|
url
|
The direct URL to access this chapter within this video.
|
YES
|
|
thumbnail
|
url
|
The location of a thumbnail image for this chapter.
|
No
|
To demonstrate, here is an example video chapter index:
<videochapter:index>
<videochapter:guid type="string">11111</videochapter:id>
<videochapter:title type="string">First Example Chapter</videochapter:title>
<videochapter:start_time type="int">5</videochapter:start_time>
<videochapter:end_time type="int">20</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=11111</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_11111.jpg</videochapter:thumbnail>
</videochapter:index>
Putting It All Together
This standard works with both Video Sitemaps and MRSS Feeds without any variance between the two formats. Here is an example of a set of indices for an individual video:
<videochapter:set>
<videochapter:index>
<videochapter:guid type="string">11111</videochapter:id>
<videochapter:title type="string">First Example Chapter</videochapter:title>
<videochapter:start_time type="int">5</videochapter:start_time>
<videochapter:end_time type="int">20</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=11111</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_11111.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">22222</videochapter:id>
<videochapter:title type="string">My Second Chapter</videochapter:title>
<videochapter:start_time type="int">20</videochapter:start_time>
<videochapter:end_time type="int">45</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=22222</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_22222.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">33333</videochapter:id>
<videochapter:title type="string">The Third Chapter</videochapter:title>
<videochapter:start_time type="int">50</videochapter:start_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=33333</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_33333.jpg</videochapter:thumbnail>
</videochapter:index>
</videochapter:set>
MRSS Example
Here is the above sample set appropriate embedded within an MRSS feed:
<rss
version="2.0"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:videochapter="http://www.videochapters.com/mrss/schema/" >
<channel>
<title>My Video Sitemap</title>
<link>http://www.mydomain.com</link>
<description>Videos Telling the Stories of People and Places</description>
<item>
<guid>http://www.mydomain.com/video/ABCDE12345/</guid>
<title>My Favorite Video</title>
<link>http://www.mydomain.com/video/ABCDE12345/</link>
<description>This is my favorite video.</description>
<media:content url="http://cdn.mydomain.com/ABCDE12345.mp4" type="video/flash">
<media:player url="http://www.mydomain.com/videoplayer.swf?id=ABCDE12345" width="640" height="360" />
<media:title type="plain">My Favorite Video</media:title>
<media:description type="plain">This is my favorite video.</media:description>
<media:keywords>favorite,video</media:keywords>
<media:thumbnail url="http://www.mydomain.com/thumbnails/ABCDE12345_12345.jpg" />
</media:content>
<videochapter:set>
<videochapter:index>
<videochapter:guid type="string">11111</videochapter:id>
<videochapter:title type="string">First Example Chapter</videochapter:title>
<videochapter:start_time type="int">5</videochapter:start_time>
<videochapter:end_time type="int">20</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=11111</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_11111.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">22222</videochapter:id>
<videochapter:title type="string">My Second Chapter</videochapter:title>
<videochapter:start_time type="int">20</videochapter:start_time>
<videochapter:end_time type="int">45</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=22222</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_22222.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">33333</videochapter:id>
<videochapter:title type="string">The Third Chapter</videochapter:title>
<videochapter:start_time type="int">50</videochapter:start_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=33333</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_33333.jpg</videochapter:thumbnail>
</videochapter:index>
</videochapter:set>
</item>
</channel>
</rss>
Video Sitemap Example
Here is the same example embedded within a video sitemap:
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"
xmlns:videochapter="http://www.videochapters.com/sitemap/schema/" >
<url>
<loc>http://www.mydomain.com/video/ABCDE12345/</loc>
<video:video>
<video:content_loc>http://cdn.mydomain.com/ABCDE12345.mp4</video:content_loc>
<video:player_loc allow_embed="yes">http://www.mydomain.com/videoplayer.swf?id=ABCDE12345</video:player_loc>
<video:thumbnail_loc>http://www.mydomain.com/thumbnails/ABCDE12345_12345.jpg</video:thumbnail_loc>
<video:title>My Favorite Video</video:title>
<video:description>This is my favorite video.</video:description>
<video:publication_date>2010-01-01</video:publication_date>
<video:tag>favorite</video:tag>
<video:tag>video</video:tag>
<video:duration>100</video:duration>
</video:video>
<videochapter:set>
<videochapter:index>
<videochapter:guid type="string">11111</videochapter:id>
<videochapter:title type="string">First Example Chapter</videochapter:title>
<videochapter:start_time type="int">5</videochapter:start_time>
<videochapter:end_time type="int">20</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=11111</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_11111.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">22222</videochapter:id>
<videochapter:title type="string">My Second Chapter</videochapter:title>
<videochapter:start_time type="int">20</videochapter:start_time>
<videochapter:end_time type="int">45</videochapter:end_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=22222</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_22222.jpg</videochapter:thumbnail>
</videochapter:index>
<videochapter:index>
<videochapter:guid type="string">33333</videochapter:id>
<videochapter:title type="string">The Third Chapter</videochapter:title>
<videochapter:start_time type="int">50</videochapter:start_time>
<videochapter:url type="url">http://www.mydomain.com/video/ABCDE12345?chapter=33333</videochapter:url>
<videochapter:thumbnail type="url">http://www.mydomain.com/chapter_thumbnail/ABCDE12345_33333.jpg</videochapter:thumbnail>
</videochapter:index>
</videochapter:set>
</url>
</urlset>