Skip to main content.
home | support | download

Back to List Archive

Re: swish-e 2.4.3 windows 2003 iis success!

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Wed Jun 22 2005 - 18:56:04 GMT
On Wed, 2005-06-22 at 11:45 -0400, Revillini, James wrote:
> I've located catdoc.exe, doc2txt.pm, and doc2html.pm.  When I use the PM
> files as the filter and run the indexer, it opens the pm files up in
> word pad!  I then tried passing them as parameters to perl; i.e.
> 
> FileFilter .doc "perl.exe
> e:/swish-e/lib/swish-e/perl/swish/filters/doc2html.pm"

Filefilter directives on Windows should look something like this:
  FileFilter .doc catdoc.exe '-s8859-1 -d8859-1 "%p"'

The lib/swish-e directory is the first place Swish-e looks for external
programs.

swish_filter.pl is a front end to SWISH::Filter that works with
FileFilter.

As Bill suggested, the best way is to use DirTree.pl with -S prog
method.  DirTree.pl also uses SWISH::Filter but it only has to load it
once instead of once per document.

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
Received on Wed Jun 22 11:56:06 2005