kinetic Resources logo  
  MOREnet logo
kinetic Home | kinetic Manager | E-mail Services | Web Site Management | USENET News | Modem Pools
 Home >  Web Site Management >  Search Engine
     
Search Engine  
     
  Google Mini Search Engine  
     

View the printer friendly version of this document

Search Engine

MOREnet maintains a Google Mini Search Appliance which indexes and provides a mechanism for users to search your web site.

New web sites within the kinetic Service are set up with an initial set of starter pages. Amongst these is a sample search form. The sample search form is located at http://<your-site>/search.shtml.

This page can be used as-is, or can be the basis for creating your own custom search page.


Creating Your Own Custom Search

To add your own link to the Google Mini Search Appliance within your web pages, you will need to add the following HTML code:

<!-- MOREnet's Google-Mini Search -->
<form method="get" action="/search">
<input type="text" name="q" size="30" maxlength="255" value=""/>
<input type="submit" name="btnG" value="Search"/>
<input type="hidden" name="client" value="kinetic_collection"/>
<input type="hidden" name="proxystylesheet" value="kinetic_collection"/>
<input type="hidden" name="output" value="xml_no_dtd"/>
<input type="hidden" name="restrict" value="CHANGE_THIS_VALUE">
</form>
<!-- MOREnet's Google-Mini Search -->

Note: The text "CHANGE_THIS_VALUE" should be replaced with the first 20 characters of your web site's domain name. In addition, any periods should be replaced with underscores.
Examples:
  • www.allstar.highschool.k12.mo.us -would become- www_allstar_highscho
  • www.more.net -would become- www_more_net
  • publiclibrary.lib.mo.us -would become- publiclibrary_lib_mo
Collections Reference.-->


Additional Options

By default the Google Mini lists ten results per page. To increase or decrease the number of results listed per page include the below option anywhere between the opening and closing FORM tag. The minimum value is 5 and the maximum is 1000.

<input type="hidden" name="num" value="20">
Alternately, the viewer can be allowed to choose the number of results per page to display.
Results Per Page: <select name="num">
  <option value="10">10</option>
  <option value="20">20</option>
  <option value="30">30</option>
  <option value="50">50</option>
</select>

By default, the Google Mini will filter very similar results. This happens when a series of web pages are very alike in content. On the final page of results, the viewer will see a notation that the similar results have been omitted, and be given an option to repeat the search without the omitted results.

This behavior can be turned off however. Should it be important to display all results regardless of similarity, the filter option can be added anywhere between the opening and closing FORM tag.

<input type="hidden" name="filter" value="0">


The Google Mini indexes all visible text content and meta tags in a web page. The default behavior when determining the results listing is to match a visitors search terms to visible content only. To have the Google Mini include meta tag information when determining the results listing, the getfields option can be added anywhere between the opening and closing FORM tag.

<!-- Include only Description and Keywords meta tags -->
<input type="hidden" name="getfields" value="Description.Keywords">

-- or --

<!-- Include any and all meta tags -->
<input type="hidden" name="getfields" value="*">


Search Result Headers and Footers

The search result pages returned from the Google Mini will use your web sites headers and footers, if they are available. This will give the search result pages the same or similar appearance as the rest of the web site.

The header and footer used are located in your web sites ./custom/search/ directory folder. The header used is ./custom/search/head.shtml and the footer is ./custom/search/foot.shtml. If these files cannot be found, the head.shtml and foot.shtml files from the ./custom/ directory folder will be used instead.

For additional information regarding custom headers and footers, or how to create them, refer to the section on Custom Headers & Footers.