Skip to main content.
home | support | download

Back to List Archive

Re: Indexing pdf files

From: <moseley(at)not-real.hank.org>
Date: Fri Jul 25 2003 - 14:13:01 GMT
On Fri, Jul 25, 2003 at 06:35:42AM -0700, Klingensmith, Rick wrote:
> 
> I'm having a problem getting filters to index .pdf files in a Windows 2000 /
> XP Pro environment.

> #FileFilter .pdf c:/SWISH-E/filter-bin/_pdf2html.pl "'%p' -"
> 
> FileFilter .pdf c:/SWISH-E/filter-bin/_pdf2html.pl
> 
> FileFilter .pdf c:/SWISH-E/filter-bin/pdftotext.exe "'%p'"

I think you only want to use one.

See the section titled: 

  Notes when using MS Windows 

at http://swish-e.org/current/docs/SWISH-CONFIG.html#Filtering_with_the_FileFilter_feature

Windows doesn't use single quotes, I think.  Also pdftotext needs an 
output file.  Use a dash to indicate stdout.

Something like:

  FileFilter .pdf c:/SWISH-E/filter-bin/pdftotext.exe '"%p" -'


-- 
Bill Moseley
moseley@hank.org
Received on Fri Jul 25 14:13:19 2003