beautypg.com

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

Page 47

background image

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’>
http://gsa:8000/feeds/outputFormat/default_frontend
2008-12-09T23:59:51.078Z

href=’http://gsa:8000/feeds/outputFormat/default_frontend’/>

href=’http://gsa:8000/feeds/outputFormat/default_frontend’/>

default_frontend
0

<!-- *** 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 *** -->


1
en

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.