Adding FrontPage-Based Web Searches


The ability to search a corporate Web site s contents by entering terms in a search form is one of the features most highly desired by Web surfers. Many visitors immediately turn to a search form to find something, rather than clicking on links.

Normally, making a site searchable requires programming. FrontPage enables you to make your site searchable by inserting a Web component that indexes your site s contents, and then searches the contents in response to search queries. First, you create a simple form for searching the current FrontPage Web:

  1. Open the Web you want to make searchable.

  2. Position the cursor at the spot where you want to insert the search form.

  3. Click the Web Component button.

  4. Click Web Search in the Component Type list.

  5. Click Current Web, and click Finish.

Aha!  

You Can Create a More Elaborate Search Form, Too
The Web Search component adds a search form to a FrontPage-based Web. If you are working on a SharePoint Web, the Full Text Search Web component becomes active in the Web Component dialog box. In either case, the form you add consists of one simple text box. You can create a more elaborate type of search form by choosing the FrontPage Search Page Template: choose Page Or Web from the New submenu of the File menu, click Page Templates in the Task Pane, and double-click Search Page.

When the Search Form Properties dialog box appears, you configure the Search Form and the results the user will receive:

  1. Type a text label that will appear next to the search form.

  2. Specify the width of the search form.

  3. Type a label for the button users click to start the search.

  4. Type a label for the button users click to clear the search box.

  5. Click the Search Results tab.

  6. Choose date and time formats for the search results the user will see after using the search form.

  7. Select the Display Score checkbox, if you want the results to be ranked with scores.

  8. Select the Display File Date and Display File Size checkboxes, if you want the results to display the file date and size . Click OK when you re finished to add the search form (see Figure 13-5).

    click to expand
    Figure 13-5: FrontPage makes it easy to configure the properties and search result options for this simple-looking search form.

Note  

It s a good idea to provide your visitors with some information about file size and creation dates of the files presented in your search results. Such data helps the user know how current the document is, and how much information the file contains.




Faster Smarter Microsoft Office FrontPage 2003
Faster Smarter Microsoft Office FrontPage 2003
ISBN: 0735619727
EAN: 2147483647
Year: 2004
Pages: 179

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net