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

Location:
main/trunk/greenstone3/web/sites/localsite/collect
Files:
2 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>
  • 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.