// $Id: README.txt,v 1.1.4.2 2009-08-28 11:00:35 larskleiner Exp $

Google Appliance

This module integrates a Google Mini / Google Search Appliance with Drupal.

Currently it supports the following features:

When the first official version is released it will contain:

Installation

  1. Enable the module
  2. Go to the settings page and configure your collection name, IP address of your GSA/mini, and caching (if needed)
  3. Optionally, enable the recommended links block

Usage

Go to search/google-appliance

Search results are themed using theme('search_results').

Copy modules/search/search-results.tpl.php into your theme directory to over-ride the default template.

You can also create search-results-google-appliance.tpl.php to theme ONLY the GSA searches, but note that this template will NOT be seen unless you also copy the default search-results.tpl.php (even if you do not wish to edit that one). This alternative name is mostly relevant if you are leaving the core search.module enabled.

The above notes also apply to search-result.tpl.php

See the preprocess functions for the Google-specific variables available to the templates. You may wish to print the $range at the top of your search-results template, for instance.