Changeset 14058 for trunk


Ignore:
Timestamp:
2007-05-04T10:54:54+12:00 (17 years ago)
Author:
xiao
Message:

modified to suit for the need of the xml-config-file-read-gli, eg, add plugins, display format, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml

    r13915 r14058  
    1616>Greenstone2 MGPP demo collection</displayItem
    1717></displayItemList
    18 ><search
     18><search type="mgpp"
    1919><index name="dls.Organization"
    2020><displayItem name="name" lang="en"
     
    4141><level name="section"
    4242></level
    43 ><format
     43><defaultLevel name="document"></defaultLevel><format
    4444><gsf:template match="documentNode"
    4545><td valign='top'><gsf:link type='document'><gsf:icon type='document'/></gsf:link></td><td><gsf:switch><gsf:metadata name='Title' select='ancestors' separator=': ' /><gsf:when test='exists' ><gsf:metadata name='Title' select='ancestors' separator=': ' />:</gsf:when></gsf:switch><gsf:link type='document'><gsf:metadata name='Title' /></gsf:link></td></gsf:template
    4646></format
    47 ></search
    48 ><browse
     47><indexOption>
     48    <option name="accentfold" />
     49    <option name="casefold" />
     50    <option name="stem" />
     51</indexOption>
     52</search
     53>    <import>
     54        <pluginList>
     55            <plugin name="GAPlug"/>
     56            <plugin name="HTMLPlug">
     57                <option name="-description_tags"/>
     58            </plugin>
     59            <plugin name="MetadataXMLPlug"/>
     60            <plugin name="ArcPlug"/>
     61            <plugin name="RecPlug"/>
     62        </pluginList>
     63    </import>
     64<browse
    4965><format
    5066><gsf:template match="documentNode"
     
    5571><gsf:link type='horizontal'><gsf:metadata name='Title' /></gsf:link></gsf:template
    5672></format
    57 ><classifier name="CL1"
    58 ></classifier
    59 ><classifier name="CL2"
    60 ></classifier
    61 ><classifier name="CL3"
    62 ></classifier
    63 ><classifier name="CL4"
    64 ><format
     73>       
     74<classifier name="AZList">
     75            <option name="-metadata" value="dls.Title"/>
     76</classifier>
     77<classifier name="Hierarchy">
     78            <option name="-metadata" value="dls.Subject"/>
     79            <option name="-sort" value="dls.Title"/>
     80</classifier>
     81        <classifier name="AZCompactList">
     82            <option name="-metadata" value="dls.Organization"/>
     83            <option name="-sort" value="dls.Title"/>
     84            <option name="-mingroup" value="1"/>
     85            <option name="-buttonname" value="Organization"/>
     86        </classifier>
     87        <classifier name="List">
     88            <option name="-metadata" value="dls.Keyword"/>
     89            <option name="-buttonname" value="Howto"/>
     90        <format
    6591><gsf:template match="documentNode"
    6692><td><gsf:link type='document'><gsf:metadata name='dls.Keyword' /></gsf:link></td></gsf:template
     
    7096></classifier
    7197></browse
    72 ><replaceListRef id="gs2-standard"
     98>    <display>
     99        <format><gsf:template match="documentcontent">                                                                                                  </gsf:template>                                                                  <gsf:option name="TOC" value="true"/>                                        </format>
     100    </display>
     101<replaceListRef id="gs2-standard"
    73102 /></collectionConfig
    74103>
Note: See TracChangeset for help on using the changeset viewer.