[Zope] Re: display Word doc in browser
Phillip Hutchings
sitharus at gmail.com
Wed Mar 2 16:30:50 EST 2005
On Wed, 02 Mar 2005 23:27:48 +0100, Josef Meile <jmeile at hotmail.com> wrote:
> > This sounds like either a client problem or a lot of work ;-)
> >
> > If it's a client problem, you need to get the users to tweak their
> > browsers such that word docs are opened in the browser window rather
> > than being downloaded.
> >
> > If you want a lot of work, then you need some serverside way of redering
> > the word document to html so you can display it.
> >
> > I'd go for the former of the two ;-)
> Wouldn't be possible to modify the html header? Once I saw a similar
> post and they talk about this. There is a way of forcing the browser
> trying to open the file first, but unfortunately I don't have the
> thread any more.
You mean the HTTP header ;)
You need to send Content-Disposition: inline
but it's still a decision made by the browser.
--
Phillip Hutchings
http://www.sitharus.com/
sitharus at gmail.com / sitharus at sitharus.com
More information about the Zope
mailing list