Introduction
Account Policies
Problem Solving
Instructor Help
General help by subject
Hypertext and the web
Remote access
Contact NWE Help
Main help page
NWE Help: Web Authoring: ASWE Filtering
NWE Home :: Help :: Web :: Authoring :: ASWE
Most asWe file selection dialog boxes have a filter function. The filter function allows you to sort the documents in your directory by type. Filters can be a useful way to look for a specific kind of file, be it a web document, an image, or a word processing document.
This is an aswe dialog box. Notice the filter window at
the top
- How filters work:
- Filters have two parts, the directory and the
pattern. The directory is the file-space that aswe is
searching. This is usually your home space. The other
part of the filter, the pattern, is what tells the filter what files
to show.
Consider this filter:
/home/nwe/jdoe/*
The red text is the directory, and the blue text is the pattern. This particular pattern (*) shows all files within the directory; the result is listed in the Files list on the right.Here are some more examples of filters, along with their function:
/home/nwe/jdoe/public_html/* All files in jdoe's public_html directory /home/nwe/jdoe/public_html/*.html All HTML files in jdoe's public_html directory /home/nwe/jdoe/public_html/*.bak All asWe backup files in jdoe's public_html directory Caveat:
The above seems straightforward, but it can become VERY confusing. For example, consider the following filter text:/home/nwe/jdoe
Because the last slash is missing, this filter is read differently by aswe. Below is a color-coded breakdown of our new example:/home/nwe/jdoe
Aswe will treat the jdoe section of this code as though it's a pattern, not a directory. Thus, it will look in the wrong directory, and will look for files called jdoe. In other words, be careful how you type your filters, especially if you don't use the ones supplied automatically when you open an aswe dialog window. - To use a filter:
- Use the left-hand window to navigate to the folder you want to view.
- Type in the pattern for the document you want to view.
- Press the filter button.
