Let me make something sure. 
First I downloaded doc2html-3.0.tar.gz for htdig.org
Second I used untar to untar this file.
Then I got one directory named doc2html which included
swf2html.pl,README,pdf2html.pl,doc2html.pl,doc2html.pl,doc2html.cfg,DETAILS

NOW my question is if I don't want to use utilites. Do
I need install them? 
If I need to install them, how can I install, use
which command, I can't find any install or setup in
this directory.
Now I didn't install it.Just untar it.
Changed 
#### YOU MUST SET THESE  ####
my $PDFTOTEXT = "/usr/bin/pdftotext";
my $PDFINFO = "/usr/bin/pdfinfo";
in pdf2html.pl.
Changed
# PDF to HTML conversion script
# Full pathname of Perl script pdf2html.pl
my $PDF2HTML =
'/usr/htdig-3.1.5/doc2html/pdf2html.pl';
And add 
external_parsers:       application/rtf->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
text/rtf->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/pdf->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/postscript->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/msword->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/wordperfect5.1->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/msexcel->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/vnd.ms-excel->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/vnd.ms-powerpoint->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl
application/x-shockwave-flash->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl \
application/x-shockwave-flash2-preview->text/html
/opt/local/htdig-3.1.5/scripts/doc2html.pl
in /opt/www/htdig/conf/htdig.conf

When run /.../doc2html.pl /.../file.pdf
application/pdf,everything seems ok.
But when use rundig, it said UNABLE to convert.
I don't know what's wrong...

Hope you can help
Adele

--- David Adams <[EMAIL PROTECTED]> wrote:
> You initially wrote "I have downloaded doc2html.pl
> ...".
> 
> Your second email suggests that you have not
> installed it.
> How then do you expect to use it?  Read the DETAILS
> file
> for instructions and act on them.
> 
> --
> David Adams
> Computing Services
> Southampton University
> 
> 
> ----- Original Message -----
> From: "adele zhou" <[EMAIL PROTECTED]>
> To: "David Adams" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Monday, July 02, 2001 1:14 PM
> Subject: Re: [htdig] unable to parse pdf..
> 
> 
> > The it is ptdig not doc2html...
> > I don't understand "set up pdf2html.pl and
> doc2html.pl
> > correctly". Just set up something in htdig.conf or
> > should install pdf2html.pl and doc2html.pl first..
> > One more thing, does pdf2html included in
> doc2html.pl?
> > Thank for advance
> > Adele
> > --- David Adams <[EMAIL PROTECTED]> wrote:
> > > You write "it still said unable to parse pdf".
> > > What is the "it", is it
> > > htdig or doc2html?
> > > Could you give us the exact message?
> > >
> > > Try running doc2html.pl from the command line
> like
> > > so:
> > >
> > >     /fullpathname/doc2html.pl
> /fullpathname/file.pdf
> > > application/pdf
> > >
> > > If that works then the error is in your htdig
> > > configuration file.  It it
> > > doesn't, then check that you have
> > > set up pdf2html.pl and doc2html.pl correctly.
> > >
> > > --
> > > David Adams
> > > Computing Services
> > > Southampton University
> > >
> > >
> > > ----- Original Message -----
> > > From: "adele zhou" <[EMAIL PROTECTED]>
> > > To: "Geoff Hutchison"
> <[EMAIL PROTECTED]>;
> > > <[EMAIL PROTECTED]>
> > > Sent: Sunday, July 01, 2001 7:03 PM
> > > Subject: [htdig] unable to parse pdf..
> > >
> > >
> > > > I have downloaded doc2html.pl and added some
> > > > additional command in htdig.conf. But when I
> tried
> > > to
> > > > dig some webside which contains pdf file, it
> still
> > > > said unable to parse pdf...
> > > >
> > > > Adele
> > > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> 

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

_______________________________________________
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