ikeikeikeike / go-sitemap-generator

go-sitemap-generator is the easiest way to generate Sitemaps in Go
https://github.com/ikeikeikeike/go-sitemap-generator
MIT License
220 stars 65 forks source link

Feature to add additional links to index files #22

Open byungjikroh opened 6 years ago

byungjikroh commented 6 years ago

I have been using your Elixir sitemap library(https://github.com/ikeikeikeike/sitemap) and trying to use Go version this time.

But there is no add_to_index feature like Elixir version. It is a very important feature to me. Do you have an any plan to add the feature 'add_to_index' soon?

Thanks. :)

piotrkochan commented 6 years ago

I'm looking for this too

piotrkochan commented 6 years ago

This is not possible without code changes

zoli commented 6 years ago

Each time you call Finalize() a sitemap will be added to sitemap index.

boxsnake commented 5 years ago

In my situation, I have some static site files to be merged into index file. Everytime I call Finalize(), it will only save the local sitemap (newly saved) to index file, not an existing one.