GSA Onebox Provider

Categories

Component ID

2280889

Component name

GSA Onebox Provider

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

639

Component created

Component changed

Component body

Provides a views plugin to make Drupal act as a Onebox external provider for the Google Search Appliance.

This module should not be used on a production environment -- bootstrapping Drupal is too slow for the GSA. It is suitable for quick prototyping / testing purposes if the GSA timeout is increased to 6-10 seconds.

Installation

  • Enable the module
  • Create a view and a "GSA Onebox Provider" display
  • On the GSA, create a Onebox module and set its URL to be the view's absolute path

Views substitutions

The call parameters are available as substitutions in the view, e.g. you may filter node titles containing the search query by using ***GSA_QUERY***.

Call parameter Views substitution
apiMaj ***GSA_APIMAJ***
apiMin ***GSA_APIMIN***
authType ***GSA_AUTHTYPE***
dateTime ***GSA_DATETIME***
ipAddr ***GSA_IPADDR***
lang ***GSA_LANG***
oneboxName ***GSA_ONEBOXNAME***
query ***GSA_QUERY***

Requirements: