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/gs2mgdemo/etc/collectionConfig.xml

    r22569 r24613  
    3535            <option name="stem"/>
    3636        </indexOption>
    37         <format name="searchType">plain,form</format>
     37        <searchType name="plain"/>
     38        <searchType name="simpleform"/>
     39        <searchType name="advancedform"/>
    3840        <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>
    3941    </search>
     42    <infodb type="gdbm"/>
    4043    <import>
    4144        <pluginList>
     
    7780    </display>
    7881    <replaceListRef id="gs2-standard"/>
     82        <serviceRackList>
     83        <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
     84        <serviceRack name="OAIPMH">
     85            <ListMetadataFormats>
     86            <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
     87            The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
     88            -->
     89                <metadataFormat metadataPrefix="oai_dc">
     90                    <metadataPrefix>oai_dc</metadataPrefix>
     91                    <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     92                    <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     93                    <!--   a custom mapping as this collection doesn't have dc metadata -->
     94                    <mappingList>
     95                        <mapping>dc:title,dls.Title</mapping>
     96                        <mapping>dc:subject,dls.Subject</mapping>
     97                        <mapping>dc:language,dls.Language</mapping>
     98                        <mapping>dc:publisher,dls.Organization</mapping>
     99                    </mappingList>
     100                </metadataFormat>
     101            </ListMetadataFormats>
     102        </serviceRack>
     103    </serviceRackList>
    79104</CollectionConfig>
Note: See TracChangeset for help on using the changeset viewer.