[14062] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
[14201] | 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 | <!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>
|
---|
| 13 | -->
|
---|
| 14 | <mappingList>
|
---|
| 15 | <!--
|
---|
| 16 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
| 17 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
| 18 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
| 19 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
| 20 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
| 21 |
|
---|
| 22 | **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.
|
---|
| 23 |
|
---|
| 24 | **The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
|
---|
| 25 | -->
|
---|
| 26 | <mapping>dc.Title,Title</mapping>
|
---|
| 27 | <!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
|
---|
| 28 | </mappingList>
|
---|
| 29 | </metadataFormat>
|
---|
| 30 | </ListMetadataFormats>
|
---|
| 31 | </OAI>
|
---|
[14062] | 32 | <metadataList>
|
---|
[14201] | 33 | <metadata lang="en" name="creator">**creator**</metadata>
|
---|
| 34 | <metadata lang="en" name="maintainer">**maintainer**</metadata>
|
---|
[14062] | 35 | <metadata lang="en" name="public">true</metadata>
|
---|
| 36 | </metadataList>
|
---|
| 37 | <displayItemList>
|
---|
| 38 | <displayItem assigned="true" lang="en" name="name"></displayItem>
|
---|
| 39 | </displayItemList>
|
---|
| 40 | <search type="mgpp">
|
---|
| 41 | <level name="document">
|
---|
| 42 | <displayItem lang="en" name="name">document</displayItem>
|
---|
| 43 | </level>
|
---|
| 44 | <level name="section">
|
---|
| 45 | <displayItem lang="en" name="name">section</displayItem>
|
---|
| 46 | </level>
|
---|
| 47 | <defaultLevel name="document"/>
|
---|
| 48 | <index name="text">
|
---|
| 49 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 50 | </index>
|
---|
[14201] | 51 | <index name="Title">
|
---|
| 52 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
[14062] | 53 | </index>
|
---|
[14201] | 54 | <index name="Source">
|
---|
| 55 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
[14062] | 56 | </index>
|
---|
[14201] | 57 | <defaultIndex name="text"/>
|
---|
[14062] | 58 | <format name="searchType">plain,form</format>
|
---|
[14386] | 59 | <format><gsf:template match="documentNode">
|
---|
| 60 | <td valign="top">
|
---|
| 61 | <gsf:link type="document">
|
---|
| 62 | <gsf:icon type="document"/>
|
---|
| 63 | </gsf:link>
|
---|
| 64 | </td>
|
---|
| 65 | <td>
|
---|
| 66 | <gsf:switch>
|
---|
| 67 | <gsf:metadata name="Title" select="ancestors" separator=": "/>
|
---|
| 68 | <gsf:when test="exists">
|
---|
| 69 | <gsf:metadata name="Title" select="ancestors" separator=": "/>:
|
---|
| 70 | </gsf:when>
|
---|
| 71 | </gsf:switch>
|
---|
| 72 | <gsf:link type="document">
|
---|
| 73 | <gsf:metadata name="Title"/>
|
---|
| 74 | </gsf:link>
|
---|
| 75 | </td>
|
---|
| 76 | </gsf:template>
|
---|
| 77 | </format>
|
---|
[14062] | 78 | </search>
|
---|
| 79 | <import>
|
---|
| 80 | <pluginList>
|
---|
[15879] | 81 | <plugin name="ZIPPlugin"/>
|
---|
| 82 | <plugin name="GAPlugin"/>
|
---|
| 83 | <plugin name="TextPlugin"/>
|
---|
[16357] | 84 | <plugin name="HTMLPlugin"/>
|
---|
[15879] | 85 | <plugin name="EmailPlugin"/>
|
---|
| 86 | <plugin name="PDFPlugin"/>
|
---|
| 87 | <plugin name="RTFPlugin"/>
|
---|
| 88 | <plugin name="WordPlugin"/>
|
---|
| 89 | <plugin name="PSPlugin"/>
|
---|
| 90 | <plugin name="ImagePlugin"/>
|
---|
| 91 | <plugin name="ISISPlugin"/>
|
---|
| 92 | <plugin name="NulPlugin"/>
|
---|
| 93 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 94 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 95 | <plugin name="DirectoryPlugin"/>
|
---|
[14062] | 96 | </pluginList>
|
---|
| 97 | </import>
|
---|
| 98 | <browse>
|
---|
| 99 | <classifier name="AZList">
|
---|
[14201] | 100 | <option name="-metadata" value="Title"/>
|
---|
[14386] | 101 | <format>
|
---|
| 102 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
| 103 | <gsf:link type="horizontal">
|
---|
| 104 | <gsf:metadata name="Title"/>
|
---|
| 105 | </gsf:link>
|
---|
| 106 | </gsf:template>
|
---|
| 107 | </format>
|
---|
[14062] | 108 | </classifier>
|
---|
| 109 | <classifier name="AZList">
|
---|
| 110 | <option name="-metadata" value="Source"/>
|
---|
| 111 | </classifier>
|
---|
[14386] | 112 | <format>
|
---|
| 113 | <gsf:template match="documentNode">
|
---|
| 114 | <td valign="top">
|
---|
| 115 | <gsf:link type="document">
|
---|
| 116 | <gsf:icon type="document"/>
|
---|
| 117 | </gsf:link>
|
---|
| 118 | </td>
|
---|
| 119 | <td valign="top">
|
---|
| 120 | <gsf:metadata name="srclink"/>
|
---|
| 121 | <gsf:choose-metadata>
|
---|
| 122 | <gsf:metadata name="thumbicon"/>
|
---|
| 123 | <gsf:metadata name="srcicon"/>
|
---|
| 124 | </gsf:choose-metadata>
|
---|
| 125 | <gsf:metadata name="/srclink"/>
|
---|
| 126 | </td>
|
---|
| 127 | <td valign="top">
|
---|
| 128 | <gsf:choose-metadata>
|
---|
| 129 | <gsf:metadata name="dc.Title"/>
|
---|
| 130 | <gsf:metadata name="exp.Title"/>
|
---|
| 131 | <gsf:metadata name="Title"/>
|
---|
| 132 | <gsf:default>Untitled
|
---|
| 133 | </gsf:default>
|
---|
| 134 | </gsf:choose-metadata>
|
---|
| 135 | <gsf:switch>
|
---|
| 136 | <gsf:metadata name="Source"/>
|
---|
| 137 | <gsf:when test="exists">
|
---|
| 138 | <br/>
|
---|
| 139 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 140 | </gsf:when>
|
---|
| 141 | </gsf:switch>
|
---|
| 142 | </td>
|
---|
| 143 | </gsf:template>
|
---|
| 144 | <gsf:template match="classifierNode">
|
---|
| 145 | <td valign="top">
|
---|
| 146 | <gsf:link type="classifier">
|
---|
| 147 | <gsf:icon type="classifier"/>
|
---|
| 148 | </gsf:link>
|
---|
| 149 | </td>
|
---|
| 150 | <td valign="top">
|
---|
| 151 | <gsf:metadata name="srclink"/>
|
---|
| 152 | <gsf:choose-metadata>
|
---|
| 153 | <gsf:metadata name="thumbicon"/>
|
---|
| 154 | <gsf:metadata name="srcicon"/>
|
---|
| 155 | </gsf:choose-metadata>
|
---|
| 156 | <gsf:metadata name="/srclink"/>
|
---|
| 157 | </td>
|
---|
| 158 | <td valign="top">
|
---|
| 159 | <gsf:choose-metadata>
|
---|
| 160 | <gsf:metadata name="dc.Title"/>
|
---|
| 161 | <gsf:metadata name="exp.Title"/>
|
---|
| 162 | <gsf:metadata name="Title"/>
|
---|
| 163 | <gsf:default>Untitled</gsf:default>
|
---|
| 164 | </gsf:choose-metadata>
|
---|
| 165 | <gsf:switch>
|
---|
| 166 | <gsf:metadata name="Source"/>
|
---|
| 167 | <gsf:when test="exists">
|
---|
| 168 | <br/><i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 169 | </gsf:when>
|
---|
| 170 | </gsf:switch>
|
---|
| 171 | </td>
|
---|
| 172 | </gsf:template>
|
---|
| 173 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
| 174 | <gsf:link type="horizontal">
|
---|
| 175 | <gsf:metadata name="Title"/>
|
---|
| 176 | </gsf:link>
|
---|
| 177 | </gsf:template>
|
---|
| 178 | </format>
|
---|
[14062] | 179 | </browse>
|
---|
| 180 | <display>
|
---|
[14386] | 181 | <format><gsf:template match="documentcontent"></gsf:template>
|
---|
| 182 | <gsf:option name="TOC" value="true"/>
|
---|
| 183 | </format>
|
---|
[14062] | 184 | </display>
|
---|
| 185 | <replaceListRef id="gs2-standard"/>
|
---|
| 186 | </CollectionConfig>
|
---|