Ignore:
Timestamp:
2011-09-20T19:31:20+12:00 (13 years ago)
Author:
ak19
Message:

Undoing what looks like it could be accidental commits (r22569) to the collectionConfig.xml files of gs2mgdemo and gs2mgppdemo by sjb48

File:
1 edited

Legend:

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

    r24436 r24613  
    4545        <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>
    4646    </search>
     47    <infodb type="gdbm"/>
    4748    <import>
    4849        <pluginList>
     
    8485    </display>
    8586    <replaceListRef id="gs2-standard"/>
     87    <serviceRackList>
     88    <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
     89        <serviceRack name="OAIPMH">
     90            <ListMetadataFormats>
     91            <!--What metadata sets to support is collection specific. To support other metadata schema, add another metadataFormat element here.
     92            The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
     93            -->
     94                <metadataFormat metadataPrefix="oai_dc">
     95                    <metadataPrefix>oai_dc</metadataPrefix>
     96                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     97                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     98                    <!--   a custom mapping as this collection doesn't have dc metadata -->
     99                    <mappingList>
     100                        <mapping>dc:title,dls.Title</mapping>
     101                        <mapping>dc:subject,dls.Subject</mapping>
     102                        <mapping>dc:language,dls.Language</mapping>
     103                        <mapping>dc:publisher,dls.Organization</mapping>
     104                    </mappingList>
     105                </metadataFormat>
     106            </ListMetadataFormats>
     107        </serviceRack>
     108    </serviceRackList>
    86109</CollectionConfig>
Note: See TracChangeset for help on using the changeset viewer.