View Single Post
Old 08-20-2004, 09:02 AM   #1
wessam
Orange Mole
 
Join Date: Jul 2004
Posts: 30
Index MSWORD But No search result

Hi All
I'm try indexing MSWORD Files but when im try search the content of this file i got nothing
my config file look like :
define('PHPDIG_INDEX_MSWORD',true);
define('PHPDIG_PARSE_MSWORD','c:\appserv\www\catdoc\catdoc');
define('PHPDIG_OPTION_MSWORD','');

define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','/usr/local/bin/pstotext');
define('PHPDIG_OPTION_PDF','-cork');

define('PHPDIG_INDEX_MSEXCEL',true);
define('PHPDIG_PARSE_MSEXCEL','c:\appserv\www\catdoc\xls2csv');
define('PHPDIG_OPTION_MSEXCEL','-s 8859-1');



//---------EXTERNAL TOOLS EXTENSIONS
// if external binary is not STDOUT or different extension is needed
// for example, use '.txt' if external binary writes to filename.txt
define('PHPDIG_MSWORD_EXTENSION','');
define('PHPDIG_PDF_EXTENSION','');
define('PHPDIG_MSEXCEL_EXTENSION','');
define('PHPDIG_MSPOWERPOINT_EXTENSION','');

and i add this line of code to robot_functions.php:
$command = PHPDIG_PARSE_MSWORD.' '.PHPDIG_OPTION_MSWORD.' '.$tempfile2.' 2>&1';


when im try catdoc in command line its work and got my MSWORD
c:\Appserv\www\catdoc\catdoc w.doc

im try check this Information
but still can't search my word

document files
please any help
wessam is offline   Reply With Quote