cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
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. <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