I follow the explaination by Basti on Youtube, how to create a XML feed only with Kirby tools, without plugins.
I need two different xml feeds. My content folder and file structure is:
content
|--- special
|---special-1
|---special-1-1 (folder)
|---special-1-2 (folder)
|---special.txt
|---special-2
|---special-2-1 (folder)
|---special-2-2 (folder)
|---special.txt
And:
site
|---templates
|---special.xml.php
The boundary conditions are:
- In the content folder structure is the file special.txt for the content.
- In the templates folder is the file for the XML structure.
My expectation is, that I have with this approach two different feeds, for the content in special-1 and special-2 with the corresponding URLs:
my-address.com/special/special-1/special.xml
And:
my-address.com/special/special-2/special.xml
But I get an error, the XML files are not available, only one with the single URL:
my-address.com/special.xml
My question is, how can I create different feeds with different URLs?
And yes, I can use different file names, but it should be a lean/simple solution.
Thank you