Skip to main content.
home | support | download

Back to List Archive

Re: [SWISH-E:26] Frame indexing

From: Ron Klatchko <ron(at)not-real.ckm.ucsf.edu>
Date: Wed Oct 08 1997 - 18:17:55 GMT
Daniel Balocca wrote:
> When swish encounters a frame page, ie. part of a frame set, swish
> indexes that page which results in a search link to frame parts.  Does
> anyone have a solution to prevent this kind of indexing?

You can use the configuration setting FileRules.  This allows you to
exclude files based on different criteria.

>From the documentation:

Using FileRules

You can specify certain file directives in the configuration file - any
files or directories matching these criteria will be ignored and will
not be indexed. Append all of these operations with the FileRules
directive: 

* pathname contains string1 string2 string3 ... 

Any path names containing exactly these strings, whether they be paths
to directories or paths to files, will be ignored. Using this you can
avoid indexing temporary directories or private material. 

* filename is filename 

Any file name exactly matching the specified file name will be ignored
(this is case-sensitive). This cannot be a path. 

* filename contains string1 string2 string3 ... 

Any file name containing these strings will be ignored (this is not
case-sensitive). This cannot be a path.  

* title contains string1 string2 string3 ... 

Any HTML file with a title that contains these strings will be ignored
(this is case-insensitive). 

* directory contains string1 string2 string3 ... 

Any directory that contains any of these specified file names will be
ignored (this is case-insensitive). 

moo
----------------------------------------------------------------------
              Ron Klatchko - Senior Software Engineer
         UCSF Library and Center for Knowledge Management
                      ron@ckm.ucsf.edu
Received on Wed Oct 8 11:24:15 1997