Changeset 16986 for greenstone3/trunk/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml
- Timestamp:
- 2008-08-25T12:28:28+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml
r14214 r16986 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <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 and16 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the17 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 fields30 <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>44 3 <metadataList> 45 <metadata lang="en" name="creator" >[email protected]</metadata>4 <metadata lang="en" name="creator"/> 46 5 <metadata lang="en" name="maintainer"/> 47 6 <metadata lang="en" name="public">true</metadata> 48 7 </metadataList> 49 8 <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> 51 10 <displayItem assigned="true" lang="en" name="smallicon">gs2mgppdemo_sm.gif</displayItem> 52 11 <displayItem assigned="true" lang="en" name="icon">gs2mgppdemo.gif</displayItem> … … 54 13 </displayItemList> 55 14 <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> 58 21 <defaultLevel name="section"/> 59 22 <index name="allfields"> … … 64 27 </index> 65 28 <index name="dls.Title"> 66 <displayItem lang="en" name="name"> 29 <displayItem lang="en" name="name">titles</displayItem> 67 30 </index> 68 31 <index name="dls.Subject"> … … 72 35 <displayItem lang="en" name="name">organisations</displayItem> 73 36 </index> 37 <indexOption> 38 <option name="accentfold"/> 39 <option name="casefold"/> 40 <option name="stem"/> 41 </indexOption> 74 42 <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> 76 44 </search> 77 45 <import> 78 46 <pluginList> 79 <plugin name="GAPlug "/>80 <plugin name="HTMLPlug ">47 <plugin name="GAPlugin"/> 48 <plugin name="HTMLPlugin"> 81 49 <option name="-description_tags"/> 82 50 </plugin> 83 <plugin name="MetadataXMLPlug "/>84 <plugin name="Arc Plug"/>85 <plugin name=" RecPlug"/>51 <plugin name="MetadataXMLPlugin"/> 52 <plugin name="ArchivesInfPlugin"/> 53 <plugin name="DirectoryPlugin"/> 86 54 </pluginList> 87 55 </import> … … 103 71 <option name="-metadata" value="dls.Keyword"/> 104 72 <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> 106 74 </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> 108 76 </browse> 109 77 <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> 111 79 </display> 112 80 <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> 113 122 </CollectionConfig>
Note:
See TracChangeset
for help on using the changeset viewer.