beautypg.com

Onebox results schema reference, Results definition schema – Google Search Appliance OneBox for Enterprise Developers Guide User Manual

Page 26

background image

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

26

OneBox Results Schema Reference

Results are returned to a search appliance in the form of XML that conforms to the OneBox Results
schema.

Results Definition Schema

The results definition schema file is available in the oneboxresults.xsd file, which is included in the
OneBox simulator download (

http://google-developers.appspot.com/search-appliance/download/

downloadsdk

).

Note: Do not set the id= attributes that appear in the oneboxresults.xsd file. The search appliance
does not use any of the id attributes.

Your OneBox module definition XML file must conform to this schema.

Syntax

result_code
failure_reason
provider_name
query_escape
total_results_escape
</p><p style="position:absolute;top:572px;left:200px;white-space:nowrap" class="ft09"><urlText><i>results_title</i></urlText><br><urlLink><i>results_url</i></urlLink></p><p style="position:absolute;top:606px;left:184px;white-space:nowrap" class="ft09">
image_url

url
<i>title</i>
value1
value2
valueN