Please, look at my extension at GitHub: github.com/alphard-code/sitemap
I think it can be useful for community.