[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">
|
---|
[21656] | 3 | <metadataList>
|
---|
| 4 | <metadata lang="en" name="creator">**creator**</metadata>
|
---|
| 5 | <metadata lang="en" name="maintainer">**maintainer**</metadata>
|
---|
| 6 | <metadata lang="en" name="public">**public**</metadata>
|
---|
| 7 | </metadataList>
|
---|
| 8 | <displayItemList>
|
---|
| 9 | <displayItem assigned="true" lang="en" name="name">**title**</displayItem>
|
---|
| 10 | <displayItem assigned="true" lang="en" name="description">**about**</displayItem>
|
---|
| 11 | </displayItemList>
|
---|
| 12 | <search type="mgpp">
|
---|
| 13 | <level name="document">
|
---|
| 14 | <displayItem lang="en" name="name">document</displayItem>
|
---|
| 15 | </level>
|
---|
| 16 | <level name="section">
|
---|
| 17 | <displayItem lang="en" name="name">section</displayItem>
|
---|
| 18 | </level>
|
---|
| 19 | <defaultLevel name="document"/>
|
---|
| 20 | <index name="text">
|
---|
| 21 | <displayItem lang="en" name="name">text</displayItem>
|
---|
| 22 | </index>
|
---|
| 23 | <index name="Title">
|
---|
| 24 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
| 25 | </index>
|
---|
| 26 | <index name="Source">
|
---|
| 27 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
| 28 | </index>
|
---|
| 29 | <defaultIndex name="text"/>
|
---|
[21657] | 30 | <searchType name="plain"/>
|
---|
| 31 | <searchType name="simpleform"/>
|
---|
| 32 | <!-- <searchType name="advancedform"/> -->
|
---|
| 33 | <format>
|
---|
| 34 | <gsf:template match="documentNode">
|
---|
[21656] | 35 | <td valign="top">
|
---|
| 36 | <gsf:link type="document">
|
---|
| 37 | <gsf:icon type="document"/>
|
---|
| 38 | </gsf:link>
|
---|
| 39 | </td>
|
---|
| 40 | <td>
|
---|
| 41 | <gsf:switch>
|
---|
| 42 | <gsf:metadata name="Title" select="ancestors" separator=": "/>
|
---|
| 43 | <gsf:when test="exists">
|
---|
| 44 | <gsf:metadata name="Title" select="ancestors" separator=": "/>:
|
---|
| 45 | </gsf:when>
|
---|
| 46 | </gsf:switch>
|
---|
| 47 | <gsf:link type="document">
|
---|
| 48 | <gsf:metadata name="Title"/>
|
---|
| 49 | </gsf:link>
|
---|
| 50 | </td>
|
---|
| 51 | </gsf:template>
|
---|
| 52 | </format>
|
---|
| 53 | </search>
|
---|
| 54 | <import>
|
---|
| 55 | <pluginList>
|
---|
| 56 | <plugin name="ZIPPlugin"/>
|
---|
| 57 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
| 58 | <plugin name="TextPlugin"/>
|
---|
| 59 | <plugin name="HTMLPlugin"/>
|
---|
| 60 | <plugin name="EmailPlugin"/>
|
---|
| 61 | <plugin name="PDFPlugin"/>
|
---|
| 62 | <plugin name="RTFPlugin"/>
|
---|
| 63 | <plugin name="WordPlugin"/>
|
---|
| 64 | <plugin name="PostScriptPlugin"/>
|
---|
| 65 | <plugin name="PowerPointPlugin"/>
|
---|
| 66 | <plugin name="ExcelPlugin"/>
|
---|
| 67 | <plugin name="ImagePlugin"/>
|
---|
| 68 | <plugin name="ISISPlugin"/>
|
---|
| 69 | <plugin name="NulPlugin"/>
|
---|
| 70 | <plugin name="OAIPlugin"/>
|
---|
| 71 | <plugin name="MetadataXMLPlugin"/>
|
---|
| 72 | <plugin name="ArchivesInfPlugin"/>
|
---|
| 73 | <plugin name="DirectoryPlugin"/>
|
---|
| 74 | </pluginList>
|
---|
| 75 | </import>
|
---|
| 76 | <browse>
|
---|
| 77 | <classifier name="List">
|
---|
| 78 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
| 79 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
| 80 | </classifier>
|
---|
| 81 | <classifier name="List">
|
---|
| 82 | <option name="-metadata" value="Source"/>
|
---|
| 83 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
| 84 | </classifier>
|
---|
| 85 | <format>
|
---|
| 86 | <gsf:template match="documentNode">
|
---|
| 87 | <td valign="top">
|
---|
| 88 | <gsf:link type="document">
|
---|
| 89 | <gsf:icon type="document"/>
|
---|
| 90 | </gsf:link>
|
---|
| 91 | </td>
|
---|
| 92 | <td valign="top">
|
---|
| 93 | <gsf:metadata name="srclink"/>
|
---|
| 94 | <gsf:choose-metadata>
|
---|
| 95 | <gsf:metadata name="thumbicon"/>
|
---|
| 96 | <gsf:metadata name="srcicon"/>
|
---|
| 97 | </gsf:choose-metadata>
|
---|
| 98 | <gsf:metadata name="/srclink"/>
|
---|
| 99 | </td>
|
---|
| 100 | <td valign="top">
|
---|
| 101 | <gsf:choose-metadata>
|
---|
| 102 | <gsf:metadata name="dc.Title"/>
|
---|
| 103 | <gsf:metadata name="exp.Title"/>
|
---|
| 104 | <gsf:metadata name="Title"/>
|
---|
| 105 | <gsf:default>Untitled</gsf:default>
|
---|
| 106 | </gsf:choose-metadata>
|
---|
| 107 | <gsf:switch>
|
---|
| 108 | <gsf:metadata name="Source"/>
|
---|
| 109 | <gsf:when test="exists">
|
---|
| 110 | <br/>
|
---|
| 111 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 112 | </gsf:when>
|
---|
| 113 | </gsf:switch>
|
---|
| 114 | </td>
|
---|
| 115 | </gsf:template>
|
---|
| 116 | <gsf:template match="classifierNode">
|
---|
| 117 | <td valign="top">
|
---|
| 118 | <gsf:link type="classifier">
|
---|
| 119 | <gsf:icon type="classifier"/>
|
---|
| 120 | </gsf:link>
|
---|
| 121 | </td>
|
---|
| 122 | <td valign="top">
|
---|
| 123 | <gsf:metadata name="srclink"/>
|
---|
| 124 | <gsf:choose-metadata>
|
---|
| 125 | <gsf:metadata name="thumbicon"/>
|
---|
| 126 | <gsf:metadata name="srcicon"/>
|
---|
| 127 | </gsf:choose-metadata>
|
---|
| 128 | <gsf:metadata name="/srclink"/>
|
---|
| 129 | </td>
|
---|
| 130 | <td valign="top">
|
---|
| 131 | <gsf:choose-metadata>
|
---|
| 132 | <gsf:metadata name="dc.Title"/>
|
---|
| 133 | <gsf:metadata name="exp.Title"/>
|
---|
| 134 | <gsf:metadata name="Title"/>
|
---|
| 135 | <gsf:default>Untitled</gsf:default>
|
---|
| 136 | </gsf:choose-metadata>
|
---|
| 137 | <gsf:switch>
|
---|
| 138 | <gsf:metadata name="Source"/>
|
---|
| 139 | <gsf:when test="exists">
|
---|
| 140 | <br/><i>(<gsf:metadata name="Source"/>)</i>
|
---|
| 141 | </gsf:when>
|
---|
| 142 | </gsf:switch>
|
---|
| 143 | </td>
|
---|
| 144 | </gsf:template>
|
---|
| 145 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
| 146 | <gsf:link type="horizontal">
|
---|
| 147 | <gsf:metadata name="Title"/>
|
---|
| 148 | </gsf:link>
|
---|
| 149 | </gsf:template>
|
---|
| 150 | </format>
|
---|
| 151 | </browse>
|
---|
| 152 | <display>
|
---|
| 153 | <format>
|
---|
[19952] | 154 | <gsf:option name="TOC" value="false"/>
|
---|
[21656] | 155 | </format>
|
---|
| 156 | </display>
|
---|
| 157 | <replaceListRef id="gs2-standard"/>
|
---|
[21657] | 158 | <OAI>
|
---|
| 159 | <ListMetadataFormats>
|
---|
| 160 | <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
| 161 | The support of unqualified Dublin Core metadata set is mendatory in the oai specification.
|
---|
| 162 | -->
|
---|
| 163 | <metadataFormat metadataPrefix="oai_dc">
|
---|
| 164 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
| 165 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
| 166 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
|
---|
| 167 | <!--<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>
|
---|
| 168 | -->
|
---|
| 169 | <mappingList>
|
---|
| 170 | <!--
|
---|
| 171 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
| 172 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
| 173 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
| 174 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
| 175 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
| 176 |
|
---|
| 177 | **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.
|
---|
| 178 |
|
---|
| 179 | **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.
|
---|
| 180 | -->
|
---|
| 181 | <mapping>dc.Title,Title</mapping>
|
---|
| 182 | <!-- 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. -->
|
---|
| 183 | </mappingList>
|
---|
| 184 | </metadataFormat>
|
---|
| 185 | </ListMetadataFormats>
|
---|
| 186 | </OAI>
|
---|
| 187 |
|
---|
[14062] | 188 | </CollectionConfig>
|
---|