I've written a Plone product specifically for this purpose. It is
called collective.pdfpeek.
Have you looked at the collective.pdfpeek product?
http://pypi.python.org/pypi/collective.pdfpeekPdfpeek uses ghostscript installed on the server to generate image
previews of each page of a pdf file that is uploaded to ATFile
objects. These images are stored in annotations on the file object
itself. The javascript in the user interface needs a bit of work, but
the back-end is solid. Pdfpeek operates completely independently of
the portal transforms framework and is actively being developed; a
Plone 4 version is in the works. I encourage you to check it out and
determine if it suits your use case. Any feedback is much appreciated!
Cheers,
David
David Brenneman
Open Source Software Development
[hidden email]
http://davidbrenneman.comOn Oct 23, 2009, at 11:47 PM, Dieter Maurer wrote:
> Mayank Mathur wrote at 2009-10-23 13:53 +0530:
>> ...
>> I'm trying to solve issue of viewing an uploaded PDF file inside
>> Plone
>> container itself.
>
> We might be better able to help when you describe your "issue" in
> (much)
> more detail.
>
>> I've already asked this question and sol. i recv'd was that ,
>> viewing an
>> uploaded PDF docm, depends upon client-side settings and not on
>> plone-side.
>
> Plone could try to transform the PDF to HTML. As you can see with
> Google,
> the result may be quite unsatisfying.
>
> Plone never presents content
> directly to the user but always delivers it to an HTTP client which
> then
> is responsible for the presentation. The typical HTTP clients can
> present HTML content themselves but use plugins or external
> applications
> for the presentation of many other content types (such as
> "application/pdf").
> Typically, the client can be configured how to handle specific
> content types: e.g. "show "application/pdf" by launching 'acrobat
> reader'"
> versus "always store it to disk". The server has limited ways to
> suggest storing versus displaying with the "Content-Disposition"
> response
> header.
>
>
> Thus, the only things, you can expect from Plone:
>
> * it sends the correct "Content-Type" ("application/pdf" for PDF
> documents)
>
> * it sends the "Content-Disposition" header you want ("inline", if
> you want it to be presented rather than stored to disk)
>
> Other things must happen at the client side.
>
>
>
> --
> Dieter
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart
> your
> developing skills, take BlackBerry mobile applications to market and
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>
http://p.sf.net/sfu/devconference> _______________________________________________
> Plone-Users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/plone-users------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users