sitemap
sitemap copied to clipboard
addVideo : location not working
On Laravel 5 with latest version of watson sitemap. When i use addVideo , the video location (youtube/...) is not added to sitemap.
$tag = Sitemap::addTag(route('videoarticle', array('slug'=>$video->slug)), date('Y-m-d H:i:s'), 'daily', '1');
$tag->addVideo('http://www.youtube.com/xxxx','title', 'description');
I didn't implement the video tag, it was added by a pull request. Looks like the tag gets confused between the tag location and content location - I'm not sure what the difference is there. Unfortunately I don't have time to look into this at the moment but happy to merge a pull request that fixes it.