Problem/Motivation
I'm trying to group the contents of the sitemap by type, so that e.g. all of the Blog content goes into a URL named e.g. blogs.xml, which is then listed inside the primary sitemap.xml.
I created a new "sitemap" called "Blogs", set one content type to use it, regenerated the sitemaps and now have a URL of sitemaps/blogs/sitemap.xml, which is not listed inside sitemap.xml.
Proposed resolution
Provide a way, or document a way, of grouping URLs into different sitemap containers.
Provide an option for all containers to be included in the primary sitemap.xml rather than only accessible from their own separate URLs.
Remaining tasks
Work out how to do this.
User interface changes
TBD
API changes
TBD
Data model changes
TBD
Comments
Comment #2
gbyteWhat you are asking is possible. Have you read the documentation?
Let me know if this helps.
On a side note, I know I mentioned it a few times to you, but it makes sense to create support requests if unsure if a bug or feature exists. Also when creating bug or feature tickets, it doesn't make sense to tag a stable version of the module. I can't go back and add a feature to a past release - we only work on the dev version.
Comment #3
damienmckennaThank you for the prompt response.
Part of the problem is terminology - "sitemap" vs "sitemap variant" vs "sitemap type", until you become familiar with what each term means in practical terms it's confusing to read the documentation. It's kind of like the "blocks" system in core - the same word is used for four or five different things, it's confusing until you gain more familiarity with the system.
After fiddling with some settings I was able to achieve what I wanted, thank you for the pointer.
I did work on some documentation to explain how to achieve the scenario I was after, along with a minor improvement to the SettingsForm. I think further changes could be done to make it the distinction more clear on what a "sitemap" means in any given scenario, again similar to the word "block" in core.
I'll open a separate issue about changing the URLs, as I think there might be a bug there.
And yes, I'll keep in mind that my requests have turned into support requests and will start there in future.
Again, thank you for your time, I appreciate you.
Comment #4
gbyteI'm closing this support request as fixed. If you don't mind, please create a new task issue with the documentation tag and create an MR instead of a patch. This massively helps reviewing and commiting.
Comment #5
gbyte