Skip to main content.
home | support | download

Back to List Archive

Re: PPT & swish.cgi (trying again)

From: Bill Moseley <moseley(at)>
Date: Thu Jun 17 2004 - 23:53:13 GMT
On Thu, Jun 17, 2004 at 10:00:12AM -0700, wrote:
> So would the following work?
> (delete the DefaultContents line)
> IndexOnly HTML* .htm .html .cfm .doc .pdf .ppt
> NoContents .doc .pdf .ppt

No, not if using the  IndexOnly is when reading the file
system.  When using (i.e. -S prog) it's up to the program to
control what docs are passed to swish-e for indexing.

IIRC, NoContents will work with -S prog, but it's not really worth using
-- just filter the content down to nothing (or maybe just a newline may
be required) instead of sending the entire doc to swish just to be

BTW -- a lot of sites (easily found with google) give this example:

  IndexOnly .html
  NoContents .jpg .mov .gif

which won't work since swish-e only looks at .html files.  That is,
swish-e checks IndexOnly before looking at NoContents.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Thu Jun 17 23:53:14 2004