According to David Herder:
> Below is my htdig.conf file and I have included the external_parsers but am
> still getting the message:
> PDF::parse: cannot find pdf parser /usr/local/bin/acroread
> when running the rundig script.
> 
> 
> 
> #begin of htdig.conf 
> 
> 
> external_parsers: application/msword->text/html
> /usr/local/scripts/doc2html.pl \
>                   application/postscript->text/html
> /usr/local/scripts/doc2html.pl \
>                   application/pdf->text/html /usr/local/scripts/doc2html.pl

I can't tell if these lines got folded by your mail program, or whether
they're that way in your htdig.conf.  If they are that way, that's wrong.
Any time you want to continue a definition on another line, you have to
end the previous line with a backslash.  Also, make sure there are no
spaces after the backslash.  You could also try putting the pdf definition
as the first entry in external_parsers and see if that makes a difference,
or put the whole thing on one long line.

Make sure too that whatever you use to edit the file is storing it as a
proper UNIX text file, i.e. with a single newline (LF) character at the
end of each line.  CR/LF line terminators are OK for htdig too, but some
programs or non-Unix OSes will use something else like just a CR or a RS
control character, which won't do.

Finally, which version of htdig are you running?
See http://www.htdig.org/FAQ.html#q5.33
There was a problem with external_parsers handling before 3.1.6, if the
server appended a "; charset=..." to the Content-Type header.

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


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to