PDA

View Full Version : For dummies: How can i index word doc??


dapuse
01-27-2004, 05:56 AM
Hello!

I have installed phpdig on my localhost for testing.

No I want to activate the word doc feature and I don`t understand what i have to do to index doc files.

I know that I must modificate the config.php but I donĀ“t understand what i do with this line:

define('PHPDIG_PARSE_MSWORD','/usr/local/bin/catdoc');

Is this the only thing I have to do or must I install something to make it posible to search word docs?

Can somebody help me please??

best regards,
dapuse

Charter
01-27-2004, 08:45 AM
Hi. You need to have a compiled catdoc file available and then use the full path to the file in the PHPDIG_PARSE_MSWORD constant.

dapuse
01-27-2004, 09:45 AM
Hello,

thx for your reply.

What is a compiled catdoc file and where can i find it?

thx,
dapuse

Charter
01-27-2004, 02:09 PM
Hi. Please see section 3.3 here (http://www.phpdig.net/navigation.php?action=doc#toc3). Once you download the source, it will need to be compiled.