View Single Post
Old 03-29-2004, 07:33 PM   #1
brew
Green Mole
 
Join Date: Mar 2004
Posts: 2
Thumbs up xls2csv doesnt like me!

heyas - great little engine guys , installed her in minutes and after some tinkering i have both pdf and doc files getting indexed!

but for the life of me i cant get xls files to work. im using linux (suse9) and checked the file permissions on the relevant dirs ...

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

define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','/usr/bin/pdftotext');
define('PHPDIG_OPTION_PDF','');
define('PHPDIG_PDF_EXTENSION','.txt');

define('PHPDIG_INDEX_MSEXCEL',true);
define('PHPDIG_PARSE_MSEXCEL','/usr/local/bin/xls2csv');
define('PHPDIG_OPTION_MSEXCEL','');
define('PHPDIG_MSEXCEL_EXTENSION','');

and i have managed to get results out of the cmd for xls2csv:

/usr/local/bin/xls2csv test.xls

"About",,"Choose",,"Study",,"International",,,"Business",,"Alumni",,"Jobs", ,"Contact"

so i know its physically working on the server. anyone offer any help? would be great to get xls files as well as pdf/doc ones.
brew is offline   Reply With Quote