Updating the output format xslt stylesheet – Google Search Appliance Administrative API Developers Guide: Protocol User Manual
Page 47

Google Search Appliance: Administrative API Developer’s Guide: Protocol
47
The result is an entry that includes all stylesheet information for the designated Front_End and
Language_Code:
xmlns:gsa=’http://schemas.google.com/gsa/2007’> href=’http://gsa:8000/feeds/outputFormat/default_frontend’/> href=’http://gsa:8000/feeds/outputFormat/default_frontend’/> <!-- *** START OF STYLESHEET *** -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/
Transform"version="1.0"&
;gt;
<xsl:include href="customer-onebox.xsl"/>
<xsl:output method="html"/>
<xsl:variable name="show_logo">1</xsl:variable>
<xsl:variable name="logo_url">images/Title_Left.png</
xsl:variable>
<xsl:variable name="logo_width">200</xsl:variable>
<xsl:variable name="logo_height">78</
xsl:variable>........<xsl:templa
te match="@*|node()"/>
</xsl:stylesheet>
<!-- *** END OF STYLESHEET *** -->
Updating the Output Format XSLT Stylesheet
To update the output format stylesheet information for a search appliance, send an authenticated PUT
request to the outputFormat feed URL:
http://Search_Appliance:8000/feeds/outputFormat/Front_End
Specify the language parameter in the language property of the entry to update.