Changeset 11232


Ignore:
Timestamp:
2006-02-09T15:39:20+13:00 (18 years ago)
Author:
kjdon
Message:

added in the CrossCollectionSearch service and its format statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/sites/localsite/siteConfig.xml

    r10288 r11232  
    1 <siteConfig>
     1<siteConfig xmlns:gsf='http://www.greenstone.org/greenstone3/schema/ConfigFormat' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
    22  <siteList/>
    33  <serviceRackList>
    44    <!-- uncomment to provide the GATE tagging service -->
    55    <!--<serviceRack name="GATEServices"/>-->
     6    <serviceRack name="CrossCollectionSearch">
     7      <format>
     8    <!-- this format is used for the search results -->
     9    <gsf:template match="documentNode">
     10      <td><a><xsl:attribute name='href'>?a=d&amp;c=<xsl:value-of select='@collection'/>&amp;d=<xsl:value-of select='@nodeID'/><xsl:if test="@nodeType='leaf'">&amp;sib=1</xsl:if>&amp;dt=<xsl:value-of select='@docType'/>&amp;p.a=q&amp;&amp;p.s=TextQuery&amp;p.c=</xsl:attribute><gsf:icon/></a></td>
     11      <td>[<a href='?a=p&amp;sa=about&amp;c={@collection}'><xsl:value-of select='@collection'/></a>]</td>
     12      <td><gsf:metadata name='Title'/></td>
     13    </gsf:template>
     14      </format>
     15    </serviceRack>
    616  </serviceRackList>
    717  <serviceClusterList/>
Note: See TracChangeset for help on using the changeset viewer.