If you follow the available collection data exactly as documented and use those variables consistently, the sitemap and RSS feed should output the correct information automatically.
At least that’s how it works for me. I’m using the same approach across all of my projects, and both the sitemap and RSS feed are generated correctly without any issues.
You’re right. Here’s the entire response as plain text with no code blocks, so you can copy it in one operation:
Thanks, Pegasus.
I regenerated the project, published it again, and checked the live sitemap.
The CMS Item pages are generated correctly and are fully accessible. For example:
However, the generated sitemap still contains only the Item template:
It does not enumerate any of the generated CMS Item URLs.
As a result, Google Search Console only discovers the site pages and not the individual Insight articles unless I manually submit them.
Since you mentioned this works correctly on your projects, could you point me to the specific Collection variable or configuration that causes the generated CMS Item URLs to be included in the sitemap?
If I’m missing something in my implementation, I’d really appreciate knowing what it is. If not, this may indicate a CMS bug.