source: gsdl/trunk/collect/modelcol/etc/collectionConfig.xml@ 14356

Last change on this file since 14356 was 14356, checked in by shaoqun, 17 years ago

reordered the plugin list, it turns out that any plugins that follows ARCPlug will be rendered unremovable

  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 KB
RevLine 
[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>
[14201]59 <format><gsf:template match="documentNode"> <td valign="top"> <gsf:link type="document"> <gsf:icon type="document"/> </gsf:link> </td> </gsf:template> </format>
[14062]60 </search>
61 <import>
62 <pluginList>
63 <plugin name="ZIPPlug"/>
64 <plugin name="GAPlug"/>
[14356]65 <plugin name="TEXTPlug"/>
66 <plugin name="HTMLPlug">
67 <option name="-smart_block" />
68 </plugin>
69 <plugin name="EMAILPlug"/>
[14062]70 <plugin name="PDFPlug"/>
71 <plugin name="RTFPlug"/>
72 <plugin name="WordPlug"/>
[14356]73 <plugin name="MetadataXMLPlug"/>
[14062]74 <plugin name="ArcPlug"/>
[14356]75 <plugin name="RecPlug"/>
[14062]76 </pluginList>
77 </import>
78 <browse>
79 <classifier name="AZList">
[14201]80 <option name="-metadata" value="Title"/>
[14062]81 </classifier>
82 <classifier name="AZList">
83 <option name="-metadata" value="Source"/>
84 <format><gsf:template match="classifierNode"> <br/> <gsf:link type="classifier"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template> </format>
85 </classifier>
[14201]86 <format><gsf:template match="classifierNode" mode="horizontal"> <gsf:link type="horizontal"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template> </format>
[14062]87 </browse>
88 <display>
[14201]89 <format><gsf:template match="documentcontent"> </gsf:template> <gsf:option name="TOC" value="true"/> </format>
[14062]90 </display>
91 <replaceListRef id="gs2-standard"/>
92</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.