Stephanie Zohner wrote:

Hi,


I'm just trying to get a better understanding of the cocoon command line interface. The configuration is quite tricky but with the help of the mailing list I could run a simple example, at least.

However, my problem now is: How can I configure request parameters for one
of the URLS in the cli.xconf?
Can I hand request params over to a defined uri when I call the cocoon cli?

Thanks for your help,

Stephanie


The CLI can handle request parameters, but at present doesn't (I believe) do it very elegantly. You just put the URL you want to request in including the request parameters, e.g <uri src="/page.html?x=1&y=2"/>. It 'mangles' the URL into a filename, such as page.html_x_1_y_2. The mangling isn't very sophisticated, and could do with being much better, e.g. page.x_1_y_2.html. It wouldn't be too hard to do as the mangling code is quite well contained. Fancy having a go at producing a patch to fix it? I'll happily give you pointers.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to