According to KEVIN ZEMBOWER:
> I'm running into problems trying to use doc2html.pl to index .pdf files.
> If I run pdf2html.pl by itself, I seem to get normal output:
...
> But if I run doc2html.pl, I get:
> www:~ # /usr/local/scripts/doc2html.pl
> /usr/local/httpd/htdocs/centerpubs/download/pdf/abstracts.pdf
> 
> doc2html: [?] 
> !       UNABLE to convert
> www:~ # 
> (Output somewhat different, because I had DOC2HTML_LOG set)
> 
> Any ideas what I can do to track down this problem?

Yes, give doc2html.pl the arguments it requires.  It needs, at the very
least, a second argument which is the content-type, i.e. application/pdf.
Actually, htdig calls external parsers and converters with 4 arguments.
See http://www.htdig.org/attrs.html#external_parsers

-- 
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