On Thu, 8 Jan 2004 16:47:31 +0100 (MET)
"Stephanie Zohner" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Does anybody know how to show plain text files with cocoon?
>
> For example:
>
> <a href="logfile.log">Link to Logfile</a>
>
> Should open a new browser window with the plain text log file as its
> content. How can I do this with Cocoon.
>
> I tried to use the resource reader, like this:
>
> <map:match pattern="*.log">
> <map:read type="resource" src="{1}.log" mime-type="text/plain"/>
> </map:match>
>
try
<map:match pattern="*.log">
<map:read src="{1}.log" mime-type="text/plain"/>
</map:match>
--
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobikom-Kavkaz"
tel: (8632) 704188
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]