Sun Java System Portal Server 7.1 Technical Reference

Filters

    Under the Filters tab, there is a Manage Filters page, which lists all the defined Filter Rules, Status of each Filter Rule, Default value for New Site, and Used in Sites. Each Filter Rule is preceded by a checkbox. To delete a Filter Rule, you need to select the corresponding checkbox and click the Delete button. To create a new filter:

  1. Click the New button.

    The New Robot Filter Wizard appears. As a first step, the Specify Filter Name and Description page is displayed.

  2. Enter the filter name in the Filter Name text box.

  3. Enter the description for the filter in the Filter Description text box.

  4. Click the Next button.

    The Specify Filter Definition and Behavior page appears. This page provides the Filter Definition — Matching Rules section. The table below lists the attributes and their description provided in the Filter Definition and Behavior section.

  5. Click the Finish button.

Table 4–5 Filter Definition and Behavior Attributes

Attribute 

Default Value 

Description 

Filter Source 

URL 

Choose an option from the list box to specify the source of the filter. The available values are: URL, protocol, host, path, and MIME type. 

Filter By 

is 

Choose an option from the list box to specify the how you want to filter the source. The available values are: is, contains, begins with, ends with, and regular expression. 

Filter String 

Blank 

You can enter the string to define the filter. 

Filter Default 

Selected 

Assign this filer to new sites when they are created. 

Filter Behavior 

Exclude documents that match this filter when Robot runs 

The default option excludes documents that match this filter when robot runs. The other unselected option includes documents that match this filter when Robot runs. 

Click on the Filter Rule to navigate to the Edit a Filter page. The table below lists the attributes and their description in the Edit a Filter page. The default value for these attributes are same as provided in the previous table.

Table 4–6 Edit a Filter Attributes

Attribute 

Description 

Filter Name 

A descriptive name that reflects the type of file the filter applies to. 

Drop down list of Filter Sources 

URL, protocol, host, path, MIME type 

Drop down list of positions 

is, contains, begins with, ends with, regular expression 

Text box for type (directory, protocol, file extensions) specifics 

In this text box, list what you want to match. What would match in this example - http://docs.sesta.com/manual.html

protocol is http; host contains sesta; file ends with html. 

Filter Description 

Describe the filter rule for yourself. The robot does not use it. 

Filter Default 

Use this as one of the default filters when creating new sites. If you do not check this, you can still add this filter to a new site by editing the site on the Robot, Sites page. 

Filter Behavior 

This attribute provides two options: Exclude documents that match this filter when Robot runs. 

Include documents that match this filter when Robot runs. 

By default, the first option is selected.