[question] Creating/overwriting sitemap file
puz1ngg1 opened this issue · 2 comments
puz1ngg1 commented
I need to be able to create/overwrite sitemap file. On my backend there is a GET /sitemap.xml endpoint which gives back a sitemap file with already dynamically created urls and I just need to request and read/write that file with response, so that every time someone or crawlers try to read sitemap file, it sends a request for endpoint and shows the response with already existing urls/lastmods etc. Could you provide some piece of code or links how to resolve my issue?
derduher commented
No, but maybe someone else will come along and generously provide you with some sample code for your use-case.