Page MenuHomePhabricator

use non-proprietary sitemap schema
Closed, ResolvedPublic

Description

In generateSitemap.php consider using the non-proprietary
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
instead of the proprietary
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd .
They are the same except for the comments.


Version: 1.12.x
Severity: trivial

Details

Reference
bz13527

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:06 PM
bzimport set Reference to bz13527.
bzimport added a subscriber: Unknown Object (MLST).

Indeed, that is what Google itself recommends:
$ w3m -dump https://www.google.com/webmasters/tools/docs/en/protocol.html |
grep xsd|perl -pwe 's/^\s+/\t/'
For Sitemaps: http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
siteindex.xsd
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
schemas/sitemap/0.9/sitemap.xsd, and a schema for Sitemap index files is
available at http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd.

We also notice that your index files are not using siteindex.xsd,
but just sitemap.xsd, as if they were not index files.