sitemap icon indicating copy to clipboard operation
sitemap copied to clipboard

addVideo : location not working

Open visualight opened this issue 5 years ago • 1 comments

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');

visualight avatar Nov 16 '18 15:11 visualight

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.

dwightwatson avatar Nov 17 '18 08:11 dwightwatson