The GSA Feed Module enables the creation of an XML feed that can be indexed by a Google Search Appliance (GSA). This module is solely for an external Google Search Appliance as it does not attempt to connect to the appliance itself.
Installation
- Install and enable the Views module.
- Install and enable the Views GSA Feed module.
Create a feed
- Navigate to Admin->Structure->Views (admin/structure/views)
- Click + Add New View.
- Name the view and click Continue & Edit
- Click + Add and choose GSA Feed.
- Give the feed a unique path.
Configure a feed
- Click "Settings" under Format to configure settings. Make sure you add a data source as the GSA expects it. The data source is user defined. For more information, see the Google documentation.
- Use this "Fields" to add, edit, or remove metadata fields to the feed.
- All Fields added must have a label. To add a label, edit the field and enable the Create a label box. The label is used as the meta name field.
- Make sure the permissions setting is one that the Google Search Appliance (likely an anonymous user) can view.
Tips and tricks
Contextual Filters can be used to provide a date (or date range) on which to filter the results. For instance, if you want the GSA to update only events after the last date it indexed, then create a contextual filter on the update date and change the path to something like "/path/to/feed/%/gsa_feed". This will allow the GSA to go to /path/to/feed/2013/gsa_feed to get all content updated starting January 1, 2013.
Set items to display to 0 for unlimited, or you can paginate the results.
Final notes
- As the feed is provided as XML, filters and sort criteria cannot be exposed.
- Reiterating: All Fields added must have a label as the label is used as the meta name.