cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <h...@fiz-chemie.de>
Subject Re: How to view plain text files in IE 6
Date Fri, 16 Jul 2004 15:58:21 GMT
Hello,

"Stephanie Zohner" <stephanie.zohner@gmx.at> writes:

> Hi,
> 
> I want to display plain text files (log files) with cocoon (on a WIndows XP
> platform).
> Since I need no transformations I decided not to use Chaperon, but (only)
> the resource reader. 
> 
> <map:match pattern="**/*.log">
>    <map:read type="resource" src="Z:/{1}/{2}.log" mime-type="text/txt"/>
> </map:match>
> 
> This, however, does not work in IE 6 (but in Mozilla 1.7). In IE 6 a new
> Editor (!!) window is opened and an Error Message pops up, saying:
> 
> "file C:\Documents and Settings\<user-name>\Local Settings\Temporary
> Internet Files\Content.IE5\<session id>\<myfile>[1].log can not be found.
> 
> Do you want to open a new file instead?  (Yes|No|Cancel)"



> In Mozilla no editor window is opened but the file is just loaded into the
> existing browser window and everything works fine. 

Did you try the mime-type text/plain instead of text/txt ? It might help.

Martin


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


Mime
View raw message