Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Services and Technology Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

Related Links

Google search at MIT

Add & restrict pages

Add a search box on your site

Additional Search Form Parameters

Update to Google v.4

Search appliance configuration

Collections

Search Results Stylesheet


MIT Google: Collections

(formerly termed "Subcollection")

Overview

Schools and other large organizations may be eligible to define a collection in the Google Search Appliance.

A collection is a list of URL patterns that can be referred to by a single name, such as "Library". When a search is restricted to the collection called Library, the query includes only the URL patterns specified in that collection's definition.

Defining and using a collection requires startup effort from both the MIT search administrator and the web site developer. If you think you are eligible and want to define a collection, complete the steps below.

Note that a new collection, or any changes to an existing collection, will typically take effect within a day or two.


Definine and Use a Collection

  1. Submit a request for a collection.
    Include the following information:
    • Name of the school or organization
    • Contact person
    • Name you want for your collection
      Note: A collection name can be up to 20 characters long and can contain only alphanumerics, underscores, and dashes; the name cannot begin with a dash.
    • List of URL patterns you want included in your collection


  2. Add the collection parameter to your search feature's HTML.

    <form method='get' action='http://search.mit.edu/search'>
    <input type='text' name='q' size='32' maxlength='255' value=''/>
    <input type='submit' name='btnG' value='Search'/>
    <input type='hidden' name='site' value='collection_name'/>
    <input type='hidden' name='client' value='mit'/>
    <input type='hidden' name='proxystylesheet' value='mit'/>
    <input type='hidden' name='output' value='xml_no_dtd'/>
    </form>


  3. Customize the search results stylesheet (optional).

You may wish to modify the search results stylesheet to customize the look and feel of your search results page; see Search Results Stylesheet.

[Back to top]

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.