[29240] | 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">
|
---|
| 3 | <metadataList>
|
---|
| 4 | <metadata lang="en" name="creator"/>
|
---|
| 5 | <metadata lang="en" name="maintainer"/>
|
---|
| 6 | <metadata lang="en" name="public">true</metadata>
|
---|
| 7 | </metadataList>
|
---|
| 8 | <displayItemList>
|
---|
| 9 | <displayItem assigned="true" lang="en" name="name">DSpace-To-GS</displayItem>
|
---|
| 10 | <displayItem assigned="true" lang="en" name="text">text</displayItem>
|
---|
| 11 | <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
|
---|
| 12 | <displayItem assigned="true" lang="en" name="ex.dc.Contributor">Contributors</displayItem>
|
---|
| 13 | <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
|
---|
| 14 | <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
|
---|
| 15 | <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
|
---|
| 16 | <displayItem assigned="true" lang="en" name="document">document</displayItem>
|
---|
| 17 | <displayItem assigned="true" lang="en" name="section">section</displayItem>
|
---|
| 18 | <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
|
---|
| 19 | <displayItem assigned="true" lang="en" name="shortDescription">dspaceto</displayItem>
|
---|
| 20 | <displayItem assigned="true" lang="en" name=".ex.dc.Contributor">ex.dc.Contributor</displayItem>
|
---|
| 21 | </displayItemList>
|
---|
| 22 | <format>
|
---|
| 23 | <gsf:template name="choose-title">
|
---|
| 24 | <gsf:choose-metadata>
|
---|
| 25 | <gsf:metadata name="dc.Title"/>
|
---|
| 26 | <gsf:metadata name="exp.Title"/>
|
---|
| 27 | <gsf:metadata name="ex.dc.Title"/>
|
---|
| 28 | <gsf:metadata name="Title"/>
|
---|
| 29 | <gsf:default>Untitled</gsf:default>
|
---|
| 30 | </gsf:choose-metadata>
|
---|
| 31 | </gsf:template>
|
---|
| 32 | </format>
|
---|
| 33 | <search type="mgpp">
|
---|
| 34 | <level name="document">
|
---|
| 35 | <displayItem lang="en" name="name">document</displayItem>
|
---|
| 36 | </level>
|
---|
| 37 | <level name="section">
|
---|
| 38 | <displayItem lang="en" name="name">section</displayItem>
|
---|
| 39 | </level>
|
---|
| 40 | <defaultLevel name="document"/>
|
---|
| 41 | <index name="text">
|
---|
| 42 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 43 | </index>
|
---|
| 44 | <index name="dc.Title,ex.dc.Title,Title">
|
---|
| 45 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
| 46 | </index>
|
---|
| 47 | <index name="ex.dc.Contributor">
|
---|
| 48 | <displayItem lang="en" name="name">Contributors</displayItem>
|
---|
| 49 | </index>
|
---|
| 50 | <defaultIndex name="text"/>
|
---|
| 51 | <indexOption name="casefold"/>
|
---|
| 52 | <indexOption name="stem"/>
|
---|
| 53 | <searchType name="plain"/>
|
---|
| 54 | <searchType name="simpleform"/>
|
---|
| 55 | <searchType name="advancedform"/>
|
---|
| 56 | <format>
|
---|
| 57 | <gsf:template match="documentNode">
|
---|
| 58 | <td valign="top">
|
---|
| 59 | <gsf:link type="document">
|
---|
| 60 | <gsf:icon type="document"/>
|
---|
| 61 | </gsf:link>
|
---|
| 62 | </td>
|
---|
| 63 | <td>
|
---|
| 64 | <gsf:link type="document">
|
---|
| 65 | <xsl:call-template name="choose-title"/>
|
---|
| 66 | </gsf:link>
|
---|
| 67 | </td>
|
---|
| 68 | </gsf:template>
|
---|
| 69 | </format>
|
---|
| 70 | </search>
|
---|
| 71 | <infodb type="gdbm"/>
|
---|
| 72 | <import>
|
---|
| 73 | <pluginList>
|
---|
| 74 | <plugin name="ZIPPlugin"/>
|
---|
| 75 | <plugin name="DSpacePlugin">
|
---|
| 76 | <option name="-first_inorder_ext" value="pdf,doc,rtf"/>
|
---|
| 77 | </plugin>
|
---|
| 78 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
| 79 | <plugin name="TextPlugin"/>
|
---|
| 80 | <plugin name="HTMLPlugin"/>
|
---|
| 81 | <plugin name="EmailPlugin"/>
|
---|
| 82 | <plugin name="PDFPlugin"/>
|
---|
| 83 | <plugin name="RTFPlugin"/>
|
---|
| 84 | <plugin name="WordPlugin"/>
|
---|
| 85 | <plugin name="PostScriptPlugin"/>
|
---|
| 86 | <plugin name="PowerPointPlugin"/>
|
---|
| 87 | <plugin name="ExcelPlugin"/>
|
---|
| 88 | <plugin name="ImagePlugin"/>
|
---|
| 89 | <plugin name="ISISPlugin"/>
|
---|
| 90 | <plugin name="NulPlugin"/>
|
---|
| 91 | <plugin name="OAIPlugin"/>
|
---|
| 92 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 93 | <plugin name="ArchivesInfPlugin">
|
---|
| 94 | <option name="-sort"/>
|
---|
| 95 | </plugin>
|
---|
| 96 | <plugin name="DirectoryPlugin"/>
|
---|
| 97 | </pluginList>
|
---|
| 98 | </import>
|
---|
| 99 | <browse>
|
---|
| 100 | <classifier name="List">
|
---|
| 101 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
| 102 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
| 103 | </classifier>
|
---|
| 104 | <classifier name="List">
|
---|
| 105 | <option name="-metadata" value="ex.dc.Contributor"/>
|
---|
| 106 | <option name="-partition_type_within_level" value="none"/>
|
---|
| 107 | <option name="-bookshelf_type" value="always"/>
|
---|
| 108 | <option name="-buttonname" value="contributors"/>
|
---|
| 109 | <format>
|
---|
| 110 | <gsf:template match="documentNode">
|
---|
| 111 | <td valign="top">
|
---|
| 112 | <gsf:link type="document">
|
---|
| 113 | <gsf:icon type="document"/>
|
---|
| 114 | </gsf:link>
|
---|
| 115 | </td>
|
---|
| 116 | <td valign="top">
|
---|
| 117 | <gsf:link type="source">
|
---|
| 118 | <gsf:choose-metadata>
|
---|
| 119 | <gsf:metadata name="thumbicon"/>
|
---|
| 120 | <gsf:metadata name="srcicon"/>
|
---|
| 121 | </gsf:choose-metadata>
|
---|
| 122 | </gsf:link>
|
---|
| 123 | </td>
|
---|
| 124 | <td valign="top">
|
---|
| 125 | <gsf:link type="document">
|
---|
| 126 | <gsf:metadata name="ex.dc.Title"/>
|
---|
| 127 | </gsf:link>
|
---|
| 128 | <gsf:switch>
|
---|
| 129 | <gsf:metadata name="Source"/>
|
---|
| 130 | <gsf:when test="exists">
|
---|
| 131 | <br/>
|
---|
| 132 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 133 | </gsf:when>
|
---|
| 134 | </gsf:switch>
|
---|
[29263] | 135 | <gsf:switch>
|
---|
| 136 | <gsf:metadata name="equivDocLink"/>
|
---|
| 137 | <gsf:when test="exists"><br/>Also available as:<gsf:metadata name="equivDocLink"/>
|
---|
| 138 | <gsf:metadata name="equivDocIcon"/><gsf:metadata name="/equivDocLink"/>
|
---|
| 139 | </gsf:when>
|
---|
| 140 | </gsf:switch>
|
---|
[29240] | 141 | </td>
|
---|
| 142 | </gsf:template>
|
---|
| 143 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
| 144 | <td valign="top">
|
---|
| 145 | <gsf:link type="classifier">
|
---|
| 146 | <gsf:icon type="classifier"/>
|
---|
| 147 | </gsf:link>
|
---|
| 148 | </td>
|
---|
[29263] | 149 | <td valign="top"><gsf:metadata name="Title"/> (<gsf:metadata name="numleafdocs"/>)</td>
|
---|
[29240] | 150 | </gsf:template>
|
---|
| 151 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
| 152 | <gsf:link type="classifier">
|
---|
| 153 | <gsf:metadata name="Title"/>
|
---|
| 154 | </gsf:link>
|
---|
| 155 | </gsf:template>
|
---|
| 156 | </format>
|
---|
| 157 | </classifier>
|
---|
| 158 | <format>
|
---|
| 159 | <gsf:template match="documentNode">
|
---|
| 160 | <td valign="top">
|
---|
| 161 | <gsf:link type="document">
|
---|
| 162 | <gsf:icon type="document"/>
|
---|
| 163 | </gsf:link>
|
---|
| 164 | </td>
|
---|
| 165 | <td valign="top">
|
---|
| 166 | <gsf:link type="source">
|
---|
| 167 | <gsf:choose-metadata>
|
---|
| 168 | <gsf:metadata name="thumbicon"/>
|
---|
| 169 | <gsf:metadata name="srcicon"/>
|
---|
| 170 | </gsf:choose-metadata>
|
---|
| 171 | </gsf:link>
|
---|
| 172 | </td>
|
---|
| 173 | <td valign="top">
|
---|
| 174 | <gsf:link type="document">
|
---|
| 175 | <!--
|
---|
| 176 | Defined in the global format statement
|
---|
| 177 | -->
|
---|
| 178 | <xsl:call-template name="choose-title"/>
|
---|
| 179 | <gsf:switch>
|
---|
| 180 | <gsf:metadata name="Source"/>
|
---|
| 181 | <gsf:when test="exists">
|
---|
| 182 | <br/>
|
---|
| 183 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 184 | </gsf:when>
|
---|
| 185 | </gsf:switch>
|
---|
| 186 | </gsf:link>
|
---|
| 187 | <gsf:switch>
|
---|
| 188 | <gsf:metadata name="equivDocLink"/>
|
---|
| 189 | <gsf:when test="exists"><br/>Also available as:<gsf:metadata name="equivDocLink"/><gsf:metadata name="equivDocIcon"/><gsf:metadata name="/equivDocLink"/></gsf:when>
|
---|
| 190 | </gsf:switch>
|
---|
| 191 | </td>
|
---|
| 192 | </gsf:template>
|
---|
| 193 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
| 194 | <td valign="top">
|
---|
| 195 | <gsf:link type="classifier">
|
---|
| 196 | <gsf:icon type="classifier"/>
|
---|
| 197 | </gsf:link>
|
---|
| 198 | </td>
|
---|
| 199 | <td valign="top">
|
---|
| 200 | <gsf:metadata name="Title"/>
|
---|
| 201 | </td>
|
---|
| 202 | </gsf:template>
|
---|
| 203 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
| 204 | <gsf:link type="classifier">
|
---|
| 205 | <gsf:metadata name="Title"/>
|
---|
| 206 | </gsf:link>
|
---|
| 207 | </gsf:template>
|
---|
| 208 | </format>
|
---|
| 209 | </browse>
|
---|
| 210 | <display>
|
---|
| 211 | <format>
|
---|
| 212 | <gsf:option name="TOC" value="true"/>
|
---|
| 213 | <!--
|
---|
| 214 | Overwriting this template allows you to change the heading of the document.
|
---|
| 215 | -->
|
---|
| 216 | <!--
|
---|
| 217 | <gsf:template name="documentHeading">
|
---|
| 218 | <span style="font-weight:bold; font-size: 120%;">
|
---|
| 219 | <xsl:call-template name="choose-title"/>
|
---|
| 220 | </span>
|
---|
| 221 | </gsf:template>
|
---|
| 222 | -->
|
---|
| 223 | <!--
|
---|
| 224 | Overwriting this template can be used to redefine the content of the whole document.
|
---|
| 225 | This is useful for simple documents, but not recommended for more complex documents
|
---|
| 226 | (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
|
---|
| 227 | -->
|
---|
| 228 | <!--
|
---|
| 229 | <gsf:template name="documentContent">
|
---|
| 230 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 231 | <xsl:call-template name="wrappedSectionText"/>
|
---|
| 232 | </gsf:template>
|
---|
| 233 | -->
|
---|
| 234 | <!--
|
---|
| 235 | Overwriting this template can be used to change the content of section headings.
|
---|
| 236 | -->
|
---|
| 237 | <!--
|
---|
| 238 | <gsf:template name="sectionHeading">
|
---|
| 239 | <xsl:call-template name="choose-title"/>
|
---|
| 240 | </gsf:template>
|
---|
| 241 | -->
|
---|
| 242 | <!--
|
---|
| 243 | Overwriting this template can be used to change the content of the top-level section.
|
---|
| 244 | -->
|
---|
| 245 | <!--
|
---|
| 246 | <gsf:template name="topLevelSectionContent">
|
---|
| 247 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 248 | <xsl:call-template name="wrappedSectionText"/>
|
---|
| 249 | </gsf:template>
|
---|
| 250 | -->
|
---|
| 251 | <!--
|
---|
| 252 | Overwriting this template can be used to change the content of sections.
|
---|
| 253 | -->
|
---|
| 254 | <!--
|
---|
| 255 | <gsf:template name="sectionContent">
|
---|
| 256 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
| 257 | <xsl:call-template name="wrappedSectionText"/>
|
---|
| 258 | </gsf:template>
|
---|
| 259 | -->
|
---|
| 260 | </format>
|
---|
| 261 | </display>
|
---|
| 262 | <replaceListRef id="gs2-standard"/>
|
---|
| 263 | <replaceListRef id="gs2-image"/>
|
---|
| 264 | <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
| 265 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
| 266 | <serviceRack name="OAIPMH">
|
---|
| 267 | <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
| 268 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
| 269 | -->
|
---|
| 270 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 271 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
| 272 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
| 273 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<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>-->
|
---|
| 274 | <mappingList><!--
|
---|
| 275 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
| 276 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
| 277 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
| 278 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
| 279 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
| 280 |
|
---|
| 281 | **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.
|
---|
| 282 |
|
---|
| 283 | **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.
|
---|
| 284 | -->
|
---|
| 285 | <mapping>dc:title,Title</mapping><!-- 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. -->
|
---|
| 286 | </mappingList>
|
---|
| 287 | </metadataFormat>
|
---|
| 288 | </ListMetadataFormats>
|
---|
| 289 | </serviceRack>
|
---|
| 290 | </serviceRackList>
|
---|
| 291 | <importOption name="OIDtype" value="hash_on_full_filename"/>
|
---|
| 292 | <importOption name="sortmeta" value="OID"/>
|
---|
| 293 | </CollectionConfig>
|
---|