Skip to content

Instantly share code, notes, and snippets.

@sajadbahar
Created November 15, 2015 12:40
Show Gist options
  • Select an option

  • Save sajadbahar/5f741e73523af825bf27 to your computer and use it in GitHub Desktop.

Select an option

Save sajadbahar/5f741e73523af825bf27 to your computer and use it in GitHub Desktop.
Sample Site Map
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>http://www.example.com/foo.html</loc>
<lastmod>2015-11-27T23:55:42+01:00</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
<image:image>
<image:loc>http://example.com/image.jpg</image:loc>
<image:caption>Dogs playing poker</image:caption>
</image:image>
<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>
Cook the perfect steak every time.
</video:description>
</video:video>
</url>
</urlset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment