On 09.11.2004 12:13, Norman Barker wrote:

when using the zip archiver in cocoon I want to use

<zip:entry name="image.jpeg" src="cocoon://imagereader"/>

where the cocoon://imagereader is map:reader
my question is how do I set the mimetype on the call to
cocoon://imagereader

Do you need the mimetype here? And what has it to do with the way of calling the pipeline? Isn't the mimetype specified in the pipeline?


and how do I pass in parameters
to cocoon://imagereader (such as width and height) when
using zip:entry?

How do you pass them in your normal use case? Using request params? In the sitemap you should abstract from request params and offer the possibility of passing the params in different ways.


I am trying to avoid serializing the images to disk first, and
just stream them into the zip file.

That's a worthwile goal!

Joerg

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



Reply via email to