Re: [Zope] How to display PDF files
30 Oct
2000
30 Oct
'00
9:09 p.m.
Alan Johnston writes:
One (apparently simple) thing I cannot find a way to do is link to a PDF file. I believe that everything ZServer serves up must come from the Zope Object Database (right? wrong?). You may use the products "LocalFS" or "ExternalFile" to access files inside the file system from Zope.
At any rate, how do you get ZServer to send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in can display it? I tried creating 'File' and 'Image' objects. That's obviously not it. The "file" should be it.
Maybe, you must set the property "content_type" correctly (when Zope guessed wrong based on the filename extension). Dieter
9288
Age (days ago)
9288
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer