You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is motivation or use case for adding/changing the behaviour?
Having an option to have the plugin generate dynamically a sitemap.xml file containing all files / all files matching some criteria.
Describe the solution you'd like
I don't really have any syntax idea.
Describe alternatives you've considered
Just doing it manually, it's okay as long as there aren't too many pages.
The text was updated successfully, but these errors were encountered:
The plugin is ready to write own plugin or callback to generate a tree of the used resources.
you can use the verbose: true options to display all processed resources in terminal output
you can use the afterEmit callback or hook where you have full list of all resources used in all entrypoints.
you can see how you can write own plugin for the plugin using the afterEmit hook or afterEmit callback. In this example is a simple implementation of a manifest. Easily you can adapt it to generate a sitemap.xml.
Тo be honest, the last time I generated a sitemap.xml was more than 15 years ago ;-)
Who use it today?
webdiscus
changed the title
[ENHANCEMENT]: Add option to dinamically generate a sitemap.xml
[FEATURE REQUEST]: Add option to dynamically generate a sitemap.xml
Apr 23, 2024
I mean I would answer myself, but more seriously, it is still somewhat relevant for search engines, and cand speed up indexation quite a bit when it's used, at least from what I noticed. I'll see what I can do with that and maybe reply here, or even open a pr. Thanks for the info!
The only thing that is not contained in the list are static resources that have not been processed and links to pages.
But it can by crawled and tricky cached using the sources option.
Feature request
What is motivation or use case for adding/changing the behaviour?
Having an option to have the plugin generate dynamically a sitemap.xml file containing all files / all files matching some criteria.
Describe the solution you'd like
I don't really have any syntax idea.
Describe alternatives you've considered
Just doing it manually, it's okay as long as there aren't too many pages.
The text was updated successfully, but these errors were encountered: