cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [2.1] cinclude using a pipeline as a generator source
Date Tue, 10 May 2016 14:31:03 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nico,

On 5/10/16 4:35 AM, Nico Verwer wrote:
> 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/e
lse}/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)!

Thanks. And yes, I too prefer 2.1 over the later versions. We spent so
much time trying to figure out how 2.1 worked with little usable
documentation that upgrading seemed like it wouldn't be worth it. It's
been a looong time since I checked-out the documentation for the later
versions. Maybe things have gotten better.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlcx8KcACgkQ9CaO5/Lv0PBVcACfam2SJPROJUgkKth36JXCmo0h
Up0AnAuwS5AKl0wFYzAMpw+/JeIOVqtl
=5MYS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message