View Single Post
Old 12-10-2004, 02:58 AM   #7
xperienss
Green Mole
 
Join Date: Dec 2004
Location: Geneva Switzerland
Posts: 8
here is where i stand for now:

pdf files are indexing but no way for word or xls.


For those waiting for an answer :
My config is WinXP SP2, EasyPHP 1.7 (PHP 4.3.3)
EasyPHP is installed in 'd:\serveur'
Phpdig is installed in 'd:\serveur\www\moteur'

My config file for phpdig
PHP Code:
//---------EXTERNAL TOOLS SETUP
// if set to true is_executable used - set to '0' if is_executable is undefined
define('USE_IS_EXECUTABLE_COMMAND','1'); //use is_executable for external binaries

// if set to true, full path to external binary required
define('PHPDIG_INDEX_MSWORD',true);
define('PHPDIG_PARSE_MSWORD','d:\\serveur\\www\\moteur\\catdoc\\catdoc.exe');
define('PHPDIG_OPTION_MSWORD','');

define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','d:\\serveur\\www\\moteur\\xpdf\\pdftotext.exe');
define('PHPDIG_OPTION_PDF','');

define('PHPDIG_INDEX_MSEXCEL',true);
define('PHPDIG_PARSE_MSEXCEL','d:\\serveur\\www\\moteur\\catdoc\\xls2csv.exe');
define('PHPDIG_OPTION_MSEXCEL','');

//---------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','.txt');
define('PHPDIG_PDF_EXTENSION','.txt');
define('PHPDIG_MSEXCEL_EXTENSION','.txt');
define('PHPDIG_MSPOWERPOINT_EXTENSION',''); 
for pdf reading :
i am using Xpdf/pdftotext availaible here : ftp://ftp.foolabs.com/pub/xpdf/ -- (http://www.foolabs.com/xpdf/download.html)
get 'xpdf-3.00-win32.zip' 1,08Mb
Warning : It cannot index pdf file which are password protected !
AND : shut down ALL firewall on your machine before indexing.

as soon as i ve got the answer for doc and xls file, i ll post the answer.

hope that this will help

Xperienss

Last edited by xperienss; 12-10-2004 at 03:32 AM.
xperienss is offline   Reply With Quote