According to Marcus Valentine:
> At 17:06 12/06/01 +0100, you (David Adams) wrote:
> >It seems that doc2html.pl is not calling pdf2html.pl, instead it is reading
> >the .PDF file itself, as though it were plain text.
> >
> >Be sure to include the correct MIME type when calling doc2html.pl from the
> >command line, this is most important.
> 
> Please could you indulge me and explain how to do this?

See http://www.htdig.org/attrs.html#external_parsers for details.

The arguments to external parser or converter scripts are:

  command-name input-file content-type document-URL config-file

E.g.:

  doc2html.pl mydoc.pdf application/pdf http://myhost.uk/mydoc.pdf htdig.conf

I think the last argument is pretty much always ignored in existing
parser/converter scripts.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to