MANAGED SERVICES RESOURCE WEB SITE  
  MOREnet logo
Home | E-mail Services | Web Site Management | Managed CMS | Managed LMS | SecondWeb | SSL Certificates | Manager Application |
 Home >  Web Site Management >  Search Engine
     
Search Engine  
     
  Google Mini Search Engine  
     

View the printer friendly version of this document

Search Engine

MOREnet maintains GoogleMini™ Search Appliances which index and provide a mechanism for users to search your web site. The search page and results can be customized to fit your web site's needs.


Notice:
Due to lack of use, MOREnet will be discontinuing the availability of the GoogleMini™ Search Appliance. New web sites set up in the Managed Web Hosting Service will not be configured with this built-in search capability. Currently hosted web sites which are using the built-in search capability may continue to do so for now, but be advised that MOREnet is in-process determining a retirement date for the GoogleMini Appliance. For those web sites which have not been using the built-in GoogleMini, MOREnet has removed the un-used built-in search functionality.

Although MOREnet does not promote nor favor any particular alternative search mechanism, we are aware of the publicly available Google Site Search capability that many webmaster's use. MOREnet offers the following URL as a starting place for those who desire an alternative search mechanism for their web site: This notice does not include ManagedCMS members. The ManagedCMS has it own separate built-in search capability.

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="*">


Notes

Webmaster's of web sites which use a CMS (Content Management System) such as Drupal or WordPress may need to check the default .htaccess file supplied by their CMS. Occasionally these files contain instructions to the web server to facilitate "CleanURLs" and may conflict with the built-in GoogleMini search capability. However, this problem, if it occurs, can be resolved. Contact MOREnet Technical Support if you experience this issue and need the GoogleMini Search capability for your site.


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.