PDA

View Full Version : Extending the external binaries


Bege
04-23-2004, 03:58 PM
Has anyone indexed any other documents other then ..xls, .pdf, and .doc? I want to index .chm files. I know there are external binaries that will parse these files, but it is not setup in the config.php to handle these files. Is all that you have to do to include this extension is add a section in the config.php?

I haven't tried this but would it look something like the code below?

define('PHPDIG_INDEX_CHM',false);
define('PHPDIG_PARSE_CHM','/usr/local/bin/chm2txt');
define('PHPDIG_OPTION_CHM','');

Thanks,
Bege

Charter
04-26-2004, 07:46 AM
http://www.phpdig.net/showthread.php?threadid=398 ;)