Closed kaihendry closed 7 years ago
Yes, I knew that sitemap's specification. I'm not sure yet, I'm afraid have you written inslice type
into category element ? Because I've got correct result after I tried to write this code in following this README.
Oh yes, you're right.
I'm using you software to generate a video sitemap, e.g.
But Google search console seems to complain when there is more than one category. https://wordpress.org/support/topic/plugin-google-xml-sitemap-for-videos-invalid-xml-error-google-webmaster-tools/ has some background to the issue.
And https://developers.google.com/webmasters/videosearch/sitemaps#video-sitemap-tag-definitions spells it out, Usually a video will belong to a single category.
The answer is probably to use tags instead of categories.