Changeset 21656 for main/trunk
- Timestamp:
- 2010-01-27T12:18:49+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml
r20871 r21656 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>3 <OAI> 4 4 <ListMetadataFormats> 5 <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.6 7 -->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 8 <metadataFormat metadataPrefix="oai_dc"> 9 9 <metadataPrefix>oai_dc</metadataPrefix> … … 13 13 --> 14 14 <mappingList> 15 16 17 18 19 20 21 22 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 23 24 25 26 27 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 28 </mappingList> 29 </metadataFormat>29 </metadataFormat> 30 30 </ListMetadataFormats> 31 </OAI>32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 31 </OAI> 32 <metadataList> 33 <metadata lang="en" name="creator">**creator**</metadata> 34 <metadata lang="en" name="maintainer">**maintainer**</metadata> 35 <metadata lang="en" name="public">**public**</metadata> 36 </metadataList> 37 <displayItemList> 38 <displayItem assigned="true" lang="en" name="name">**title**</displayItem> 39 <displayItem assigned="true" lang="en" name="description">**about**</displayItem> 40 </displayItemList> 41 <search type="mgpp"> 42 <level name="document"> 43 <displayItem lang="en" name="name">document</displayItem> 44 </level> 45 <level name="section"> 46 <displayItem lang="en" name="name">section</displayItem> 47 </level> 48 <defaultLevel name="document"/> 49 <index name="text"> 50 <displayItem lang="en" name="name">text</displayItem> 51 </index> 52 <index name="Title"> 53 <displayItem lang="en" name="name">titles</displayItem> 54 </index> 55 <index name="Source"> 56 <displayItem lang="en" name="name">filenames</displayItem> 57 </index> 58 <defaultIndex name="text"/> 59 <format name="searchType">plain,form</format> 60 <format><gsf:template match="documentNode"> 61 <td valign="top"> 62 <gsf:link type="document"> 63 <gsf:icon type="document"/> 64 </gsf:link> 65 </td> 66 <td> 67 <gsf:switch> 68 <gsf:metadata name="Title" select="ancestors" separator=": "/> 69 <gsf:when test="exists"> 70 <gsf:metadata name="Title" select="ancestors" separator=": "/>: 71 </gsf:when> 72 </gsf:switch> 73 <gsf:link type="document"> 74 <gsf:metadata name="Title"/> 75 </gsf:link> 76 </td> 77 </gsf:template> 78 </format> 79 </search> 80 <import> 81 <pluginList> 82 <plugin name="ZIPPlugin"/> 83 <plugin name="GreenstoneXMLPlugin"/> 84 <plugin name="TextPlugin"/> 85 <plugin name="HTMLPlugin"/> 86 <plugin name="EmailPlugin"/> 87 <plugin name="PDFPlugin"/> 88 <plugin name="RTFPlugin"/> 89 <plugin name="WordPlugin"/> 90 <plugin name="PostScriptPlugin"/> 91 <plugin name="PowerPointPlugin"/> 92 <plugin name="ExcelPlugin"/> 93 <plugin name="ImagePlugin"/> 94 <plugin name="ISISPlugin"/> 95 <plugin name="NulPlugin"/> 96 <plugin name="OAIPlugin"/> 97 <plugin name="MetadataXMLPlugin"/> 98 <plugin name="ArchivesInfPlugin"/> 99 <plugin name="DirectoryPlugin"/> 100 </pluginList> 101 </import> 102 <browse> 103 <classifier name="List"> 104 <option name="-metadata" value="dc.Title;Title"/> 105 <option name="-partition_type_within_level" value="approximate_size"/> 106 </classifier> 107 <classifier name="List"> 108 <option name="-metadata" value="Source"/> 109 <option name="-partition_type_within_level" value="approximate_size"/> 110 </classifier> 111 <format> 112 <gsf:template match="documentNode"> 113 <td valign="top"> 114 <gsf:link type="document"> 115 <gsf:icon type="document"/> 116 </gsf:link> 117 </td> 118 <td valign="top"> 119 <gsf:metadata name="srclink"/> 120 <gsf:choose-metadata> 121 <gsf:metadata name="thumbicon"/> 122 <gsf:metadata name="srcicon"/> 123 </gsf:choose-metadata> 124 <gsf:metadata name="/srclink"/> 125 </td> 126 <td valign="top"> 127 <gsf:choose-metadata> 128 <gsf:metadata name="dc.Title"/> 129 <gsf:metadata name="exp.Title"/> 130 <gsf:metadata name="Title"/> 131 <gsf:default>Untitled</gsf:default> 132 </gsf:choose-metadata> 133 <gsf:switch> 134 <gsf:metadata name="Source"/> 135 <gsf:when test="exists"> 136 <br/> 137 <i>(<gsf:metadata name="Source"/>)</i> 138 </gsf:when> 139 </gsf:switch> 140 </td> 141 </gsf:template> 142 <gsf:template match="classifierNode"> 143 <td valign="top"> 144 <gsf:link type="classifier"> 145 <gsf:icon type="classifier"/> 146 </gsf:link> 147 </td> 148 <td valign="top"> 149 <gsf:metadata name="srclink"/> 150 <gsf:choose-metadata> 151 <gsf:metadata name="thumbicon"/> 152 <gsf:metadata name="srcicon"/> 153 </gsf:choose-metadata> 154 <gsf:metadata name="/srclink"/> 155 </td> 156 <td valign="top"> 157 <gsf:choose-metadata> 158 <gsf:metadata name="dc.Title"/> 159 <gsf:metadata name="exp.Title"/> 160 <gsf:metadata name="Title"/> 161 <gsf:default>Untitled</gsf:default> 162 </gsf:choose-metadata> 163 <gsf:switch> 164 <gsf:metadata name="Source"/> 165 <gsf:when test="exists"> 166 <br/><i>(<gsf:metadata name="Source"/>)</i> 167 </gsf:when> 168 </gsf:switch> 169 </td> 170 </gsf:template> 171 <gsf:template match="classifierNode" mode="horizontal"> 172 <gsf:link type="horizontal"> 173 <gsf:metadata name="Title"/> 174 </gsf:link> 175 </gsf:template> 176 </format> 177 </browse> 178 <display> 179 <format> 180 180 <gsf:option name="TOC" value="false"/> 181 182 183 181 </format> 182 </display> 183 <replaceListRef id="gs2-standard"/> 184 184 </CollectionConfig>
Note:
See TracChangeset
for help on using the changeset viewer.