<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 :( --- Puttaraju <praju@zeomega.com> wrote:
Try this
<span tal:replace="structure python:context.txtfileid"/>
john blair wrote:
Hi I have files stored in zope.I want before user download that file a preview of the file to be shown.So what I was thinking of is read the contents of the file and store it in another file with content-tye text/html.The problem is I dont know how to read the file stored in zodb.Any help?
__________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
__________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/