We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I have code like this:
sm := stm.NewSitemap(0) sm.Create() sm.SetDefaultHost("https://example.org") sm.SetPublicPath(".") sm.SetCompress(true) // sm.SetSitemapsPath(".") sm.SetAdapter(&S3Adapter{}) sm.Add(stm.URL{{"loc", ""}, {"changefreq", "daily"}}) if err := makeThreadsSitemap(db, sm); err != nil { return errors.Wrap(err, "failed to generate sitemap for threads") } sm.Finalize().PingSearchEngines() log.Println("finish")
That outputs this log:
2020/08/09 18:56:04 start 2020/08/09 18:56:07 /go-sitemap-generator/v2/stm/sitemap.go:14: Max processors 6 sitemaps/sitemap1.xml.gz '6143' links Ping now: http://www.bing.com/webmaster/ping.aspx?siteMap=https://example.org/sitemaps//sitemap.xml.gz Ping now: http://www.google.com/webmasters/tools/ping?sitemap=https://example.org/sitemaps//sitemap.xml.gz Successful ping of `http://www.google.com/webmasters/tools/ping?sitemap=https://example.org/sitemaps//sitemap.xml.gz` Successful ping of `http://www.bing.com/webmaster/ping.aspx?siteMap=https://example.org/sitemaps//sitemap.xml.gz` 2020/08/09 18:56:29 finish
There is no index file in my case. Only first sitemap chunk. And also there is double slashes in ping-urls.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I have code like this:
That outputs this log:
There is no index file in my case. Only first sitemap chunk. And also there is double slashes in ping-urls.
The text was updated successfully, but these errors were encountered: