You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Maria Grigorieva <ma...@hotmail.com> on 2009/08/27 14:31:46 UTC
view *.doc file in browser window
hello!
I need to view text document in browser. Not to download the file.
Now I have just reader:
<map:match pattern="**/*/article.doc">
<map:read mime-type="application/text" src="publish/{2}/article.doc"/>
</map:match>
--
View this message in context: http://www.nabble.com/view-*.doc-file-in-browser-window-tp25167553p25167553.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: view *.doc file in browser window
Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Maria,
I think it is not a cocoon task. I mean, cocon can only send the file.
How the browser handle the file depends on browser configuration for a
given mime type.
Hint: Try to find a better mime type for a word document to allow the
browser to handle it the file as you expect.
Best Regards,
Antonio Gallardo.
El 27/08/09 06:31, Maria Grigorieva escribió:
> hello!
> I need to view text document in browser. Not to download the file.
>
> Now I have just reader:
>
> <map:match pattern="**/*/article.doc">
> <map:read mime-type="application/text" src="publish/{2}/article.doc"/>
> </map:match>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org