View Single Post
Old 04-01-2004, 10:58 PM   #1
Kylord
Green Mole
 
Join Date: Mar 2004
Posts: 2
no indexing with catdoc and xls2csv

hello,

well I have a problem with catdoc and xls2csv (on linux system) :
I have set correctly the path, and change all variables in config.php like this :

define('PHPDIG_INDEX_MSWORD',true);
define('PHPDIG_PARSE_MSWORD','/usr/local/httpd/cgi-bin/catdoc');
define('PHPDIG_OPTION_MSWORD','-s 8859-1');

define('PHPDIG_INDEX_MSEXCEL',true);
define('PHPDIG_PARSE_MSEXCEL','/usr/local/httpd/cgi-bin/xls2csv');
define('PHPDIG_OPTION_MSEXCEL','');

but phpdig doesn't index these files.
it's strange because with pdf (with pdftotext) , I have no problem

I wonder if it is because catdoc and xls2csv return on STDOUT
whereas pdftotext writes in a file .txt.

the path of catdoc and xls2csv are symbolic links but I don't think it's a problem. By the way, when I execute catdoc on line command, it works normally.

What can I do to solve this problem ?
Kylord is offline   Reply With Quote