beautypg.com

Google Search Appliance OneBox for Enterprise Developers Guide User Manual

Page 28

background image

Google Search Appliance: Google OneBox for Enterprise Developer’s Guide

28

IMAGE_SOURCE

image_url

Optional. A link to the image that displays in the OneBox results.

MODULE_RESULT

child_elements

Optional. Describes the results that the provider sends to the search appliance.
The search appliance supports up to eight MODULE_RESULT blocks from external
providers, or up to three from an internal provider. The absence of this element
means that there were no search results found for the query.

The MODULE_RESULT element has the following child elements:

url

Optional. The URL for the results.

<i>module_title</i>

Optional, only one title is permitted in a MODULE_RESULT block. The title of
the results.

any] >field_value

Name-value pairs for each returned item. For internal OneBox providers,
you can have any number of Field elements. For an external Onebox
provider only, you can add up to 8 elements. This element has the
following attributes:

name="text"—The name attribute allows you to give the field a name
for results formatting and processing. The default XSLT template uses
this attribute to format results.

[any]—You can add additional to the Field element for formatting
results.

Element

Description