Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addVideo : location not working #63

Open
visualight opened this issue Nov 16, 2018 · 1 comment
Open

addVideo : location not working #63

visualight opened this issue Nov 16, 2018 · 1 comment

Comments

@visualight
Copy link

visualight commented Nov 16, 2018

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');
@dwightwatson
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants