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

generated sitemap-sc.xml doesn't conform to schema #369

Merged
merged 3 commits into from Feb 9, 2016

Conversation

@phluid61
Copy link
Contributor

@phluid61 phluid61 commented Dec 11, 2015

According to the sitemaps.org schema a <urlset/> element must contain at least one <url/> element, but the sitemap-sc.xml generated by the EPrints::Apache::SiteMap handler doesn't conform. This was reported to us by Google webmaster tools.

This patch updates the method that creates new <urlset/> elements, which is called when creating sitemap-sc.xml and/or when no static sitemap.xml file exists. I think that's the right place to do it.

phluid61 added a commit that referenced this issue Feb 9, 2016
generated sitemap-sc.xml doesn't conform to schema
@phluid61 phluid61 merged commit 32505e5 into eprints:3.3 Feb 9, 2016
@phluid61 phluid61 deleted the feature/sitemap-urlset branch Jun 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant