On 7-5-2016 15:10, Christopher Schultz wrote:
On 5/7/16 7:38 AM, warrell harries wrote:
cocoon:// is understood as standard
Awesome. I was hoping it would be something simple like that.
You can use something like

<map:generate src="cocoon://{normalize-path:{request:sitemapURIPrefix}../somewhere/else}/whatever.xml"/>

The RequestModule is standard, and the NormalizePathInputModule comes from this project <https://github.com/nverwer/cocooncomponents>.
Doing this will make you project "relocatable" relative to the sitemap root.
This works in Cocoon 2.1, which for me is still preferable over 2.2 or 3.

It is good to see that people are still using Cocoon (2.1)!

Best regards,
Nico

Reply via email to