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

stm produce invalid sitemaps #36

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi @ikeikeikeike and guys,

Hope you are doing all well !

I generated a sitemap (on 230k pages) with your go package and google webmaster tool rejects them for an unknown reason. In both case, compressed or not, google rejects some of them.

There is maybe something wrong with the header/body and I do not know how to debug it...

Stack used:

Eg

Is it due to special characters in the title slugifyed part of the loc ?

I battle with that issue now from one week, so maybe you already had this issue to deal with.

Any help or insights are deeply welcomed ^^

Cheers, X