Skip to content

Instantly share code, notes, and snippets.

@locvfx
Created August 11, 2018 15:58
Show Gist options
  • Save locvfx/e0cffd42e1ad6c65b24dd7909c1bc6be to your computer and use it in GitHub Desktop.
Save locvfx/e0cffd42e1ad6c65b24dd7909c1bc6be to your computer and use it in GitHub Desktop.
Sitemap example #xml
<?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>
<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