go-sitemap-generator icon indicating copy to clipboard operation
go-sitemap-generator copied to clipboard

Can you give an example of creating sitemap indexing file?

Open dengliu opened this issue 6 years ago • 1 comments

dengliu avatar Feb 12 '18 21:02 dengliu

Call Finalize() on *stm.Sitemap will automatically save the index & sitemap (chunk) file. And, each chunk file should have < 50M & 50000 entries. If the limit is exceeded, It will automatically save the index & chunk, then add 1 to chunkNum, as the new chunk name.

boxsnake avatar Mar 22 '19 09:03 boxsnake