|
|
||||||||||||||||||
|
||||||||||||||||||
|
EXAMPLE 1 searches all content on all University
Outreach and Extension servers across Missouri |
|
EXAMPLE 2 searches only the information within http://outreach.missouri.edu/webteam/: |
These two examples are the same except for one parameter in the form properties that restricts the scope of the search. The restriction property is omitted in the first example and set to the URL for the directory in the second example.
To create a search form on your own page:
1. Click Insert --> Form --> One line text box
A dashed line will appear on your page, containing a keyword box and a Submit and Reset button. The dashed line indicates that this is a "Form" - a special section that collects information from the user. It's important not to move the form elements (text box and buttons) out of this dashed line.
Now you should have this on your page:
(The Reset button is not really necessary. You can click on it and hit your delete key to remove it.)
2. Right click in the form area and choose "Form Properties" from the pop-up menu.
In the Form Properties, click the radio button next to Send to Other.
Next, click on "Options" and in the Action filed, paste this URL: http://search.outreach.missouri.edu/cgi-bin/htsearch.exe
The Method field should have the value GET
Click OK.
3. Next, while you still have the Form Properties open, choose Advanced.
As shown in this example, you will need to add several hidden fields. Click add, then type the name and value into
1. name = config value = htdig
2. name = exclude value = (leave blank)
3. name = format value = builtin-long
4. name = method value = and5. This one depends on what you want to search.
IF you want to search ALL UO/E content, then
name = restrict value = (leave blank)
IF you want to search one directory, such as a newsletter archive, then the value is the complete URL to the directory.
name = restrict value = http://outreach.missouri.edu/county/newsletter/archive/
Now save your page and test your search form.
|
|
||||
![]() |
Kate Akers akersk@missouri.edu Last revised: 12/12/06 |
![]() |
||