Ignore:
Timestamp:
2008-08-25T12:28:28+12:00 (16 years ago)
Author:
kjdon
Message:

tidied up this file, should be the same once opened in gli

File:
1 edited

Legend:

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

    r14214 r16986  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    3 <OAI>
    4     <ListMetadataFormats>
    5      <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
    6          The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
    7      -->
    8       <metadataFormat metadataPrefix="oai_dc">
    9         <metadataPrefix>oai_dc</metadataPrefix>
    10         <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
    11         <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
    12         <mappingList>
    13         <!--
    14         The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
    15         The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
    16         searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
    17         number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
    18         if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
    19        
    20         **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
    21         -->
    22             <mapping>dc.Title,dls.Title</mapping>
    23             <mapping>dc.Subject,dls.Subject</mapping> 
    24             <mapping>dc.Language,dls.Language</mapping> 
    25             <mapping>dc.Organization,dls.Organization</mapping> 
    26         </mappingList>
    27      </metadataFormat>
    28      <!--
    29      This metadata format is an example of user created metadata fields
    30       <metadataFormat metadataPrefix="oai_gs">
    31         <metadataPrefix>oai_gs</metadataPrefix>
    32         <schema>http://www.greenstone.org/OAI/2.0/oai_gs.xsd</schema>
    33         <metadataNamespace>http://www.greenstone.org/OAI/2.0/oai_gs/</metadataNamespace>
    34         <mappingList>
    35             <mapping>dls.Title</mapping>
    36             <mapping>dls.Subject</mapping> 
    37             <mapping>dls.Language</mapping> 
    38             <mapping>dls.Organization</mapping> 
    39         </mappingList>
    40      </metadataFormat>
    41      -->
    42     </ListMetadataFormats>
    43 </OAI>
    443    <metadataList>
    45         <metadata lang="en" name="creator">[email protected]</metadata>
     4        <metadata lang="en" name="creator"/>
    465        <metadata lang="en" name="maintainer"/>
    476        <metadata lang="en" name="public">true</metadata>
    487    </metadataList>
    498    <displayItemList>
    50         <displayItem assigned="true" lang="en" name="description">This is a demonstration collection for the Greenstone3 digital library software. It contains a small subset (11 books) of the Humanitarian and Development Libraries. It is a Greenstone2 collection, built with MGPP, which provides form based searching. The Greenstone2 configuration files have been converted to Greenstone3 equivalents, enabling it to be served using Greenstone3.</displayItem>
     9        <displayItem assigned="true" lang="en" name="description">This is a demonstration collection for the Greenstone3 digital library software. It contains a small subset (11 books) of the Humanitarian and Development Libraries. It is a Greenstone2-style collection, built with MGPP, which provides form based searching.</displayItem>
    5110        <displayItem assigned="true" lang="en" name="smallicon">gs2mgppdemo_sm.gif</displayItem>
    5211        <displayItem assigned="true" lang="en" name="icon">gs2mgppdemo.gif</displayItem>
     
    5413    </displayItemList>
    5514    <search type="mgpp">
    56         <level name="section"/>
    57         <level name="document"/>
     15        <level name="section">
     16            <displayItem lang="en" name="name">section</displayItem>
     17        </level>
     18        <level name="document">
     19            <displayItem lang="en" name="name">document</displayItem>
     20        </level>
    5821        <defaultLevel name="section"/>
    5922        <index name="allfields">
     
    6427        </index>
    6528        <index name="dls.Title">
    66             <displayItem lang="en" name="name"> titles</displayItem>
     29            <displayItem lang="en" name="name">titles</displayItem>
    6730        </index>
    6831        <index name="dls.Subject">
     
    7235            <displayItem lang="en" name="name">organisations</displayItem>
    7336        </index>
     37        <indexOption>
     38            <option name="accentfold"/>
     39            <option name="casefold"/>
     40            <option name="stem"/>
     41        </indexOption>
    7442        <format name="searchType">plain,form</format>
    75         <format><gsf:template match="documentNode">                                      <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></format>
     43        <format><gsf:template match="documentNode"><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></format>
    7644    </search>
    7745    <import>
    7846        <pluginList>
    79             <plugin name="GAPlug"/>
    80             <plugin name="HTMLPlug">
     47            <plugin name="GAPlugin"/>
     48            <plugin name="HTMLPlugin">
    8149                <option name="-description_tags"/>
    8250            </plugin>
    83             <plugin name="MetadataXMLPlug"/>
    84             <plugin name="ArcPlug"/>
    85             <plugin name="RecPlug"/>
     51            <plugin name="MetadataXMLPlugin"/>
     52            <plugin name="ArchivesInfPlugin"/>
     53            <plugin name="DirectoryPlugin"/>
    8654        </pluginList>
    8755    </import>
     
    10371            <option name="-metadata" value="dls.Keyword"/>
    10472            <option name="-buttonname" value="Howto"/>
    105             <format><gsf:template match="documentNode">                                      <td>                                                         <gsf:link type="document">                                                                            <gsf:metadata name="dls.Keyword"/>                                                                  </gsf:link>                                               </td>                            </gsf:template>                   <gsf:template match="classifierNode">                                      <td>                                                         <gsf:link type="classifier">                                                                            <gsf:metadata name="dls.Keyword"/>                                                                  </gsf:link>                                               </td>                            </gsf:template></format>
     73            <format><gsf:template match="documentNode"><td><gsf:link type="document"><gsf:metadata name="dls.Keyword"/></gsf:link></td></gsf:template><gsf:template match="classifierNode"><td><gsf:link type="classifier"><gsf:metadata name="Title"/></gsf:link></td></gsf:template></format>
    10674        </classifier>
    107         <format><gsf:template match="documentNode">                                      <td valign="top">                                                         <gsf:link type="document">                                                                            <gsf:icon type="document"/>                                                                  </gsf:link>                                               </td>                                         <td valign="top">                                                         <gsf:metadata name="srclink"/>                                                         <gsf:choose-metadata>                                                                            <gsf:metadata name="thumbicon"/>                                                                            <gsf:metadata name="srcicon"/>                                                                  </gsf:choose-metadata>                                                         <gsf:metadata name="/srclink"/>                                               </td>                                         <td valign="top">                                                             <gsf:choose-metadata>                                                                            <gsf:metadata name="dc.Title"/>                                                                            <gsf:metadata name="exp.Title"/>                                                                            <gsf:metadata name="Title"/>                                                                            <gsf:default>                                                  Untitled                                        </gsf:default>                                                                  </gsf:choose-metadata>                                                             <gsf:switch>                                                                            <gsf:metadata name="Source"/>                                                                            <gsf:when test="exists">                                                                                               <br/>                                                                                               <i>                                                            (                                                            <gsf:metadata name="Source"/>                                                            )                                                  </i>                                                                                     </gsf:when>                                                                  </gsf:switch>                                               </td>                            </gsf:template>                   <gsf:template match="classifierNode">                                      <td valign="top">                                                         <gsf:link type="classifier">                                                                            <gsf:icon type="classifier"/>                                                                  </gsf:link>                                               </td>                                         <td valign="top">                                                         <gsf:metadata name="srclink"/>                                                         <gsf:choose-metadata>                                                                            <gsf:metadata name="thumbicon"/>                                                                            <gsf:metadata name="srcicon"/>                                                                  </gsf:choose-metadata>                                                         <gsf:metadata name="/srclink"/>                                               </td>                                         <td valign="top">                                                             <gsf:choose-metadata>                                                                            <gsf:metadata name="dc.Title"/>                                                                            <gsf:metadata name="exp.Title"/>                                                                            <gsf:metadata name="Title"/>                                                                            <gsf:default>                                                  Untitled                                        </gsf:default>                                                                  </gsf:choose-metadata>                                                             <gsf:switch>                                                                            <gsf:metadata name="Source"/>                                                                            <gsf:when test="exists">                                                                                               <br/>                                                                                               <i>                                                            (                                                            <gsf:metadata name="Source"/>                                                            )                                                  </i>                                                                                     </gsf:when>                                                                  </gsf:switch>                                               </td>                            </gsf:template>                   <gsf:template match="classifierNode" mode="horizontal">                                      <gsf:link type="horizontal">                                                         <gsf:metadata name="Title"/>                                               </gsf:link>                            </gsf:template></format>
     75        <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td><gsf:metadata name="Title"/></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
    10876    </browse>
    10977    <display>
    110         <format><gsf:template match="documentcontent">                                                                                                                                </gsf:template>                                                                                      <gsf:option name="TOC" value="true"/>                                                  </format>
     78        <format><gsf:option name="TOC" value="true"/></format>
    11179    </display>
    11280    <replaceListRef id="gs2-standard"/>
     81    <OAI>
     82        <ListMetadataFormats>
     83            <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     84      The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
     85      -->
     86            <metadataFormat metadataPrefix="oai_dc">
     87                <metadataPrefix>oai_dc</metadataPrefix>
     88                <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     89                <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     90                <mappingList>
     91                    <!--
     92      The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
     93      The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
     94      searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
     95      number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
     96      if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
     97     
     98      **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
     99      -->
     100                    <mapping>dc.Title,dls.Title</mapping>
     101                    <mapping>dc.Subject,dls.Subject</mapping>
     102                    <mapping>dc.Language,dls.Language</mapping>
     103                    <mapping>dc.Organization,dls.Organization</mapping>
     104                </mappingList>
     105            </metadataFormat>
     106            <!--
     107      This metadata format is an example of user created metadata fields
     108      <metadataFormat metadataPrefix="oai_gs">
     109      <metadataPrefix>oai_gs</metadataPrefix>
     110      <schema>http://www.greenstone.org/OAI/2.0/oai_gs.xsd</schema>
     111      <metadataNamespace>http://www.greenstone.org/OAI/2.0/oai_gs/</metadataNamespace>
     112      <mappingList>
     113      <mapping>dls.Title</mapping>
     114      <mapping>dls.Subject</mapping> 
     115      <mapping>dls.Language</mapping> 
     116      <mapping>dls.Organization</mapping> 
     117    </mappingList>
     118    </metadataFormat>
     119      -->
     120        </ListMetadataFormats>
     121    </OAI>
    113122</CollectionConfig>
Note: See TracChangeset for help on using the changeset viewer.