cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier GUCKERT <>
Subject Re: How can i define my pipeline to open .doc , .pdf
Date Wed, 18 Dec 2002 08:36:26 GMT

"Sreenivasan N." a écrit :
> Hi all
> I have got some word documents, pdf documents, excel documents which are
> there in doc, pdf, xls folders i would like to define a pipeline which can
> open the document in cocoon. Does <map:read> slove the problem? What mime
> type i should define for it example "application/msword "
> Thanks in advance
> Regards
> Sreenivasan.

just try :

<map:match pattern="ressources-*.doc">
	<map:read mime-type="application/msword" src="Ressources/{1}.doc"/>
<map:match pattern="ressources-*.xls">
	<map:read mime-type="application/"


Olivier Guckert

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message