[Zope] Re: Read a file

Josef Meile jmeile at hotmail.com
Mon Mar 7 08:29:22 EST 2005


Hi John,

> <span tal:replace="structure
> python:context.txtfileid"/>
> Along with the file contents it also shows lots of
> garbage  becaue the file is a doc file.Also the
> formatting gets lost :(
You could try to convert your ".doc" file to html,
then publish it with zope. There is a nice utility
that does this:

http://wvware.sourceforge.net                   -> linux
http://gnuwin32.sourceforge.net/packages/wv.htm -> Windows

You may have to use an external method to do this.

Regards,
Josef


More information about the Zope mailing list