maartenba / MvcSiteMapProvider

An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
Microsoft Public License
537 stars 220 forks source link

Video sitemaps #464

Open Arya-Aghaei opened 6 years ago

Arya-Aghaei commented 6 years ago

Based on what Google defines in Video sitemaps , There are some xml tags should be added to sitemaps for videos, and it should be like this:

`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">

http://www.example.com/videos/some_video_landing_page.html http://www.example.com/thumbs/123.jpg Grilling steaks for summer Alkis shows you how to get perfectly done steaks every time http://www.example.com/video123.mp4 http://www.example.com/videoplayer.mp4?video=123 600 2009-11-05T19:20:30+08:00 4.2 12345 2007-11-05T19:20:30+08:00 yes IE GB US CA http://cooking.example.com 1.99 yes GrillyMcGrillerson no

`

I would like to know how is it possible to add these custom tags dynamically to my sitemap?