cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewing, Bryce" <Bryce.Ew...@HalifaxCetelem.COM>
Subject Command Reader
Date Wed, 22 May 2002 15:55:23 GMT
Hi all,

Just wondering if there is a way of having a reader getting it's input from
a system command rather than from a file.

So I have:
   <map:match pattern="**.gif">
    <map:read mime-type="image/gif" src="images/{1}.gif"/>
   </map:match>
But would rather something like:
   <map:match pattern="**.gif">
    <map:read mime-type="image/gif" src="createImage {1}"/>
   </map:match>

Where create image is a script on the unix server I am running on.

Cheers
Bryce

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message