strategy for viewing pdf files in lynx

Monty Lilburn monty at bc.cx
Wed Aug 7 13:13:33 EDT 2002


Hi list,

I am hoping someone can either point me in the right direction, or tell me
if I am over-complicating things!

I am  wanting to be able to read a ".pdf" document in lynx without having
to save the pdf file or parse it through an external convertor.

http://access.adobe.com has a perl/cgi script which you can pass a url to
and it will convert the pdf document to html on the fly.  For those
interested, the url is:

http://access.adobe.com/perl/convertPDF.pl?url=subdomain.domain/file.pdf

My idea was to set up an entry in my .mailcap file which could process
the "application/pdf" mime-type and load the url via a another lynx
command like:

application/pdf; lynx http://access.adobe.com/perl/convertPDF.pl?url=%s

Of course the above entry is broken because the "%s" mailcap variable
translates to a local temperary file created by lynx and not the
remote url/FileName.


Does anyone have any suggestions on how to get this to work, possible
alternatives, or maybe a way to do this within the lynx.cfg file?

thanks
  Monty
-- 

  --------------------------------------------------------------

                         SUBMERGED IN THE 6o4 AREA CODE

A proud user of the LINUX Operating System!
----------------------------------------------------------------------





More information about the Speakup mailing list