Google Search Appliance XSLT标头修改

时间:2014-02-09 23:49:53

标签: google-search-appliance

我想修改XSLT以更改Google Search Appliance的主页标题。我无法看到我的变化。我做了以下

  1. 包含proxyreload = 1查询参数
  2. 更改了home_page_header模板以包含我的Hello world部分。
  3. <xsl:template name="home_page_header">
        <input type="hidden" name="security_token" id="token">
          <xsl:attribute name="value">
            <xsl:value-of select="/GSP/SECURITY_TOKEN"/>
          </xsl:attribute>
        </input>
        <table border="0" cellpadding="0" cellspacing="0">
          <xsl:if test="$show_logo != '0'">
            <tr>
              <td rowspan="3" valign="top">
                <xsl:call-template name="logo"/>
                <xsl:call-template name="nbsp3"/>
              </td>
            </tr>
          </xsl:if>
          <xsl:if test="$show_top_search_box != '0'">
            <tr>
              <td valign="middle">
                <xsl:call-template name="search_box">
                  <xsl:with-param name="type" select="'home'"/>
                </xsl:call-template>
              </td>
            </tr>
          </xsl:if>
        </table>
        <table>
            <tr>
                <td>Hello World</td>
            </tr>
        </table>
    </xsl:template>
    

    有什么想法吗?

0 个答案:

没有答案