mapzen / mapzen-www-places

Mapzen. It's full of places.
3 stars 9 forks source link

Add sitemap (dot xml) #3

Closed thisisaaronland closed 7 years ago

thisisaaronland commented 7 years ago

https://support.google.com/webmasters/answer/183668?hl=en http://www.sitemaps.org/

 You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 10MB (10,485,760 bytes). If you would like, you may compress your Sitemap files using gzip to reduce your bandwidth requirement; however the sitemap file once uncompressed must be no larger than 10MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.

If you do provide multiple Sitemaps, you should then list each Sitemap file in a Sitemap index file. Sitemap index files may not list more than 50,000 Sitemaps and must be no larger than 10MB (10,485,760 bytes) and can be compressed. You can have more than one Sitemap index file. The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file.

The Sitemap index file must:

    Begin with an opening <sitemapindex> tag and end with a closing </sitemapindex> tag.
    Include a <sitemap> entry for each Sitemap as a parent XML tag.
    Include a <loc> child entry for each <sitemap> parent tag.

The optional <lastmod> tag is also available for Sitemap index files.
thisisaaronland commented 7 years ago

https://github.com/whosonfirst/whosonfirst-sitemaps

thisisaaronland commented 7 years ago

Still need to:

thisisaaronland commented 7 years ago

Sitemap generation still needs to be automated but that's a ticket for a different repo.