From: "shams khan" <[EMAIL PROTECTED]>
To: "ht://Dig" <[EMAIL PROTECTED]>
Cc: "Gilles Detillieux" <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 9:34 AM
Subject: Re: [htdig] using conv_doc.pl to index MS Word documents


>
> Hi,
>
> I've tried doc2html.pl, but am also having problems indexing word
documents.
> I have the following line in the doc2html.pl script:
>
> #version of catdoc for Word6, Word7 & Word97 files:
> my $CATDOC = '/usr/local/bin';

$CATDOC should be the full path name of the catdoc executable, not the
directory containing it.

>
> And, I have the catdoc package installed (with the catdoc binaries in
> /isr/local/bin and /usr/local/lib)
>
> After changing the line in htdig.conf to use doc2html.pl, I get the
> following error messages rundig tries to index word documents:
>
> http://10.5.1.35/sme/micro/test.doc: !          UNABLE to convert  size =
> 11264
>
> any suggestions on what could be wrong ?
>
> Also, is there any benefit of using doc2html.pl over conv_doc.pl to index
> .pdf documents for htDig. ?
>
> I have been using conv_doc.pl and it has been giving me very satisfactory
> results, I did try doc2html.pl as well to see if there was any
difference...
> however with doc2html.pl I found that less pdf documents were indexed and
> all the excerpts on htDig search results were garbled.
>
> (e.g. 0000000016 00000 n 0000001025 00000 n 0000001337 00000 n 0000001543
> 00000 n 0000001750 00000 n 0000001789 00000 n 0000002255 00000 n
0000002455
> 00000 n 0000002643 00000 n 0000003042 00000 n 0000003064 00000 n 00000).
>
> Thanks for your help,
>
> Shams
>

The pdf2html.pl script that comes with doc2html uses pdfinfo to get the
document title, subject and keywords.   I don't think that conv_doc.pl does
as much.

If you are getting inferior results with doc2html.pl then your first step
should be to check over your installation of doc2html.pl and pfd2html.pl
very carefully.

--
David Adams
Information Systems Services
Southampton University




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
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