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 | <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>
|
---|
32 | <metadataList>
|
---|
33 | <metadata lang="en" name="creator">**creator**</metadata>
|
---|
34 | <metadata lang="en" name="maintainer">**maintainer**</metadata>
|
---|
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>
|
---|
51 | <index name="Title">
|
---|
52 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
53 | </index>
|
---|
54 | <index name="Source">
|
---|
55 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
56 | </index>
|
---|
57 | <defaultIndex name="text"/>
|
---|
58 | <format name="searchType">plain,form</format>
|
---|
59 | <format><gsf:template match="documentNode"> <td valign="top"> <gsf:link type="document"> <gsf:icon type="document"/> </gsf:link> </td> </gsf:template> </format>
|
---|
60 | </search>
|
---|
61 | <import>
|
---|
62 | <pluginList>
|
---|
63 | <plugin name="ZIPPlug"/>
|
---|
64 | <plugin name="GAPlug"/>
|
---|
65 | <plugin name="MetadataXMLPlug"/>
|
---|
66 | <plugin name="RecPlug"/>
|
---|
67 | <plugin name="EMAILPlug"/>
|
---|
68 | <plugin name="PDFPlug"/>
|
---|
69 | <plugin name="RTFPlug"/>
|
---|
70 | <plugin name="WordPlug"/>
|
---|
71 | <plugin name="ArcPlug"/>
|
---|
72 | <plugin name="TEXTPlug"/>
|
---|
73 | <plugin name="HTMLPlug"/>
|
---|
74 | </pluginList>
|
---|
75 | </import>
|
---|
76 | <browse>
|
---|
77 | <classifier name="AZList">
|
---|
78 | <option name="-metadata" value="Title"/>
|
---|
79 | </classifier>
|
---|
80 | <classifier name="AZList">
|
---|
81 | <option name="-metadata" value="Source"/>
|
---|
82 | <format><gsf:template match="classifierNode"> <br/> <gsf:link type="classifier"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template> </format>
|
---|
83 | </classifier>
|
---|
84 | <format><gsf:template match="classifierNode" mode="horizontal"> <gsf:link type="horizontal"> <gsf:metadata name="Title"/> </gsf:link> </gsf:template> </format>
|
---|
85 | </browse>
|
---|
86 | <display>
|
---|
87 | <format><gsf:template match="documentcontent"> </gsf:template> <gsf:option name="TOC" value="true"/> </format>
|
---|
88 | </display>
|
---|
89 | <replaceListRef id="gs2-standard"/>
|
---|
90 | </CollectionConfig>
|
---|