cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephanie Zohner" <stephanie.zoh...@gmx.at>
Subject Showing plain text files with cocoon
Date Thu, 08 Jan 2004 15:47:31 GMT
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>

But this does not work.
The editor is opened, but then an error message pops up, saying that the
file can not be found.
The Editor seems to search for the file under "Temporary Internet
Files/Content.IE5"

I'm using Cocoon 2.1.2 with Internet Explorer 6.0.

Can anybody help?

Thanks, Stephanie

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



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


Mime
View raw message