Changeset 16982 for greenstone3


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

tidied this up. Now when opened in gli and written out it shouldn't change. hopefully won't get all the spaces added in again

File:
1 edited

Legend:

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

    r14213 r16982  
    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     </ListMetadataFormats>
    29 </OAI>   
    303    <metadataList>
    31         <metadata lang="en" name="creator">[email protected]</metadata>
     4        <metadata lang="en" name="creator"/>
    325        <metadata lang="en" name="maintainer"/>
    336        <metadata lang="en" name="public">true</metadata>
    347    </metadataList>
    358    <displayItemList>
    36         <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 MG. 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 MG.</displayItem>
    3710        <displayItem assigned="true" lang="en" name="smallicon">gs2mgdemo_sm.gif</displayItem>
    3811        <displayItem assigned="true" lang="en" name="icon">gs2mgdemo.gif</displayItem>
     
    5831            <displayItem lang="fr" name="name">titres des sections</displayItem>
    5932        </index>
     33        <indexOption>
     34            <option name="casefold"/>
     35            <option name="stem"/>
     36        </indexOption>
    6037        <format name="searchType">plain,form</format>
    61         <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>
     38        <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>
    6239    </search>
    6340    <import>
    6441        <pluginList>
    65             <plugin name="GAPlug"/>
    66             <plugin name="HTMLPlug">
    67                <option name="-description_tags"/>
     42            <plugin name="GAPlugin"/>
     43            <plugin name="HTMLPlugin">
     44                <option name="-description_tags"/>
    6845            </plugin>
    69             <plugin name="MetadataXMLPlug"/>
    70             <plugin name="ArcPlug"/>
    71             <plugin name="RecPlug"/>
     46            <plugin name="MetadataXMLPlugin"/>
     47            <plugin name="ArchivesInfPlugin"/>
     48            <plugin name="DirectoryPlugin"/>
    7249        </pluginList>
    7350    </import>
    7451    <browse>
    75     <classifier name="Hierarchy">
    76       <option name="-metadata" value="dls.Subject"/>
    77       <option name="-sort" value="dls.Title"/>
    78       <option name="-buttonname" value="Subject"/>
    79     </classifier>
     52        <classifier name="Hierarchy">
     53            <option name="-metadata" value="dls.Subject"/>
     54            <option name="-sort" value="dls.Title"/>
     55            <option name="-buttonname" value="Subject"/>
     56        </classifier>
    8057        <classifier name="AZList">
    8158            <option name="-metadata" value="dls.Title"/>
    82             <format><gsf:template match="classifierNode" mode="horizontal">                                                                  <gsf:link type="horizontal">                                                                                                   <gsf:metadata name="Title"/>                                                                                  </gsf:link>                                                 </gsf:template></format>
    8359        </classifier>
    8460        <classifier name="AZCompactList">
    8561            <option name="-metadata" value="dls.Organization"/>
    86           <option name="-sort" value="dls.Title"/>
    87       <option name="-buttonname" value="Organization"/>
    88           <option name="-mingroup" value="1"/>
     62            <option name="-sort" value="dls.Title"/>
     63            <option name="-buttonname" value="Organization"/>
     64            <option name="-mingroup" value="1"/>
    8965        </classifier>
    9066        <classifier name="List">
    9167            <option name="-metadata" value="dls.Keyword"/>
    92       <option name="-buttonname" value="Howto"/>
     68            <option name="-buttonname" value="Howto"/>
    9369        </classifier>
    94         <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>
     70        <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="Title"/></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
    9571    </browse>
    9672    <display>
    97         <format><gsf:template match="documentcontent">                                                                                                  </gsf:template>                                                                  <gsf:option name="TOC" value="true"/>                                        </format>
     73        <format><gsf:option name="TOC" value="true"/></format>
    9874    </display>
    9975    <replaceListRef id="gs2-standard"/>
     76    <OAI>
     77        <ListMetadataFormats>
     78            <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     79      The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
     80      -->
     81            <metadataFormat metadataPrefix="oai_dc">
     82                <metadataPrefix>oai_dc</metadataPrefix>
     83                <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     84                <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     85                <mappingList>
     86                    <!--
     87      The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
     88      The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
     89      searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
     90      number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
     91      if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
     92     
     93      **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.
     94      -->
     95                    <mapping>dc.Title,dls.Title</mapping>
     96                    <mapping>dc.Subject,dls.Subject</mapping>
     97                    <mapping>dc.Language,dls.Language</mapping>
     98                    <mapping>dc.Organization,dls.Organization</mapping>
     99                </mappingList>
     100            </metadataFormat>
     101        </ListMetadataFormats>
     102    </OAI>
    100103</CollectionConfig>
Note: See TracChangeset for help on using the changeset viewer.