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">Pei-Jones-Flat</displayItem>
|
---|
10 | </displayItemList>
|
---|
11 | <search type="mgpp">
|
---|
12 | <level name="document">
|
---|
13 | <displayItem lang="en" name="name">document</displayItem>
|
---|
14 | </level>
|
---|
15 | <level name="section">
|
---|
16 | <displayItem lang="en" name="name">section</displayItem>
|
---|
17 | </level>
|
---|
18 | <defaultLevel name="document"/>
|
---|
19 | <index name="text">
|
---|
20 | <displayItem lang="en" name="name">text</displayItem>
|
---|
21 | </index>
|
---|
22 | <index name="Title">
|
---|
23 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
24 | </index>
|
---|
25 | <index name="Source">
|
---|
26 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
27 | </index>
|
---|
28 | <defaultIndex name="text"/>
|
---|
29 | <indexOption>
|
---|
30 | <option name="accentfold"/>
|
---|
31 | <option name="casefold"/>
|
---|
32 | <option name="stem"/>
|
---|
33 | </indexOption>
|
---|
34 | <searchType name="plain"/>
|
---|
35 | <searchType name="simpleform"/>
|
---|
36 | <searchType name="advancedform"/>
|
---|
37 | <format><gsf:template match="documentNode"> <td valign="top"> <gsf:link type="document"> <gsf:icon type="document"/> </gsf:link> </td> <td> <gsf:switch> <gsf:metadata name="Title" select="ancestors" separator=": "/> <gsf:when test="exists"> <gsf:metadata name="Title" select="ancestors" separator=": "/>: </gsf:when> </gsf:switch> <gsf:link type="document"> <gsf:metadata name="Title"/> </gsf:link> </td> </gsf:template> </format>
|
---|
38 | </search>
|
---|
39 | <infodb type="gdbm"/>
|
---|
40 | <import>
|
---|
41 | <pluginList>
|
---|
42 | <plugin name="ZIPPlugin"/>
|
---|
43 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
44 | <plugin name="TextPlugin"/>
|
---|
45 | <plugin name="HTMLPlugin"/>
|
---|
46 | <plugin name="EmailPlugin"/>
|
---|
47 | <plugin name="PDFPlugin"/>
|
---|
48 | <plugin name="RTFPlugin"/>
|
---|
49 | <plugin name="WordPlugin"/>
|
---|
50 | <plugin name="PostScriptPlugin"/>
|
---|
51 | <plugin name="PowerPointPlugin"/>
|
---|
52 | <plugin name="ExcelPlugin"/>
|
---|
53 | <plugin name="ImagePlugin"/>
|
---|
54 | <plugin name="ISISPlugin"/>
|
---|
55 | <plugin name="NulPlugin"/>
|
---|
56 | <plugin name="OAIPlugin"/>
|
---|
57 | <plugin name="MetadataXMLPlugin"/>
|
---|
58 | <plugin name="ArchivesInfPlugin"/>
|
---|
59 | <plugin name="DirectoryPlugin"/>
|
---|
60 | </pluginList>
|
---|
61 | </import>
|
---|
62 | <browse>
|
---|
63 | <classifier name="List">
|
---|
64 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
65 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
66 | </classifier>
|
---|
67 | <classifier name="AZCompactList">
|
---|
68 | <option name="-metadata" value="Source"/>
|
---|
69 | <option name="-removesuffix" value="(?i)\\..*"/>
|
---|
70 | </classifier>
|
---|
71 | <format><gsf:template match="documentNode"><td valign="top"><gsf:link type="document"><gsf:icon type="document"/></gsf:link></td><td valign="top"><gsf:link type="source"><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></gsf:link></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode"><td valign="top"><gsf:link type="classifier"><gsf:icon type="classifier"/></gsf:link></td><td valign="top"><gsf:metadata name="srclink"/><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata><gsf:metadata name="/srclink"/></td><td valign="top"><gsf:choose-metadata><gsf:metadata name="dc.Title"/><gsf:metadata name="exp.Title"/><gsf:metadata name="Title"/><gsf:default>Untitled</gsf:default></gsf:choose-metadata><gsf:switch><gsf:metadata name="Source"/><gsf:when test="exists"><br/><i>(<gsf:metadata name="Source"/>)</i></gsf:when></gsf:switch></td></gsf:template><gsf:template match="classifierNode" mode="horizontal"><gsf:link type="horizontal"><gsf:metadata name="Title"/></gsf:link></gsf:template></format>
|
---|
72 | </browse>
|
---|
73 | <display>
|
---|
74 | <format><gsf:option name="TOC" value="false"/><xsl:template match="documentNode" mode="document"><h3><gsf:metadata name="ex.Title"/></h3><xsl:value-ofdisable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />hhhh</xsl:template></format>
|
---|
75 | </display>
|
---|
76 | <replaceListRef id="gs2-standard"/>
|
---|
77 | <replaceListRef id="gs2-image"/>
|
---|
78 | <serviceRackList>
|
---|
79 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
80 | <serviceRack name="OAIPMH">
|
---|
81 | <ListMetadataFormats>
|
---|
82 | <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
83 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
84 | -->
|
---|
85 | <metadataFormat metadataPrefix="oai_dc">
|
---|
86 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
87 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
88 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
|
---|
89 | <!--<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>
|
---|
90 | -->
|
---|
91 | <mappingList>
|
---|
92 | <!--
|
---|
93 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
94 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
95 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
96 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
97 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
98 |
|
---|
99 | **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.
|
---|
100 |
|
---|
101 | **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.
|
---|
102 | -->
|
---|
103 | <mapping>dc.Title,Title</mapping>
|
---|
104 | <!-- 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. -->
|
---|
105 | </mappingList>
|
---|
106 | </metadataFormat>
|
---|
107 | </ListMetadataFormats>
|
---|
108 | </serviceRack>
|
---|
109 | </serviceRackList>
|
---|
110 | </CollectionConfig>
|
---|