cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: pdf
Date Wed, 07 Nov 2001 19:06:21 GMT
Luda Balakireva wrote:
> What entry should be in sitemap to display existing pdf files (not generated
> by cocoon). I tried put some map:read  but it
> displaing pdf as  text.
>                      Luda

Make sure you specify the mime-type like this:

<map:read src="context://{1}.pdf" mime-type="application/pdf"/>


"Those who would trade liberty for
 temporary security deserve neither"
                - Benjamin Franklin

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