dfabulich / sitemapgen4j

SitemapGen4j is a library to generate XML sitemaps in Java.
Apache License 2.0
160 stars 90 forks source link

Allow Empty Files #22

Closed jbeard6 closed 8 years ago

jbeard6 commented 8 years ago

We have a dynamic site in which sitemaps may periodically be empty. Crawlers, however, are expecting to find the sitemap files at a known location and so, at these times, we need the ability to publish an empty sitemap and/or index.

Please add an option to allow empty sitemaps and index files to be written. It need not be the default.

mkurz commented 8 years ago

Fixed by #23