How to Create a video sitemap xml for embedded youtube videos.

Discussion in 'Search Engine Optimization' started by sunnykwok25, Aug 9, 2010.

  1. #1
    So on google.ca if you type in "Starcraft 2" you will see some video results labeled "videos for Starcraft 2".

    Apparently the videos you host on your site will not be shown unless you add a sitemap which references the videos on your site. Here is the sitemap-video.xml code referenced from Google.

    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
            xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> 
       <url> 
         <loc>http://www.example.com/videos/some_video_landing_page.html</loc>
         <video:video>
           <video:content_loc>http://www.example.com/video123.flv</video:content_loc>
           <video:player_loc allow_embed="yes" autoplay="ap=1">http://www.example.com/videoplayer.swf?video=123</video:player_loc>
           <video:thumbnail_loc>http://www.example.com/thumbs/123.jpg</video:thumbnail_loc> 
           <video:title>Grilling steaks for summer</video:title> 
           <video:description>Alkis shows you how to get perfectly done steaks every time</video:description> 
           <video:rating>4.2</video:rating> 
           <video:view_count>12345</video:view_count>    
           <video:publication_date>2007-11-05T19:20:30+08:00</video:publication_date>
           <video:expiration_date>2009-11-05T19:20:30+08:00</video:expiration_date>    
           <video:tag>steak</video:tag> 
           <video:tag>meat</video:tag> 
           <video:tag>summer</video:tag> 
           <video:category>Grilling</video:category>
           <video:family_friendly>yes</video:family_friendly>   
           <video:duration>600</video:duration> 
           <video:restriction relationship="allow">IE GB US CA</video:restriction> 
        </video:video> 
    </url> 
    </urlset>
    
    Code (markup):
    My question is what code do I put in if I wanted to add a youtube video which is embedded on my website? I want to create a sitemap for the embedded youtube video on www.kootenaimoving.com. How would I do this. Thank you.
     
    sunnykwok25, Aug 9, 2010 IP