go-sitemap | Get sitemap.xml from URL | Sitemap library
kandi X-RAY | go-sitemap Summary
kandi X-RAY | go-sitemap Summary
Get sitemap.xml (or sitemapindex.xml) from URL and Generate Sitemap object.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of go-sitemap
go-sitemap Key Features
go-sitemap Examples and Code Snippets
Community Discussions
Trending Discussions on go-sitemap
QUESTION
Question is really similar to Django sitemap index pagination URL format but i didn't get the answer. So, i need my url to be like this /sitemap-products-3.xml, where 3 is page by paginator. My current working links: sitemap-products.xml?p=3 . It's was generated by generic function (index). I did some work, and links look like sitemap-products-3.xml , but in urls.py, I don't know how to pass number of page in paginator, cuz the link gives me 404. Thats my sitemap.xml (index func)
...ANSWER
Answered 2021-Aug-10 at 11:39the answer is to override generic sitemap func, in that function add to parameters page, delete this column
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-sitemap
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page