Re: SWISH-E 2.4.4 filters can not locate files

Bill Moseley <[email protected]> Wed, 18 Oct 2006 09:10:56 -0700 (PDT)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
On Wed, Oct 18, 2006 at 07:59:55AM -0700, David Brown wrote:
> Does this mean that with 2.4.4, paths with spaces and multiple command line
> parameters are not an option?> 
> Here's what I'm using now, with swish-e 2.4.3:
> 
> 	FileFilter .pdf  "pdftohtml" " -i -q -stdout \"%p\""

What I'm proposing is you would write:

    FileFilter .pdf pdftohtml -i -q -stdout %p

and if you needed to have spaces you would just use double quotes:

    FileFilter .foo some_program -t "This is text with spaces"


Maybe we can now discuss how using .pdf instead of mime types is lame,
too.

> It looks like you would want us to write a Perl wrapper for pdftohtml. Is
> that the practice you're going toward?

Hopefully not.  Not great performance to have to compile a perl
program over and over while indexing.


-- 
Bill Moseley
[email protected]

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   [email protected]