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">Word-PDF-Formatting</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="text">text</displayItem>
|
---|
11 | <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
|
---|
12 | <displayItem assigned="true" lang="en" name="dc.Creator">creators</displayItem>
|
---|
13 | <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
|
---|
14 | <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
|
---|
15 | <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
|
---|
16 | <displayItem assigned="true" lang="en" name="document">document</displayItem>
|
---|
17 | <displayItem assigned="true" lang="en" name="section">section</displayItem>
|
---|
18 | <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
|
---|
19 | <displayItem assigned="true" lang="en" name="shortDescription">wordpdfb</displayItem>
|
---|
20 | <displayItem assigned="true" lang="en" name=".dc.Creator">_labelCreator_</displayItem>
|
---|
21 | </displayItemList>
|
---|
22 | <format> <gsf:template name="choose-title">
|
---|
23 | <gsf:choose-metadata>
|
---|
24 | <gsf:metadata name="dc.Title"/>
|
---|
25 | <gsf:metadata name="ex.dc.Title"/>
|
---|
26 | <gsf:metadata name="Title"/>
|
---|
27 | <gsf:default>Untitled</gsf:default>
|
---|
28 | </gsf:choose-metadata>
|
---|
29 | </gsf:template>
|
---|
30 |
|
---|
31 | </format>
|
---|
32 | <search type="mgpp">
|
---|
33 | <level name="document">
|
---|
34 | <displayItem lang="en" name="name">document</displayItem>
|
---|
35 | </level>
|
---|
36 | <level name="section">
|
---|
37 | <displayItem lang="en" name="name">section</displayItem>
|
---|
38 | </level>
|
---|
39 | <defaultLevel name="document"/>
|
---|
40 | <index name="text">
|
---|
41 | <displayItem lang="en" name="name">text</displayItem>
|
---|
42 | </index>
|
---|
43 | <index name="dc.Title,ex.dc.Title,Title">
|
---|
44 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
45 | </index>
|
---|
46 | <index name="dc.Creator">
|
---|
47 | <displayItem lang="en" name="name">creators</displayItem>
|
---|
48 | </index>
|
---|
49 | <defaultIndex name="text"/>
|
---|
50 | <indexOption name="casefold"/>
|
---|
51 | <indexOption name="stem"/>
|
---|
52 | <searchType name="plain"/>
|
---|
53 | <searchType name="simpleform"/>
|
---|
54 | <searchType name="advancedform"/>
|
---|
55 | <format> <gsf:template match="documentNode">
|
---|
56 | <td valign="top">
|
---|
57 | <gsf:link type="document">
|
---|
58 | <gsf:icon type="document"/>
|
---|
59 | </gsf:link>
|
---|
60 | <gsf:link type="source">
|
---|
61 | <gsf:metadata name="srcicon"/>
|
---|
62 | </gsf:link>
|
---|
63 | </td>
|
---|
64 | <td>
|
---|
65 | <gsf:link type="document">
|
---|
66 | <xsl:call-template name="choose-title"/>
|
---|
67 | </gsf:link>
|
---|
68 | </td>
|
---|
69 | </gsf:template>
|
---|
70 |
|
---|
71 | </format>
|
---|
72 | </search>
|
---|
73 | <infodb type="gdbm"/>
|
---|
74 | <import>
|
---|
75 | <pluginList>
|
---|
76 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
77 | <plugin name="PDFPlugin"/>
|
---|
78 | <plugin name="RTFPlugin"/>
|
---|
79 | <plugin name="WordPlugin"/>
|
---|
80 | <plugin name="PostScriptPlugin"/>
|
---|
81 | <plugin name="OAIPlugin"/>
|
---|
82 | <plugin name="MetadataXMLPlugin"/>
|
---|
83 | <plugin name="ArchivesInfPlugin">
|
---|
84 | <option name="-sort"/>
|
---|
85 | </plugin>
|
---|
86 | <plugin name="DirectoryPlugin"/>
|
---|
87 | </pluginList>
|
---|
88 | </import>
|
---|
89 | <browse>
|
---|
90 | <classifier name="List">
|
---|
91 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
92 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
93 | </classifier>
|
---|
94 | <classifier name="AZCompactList">
|
---|
95 | <option name="-metadata" value="dc.Creator"/>
|
---|
96 | <option name="-firstvalueonly"/>
|
---|
97 | </classifier>
|
---|
98 | <format> <gsf:template match="documentNode">
|
---|
99 | <td valign="top">
|
---|
100 | <gsf:link type="document">
|
---|
101 | <gsf:icon type="document"/>
|
---|
102 | </gsf:link>
|
---|
103 | </td>
|
---|
104 | <td valign="top">
|
---|
105 | <gsf:link type="source">
|
---|
106 | <gsf:metadata name="srcicon"/>
|
---|
107 | </gsf:link>
|
---|
108 | </td>
|
---|
109 | <td valign="top">
|
---|
110 | <gsf:link type="document">
|
---|
111 | <!--
|
---|
112 | Defined in the global format statement
|
---|
113 | -->
|
---|
114 | <xsl:call-template name="choose-title"/>
|
---|
115 | <gsf:switch>
|
---|
116 | <gsf:metadata name="Source"/>
|
---|
117 | <gsf:when test="exists">
|
---|
118 | <br/>
|
---|
119 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
120 | </gsf:when>
|
---|
121 | </gsf:switch>
|
---|
122 | </gsf:link>
|
---|
123 | <br/>
|
---|
124 | <gsf:metadata name="dc.Creator">
|
---|
125 | <separator><br /></separator>
|
---|
126 | </gsf:metadata>
|
---|
127 | </td>
|
---|
128 | </gsf:template>
|
---|
129 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
130 | <td valign="top">
|
---|
131 | <gsf:link type="classifier">
|
---|
132 | <gsf:icon type="classifier"/>
|
---|
133 | </gsf:link>
|
---|
134 | </td>
|
---|
135 | <td valign="top">
|
---|
136 | <gsf:metadata name="Title"/>
|
---|
137 | </td>
|
---|
138 | <td>(<gsf:metadata name="numleafdocs"/>)</td>
|
---|
139 | </gsf:template>
|
---|
140 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
141 | <gsf:link type="classifier">
|
---|
142 | <gsf:metadata name="Title"/>
|
---|
143 | </gsf:link>
|
---|
144 | </gsf:template>
|
---|
145 |
|
---|
146 | </format>
|
---|
147 | </browse>
|
---|
148 | <display>
|
---|
149 | <format>
|
---|
150 | <gsf:option name="TOC" value="true"/>
|
---|
151 | <!--
|
---|
152 | Overwriting this template allows you to change the heading of the document.
|
---|
153 | -->
|
---|
154 | <!--
|
---|
155 | <gsf:template name="documentHeading">
|
---|
156 | <span style="font-weight:bold; font-size: 120%;">
|
---|
157 | <xsl:call-template name="choose-title"/>
|
---|
158 | </span>
|
---|
159 | </gsf:template>
|
---|
160 | -->
|
---|
161 | <!--
|
---|
162 | Overwriting this template can be used to redefine the content of the whole document.
|
---|
163 | This is useful for simple documents, but not recommended for more complex documents
|
---|
164 | (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
|
---|
165 | -->
|
---|
166 | <!--
|
---|
167 | <gsf:template name="documentContent">
|
---|
168 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
169 | <xsl:call-template name="wrappedSectionText"/>
|
---|
170 | </gsf:template>
|
---|
171 | -->
|
---|
172 | <!--
|
---|
173 | Overwriting this template can be used to change the content of section headings.
|
---|
174 | -->
|
---|
175 | <!--
|
---|
176 | <gsf:template name="sectionHeading">
|
---|
177 | <xsl:call-template name="choose-title"/>
|
---|
178 | </gsf:template>
|
---|
179 | -->
|
---|
180 | <!--
|
---|
181 | Overwriting this template can be used to change the content of the top-level section.
|
---|
182 | -->
|
---|
183 | <!--
|
---|
184 | <gsf:template name="topLevelSectionContent">
|
---|
185 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
186 | <xsl:call-template name="wrappedSectionText"/>
|
---|
187 | </gsf:template>
|
---|
188 | -->
|
---|
189 | <!--
|
---|
190 | Overwriting this template can be used to change the content of sections.
|
---|
191 | -->
|
---|
192 | <!--
|
---|
193 | <gsf:template name="sectionContent">
|
---|
194 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
195 | <xsl:call-template name="wrappedSectionText"/>
|
---|
196 | </gsf:template>
|
---|
197 | -->
|
---|
198 | </format>
|
---|
199 | </display>
|
---|
200 | <replaceListRef id="gs2-standard"/>
|
---|
201 | <replaceListRef id="gs2-image"/>
|
---|
202 | <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
203 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
204 | <serviceRack name="OAIPMH">
|
---|
205 | <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
206 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
207 | -->
|
---|
208 | <metadataFormat metadataPrefix="oai_dc">
|
---|
209 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
210 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
211 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<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>-->
|
---|
212 | <mappingList><!--
|
---|
213 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
214 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
215 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
216 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
217 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
218 |
|
---|
219 | **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.
|
---|
220 |
|
---|
221 | **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.
|
---|
222 | -->
|
---|
223 | <mapping>dc:title,Title</mapping><!-- 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. -->
|
---|
224 | </mappingList>
|
---|
225 | </metadataFormat>
|
---|
226 | </ListMetadataFormats>
|
---|
227 | </serviceRack>
|
---|
228 | </serviceRackList>
|
---|
229 | <importOption name="OIDtype" value="hash_on_full_filename"/>
|
---|
230 | <importOption name="sortmeta" value="OID"/>
|
---|
231 | </CollectionConfig>
|
---|