1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
3 | <security default_access="public" scope="collection">
|
---|
4 | <exception>
|
---|
5 | <group name="atea"/>
|
---|
6 | </exception>
|
---|
7 | </security>
|
---|
8 | <metadataList>
|
---|
9 | <metadata lang="en" name="creator"/>
|
---|
10 | <metadata lang="en" name="maintainer"/>
|
---|
11 | <metadata lang="en" name="public">true</metadata>
|
---|
12 | </metadataList>
|
---|
13 | <displayItemList>
|
---|
14 | <displayItem lang="en" name="name">Performers</displayItem>
|
---|
15 | <displayItem lang="en" name="text">text</displayItem>
|
---|
16 | <displayItem lang="en" name="ex.im.Work,dc.Title,ex.dc.Title,Title">titles</displayItem>
|
---|
17 | <displayItem lang="en" name="Source">filenames</displayItem>
|
---|
18 | <displayItem lang="en" name="document:text">text</displayItem>
|
---|
19 | <displayItem lang="en" name="document:ex.Title">Title</displayItem>
|
---|
20 | <displayItem lang="en" name="document:ex.Source">Source</displayItem>
|
---|
21 | <displayItem lang="en" name="document">document</displayItem>
|
---|
22 | <displayItem lang="en" name="section">section</displayItem>
|
---|
23 | <displayItem lang="en" name="shortDescription">Biographical details about the performers from the IntermusE Programmes Corpus</displayItem>
|
---|
24 | </displayItemList>
|
---|
25 | <format>
|
---|
26 | <gsf:template name="choose-title">
|
---|
27 | <gsf:choose-metadata>
|
---|
28 | <gsf:metadata name="ex.im.Work"/>
|
---|
29 | <gsf:metadata name="dc.Title"/>
|
---|
30 | <gsf:metadata name="exp.Title"/>
|
---|
31 | <gsf:metadata name="ex.dc.Title"/>
|
---|
32 | <gsf:metadata name="Title"/>
|
---|
33 | <gsf:default>Untitled</gsf:default>
|
---|
34 | </gsf:choose-metadata>
|
---|
35 | </gsf:template>
|
---|
36 | <!--
|
---|
37 | modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
|
---|
38 | -->
|
---|
39 | <xsl:template name="coll-description">
|
---|
40 | <p>
|
---|
41 | <gslib:collectionDescriptionTextAndServicesLinks/>
|
---|
42 | </p>
|
---|
43 | <xsl:variable name="raw_date">
|
---|
44 | <gslib:collectionMeta name="buildDate"/>
|
---|
45 | </xsl:variable>
|
---|
46 | <xsl:variable name="formatted_date">
|
---|
47 | <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
|
---|
48 | </xsl:variable>
|
---|
49 | <xsl:variable name="numdocs">
|
---|
50 | <gslib:collectionMeta name="numDocs"/>
|
---|
51 | </xsl:variable>
|
---|
52 | <p>
|
---|
53 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
|
---|
54 | </p>
|
---|
55 | </xsl:template>
|
---|
56 | </format>
|
---|
57 | <search type="lucene">
|
---|
58 | <index name="text">
|
---|
59 | <displayItem lang="en" name="name">text</displayItem>
|
---|
60 | </index>
|
---|
61 | <index name="ex.im.Work,dc.Title,ex.dc.Title,Title">
|
---|
62 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
63 | </index>
|
---|
64 | <index name="Source">
|
---|
65 | <displayItem lang="en" name="name">filenames</displayItem>
|
---|
66 | </index>
|
---|
67 | <defaultIndex name="text"/>
|
---|
68 | <level name="document">
|
---|
69 | <displayItem lang="en" name="name">document</displayItem>
|
---|
70 | </level>
|
---|
71 | <level name="section">
|
---|
72 | <displayItem lang="en" name="name">section</displayItem>
|
---|
73 | </level>
|
---|
74 | <defaultLevel name="document"/>
|
---|
75 | <sort name="rank">
|
---|
76 | <displayItem lang="en" name="name">rank</displayItem>
|
---|
77 | </sort>
|
---|
78 | <sort name="none">
|
---|
79 | <displayItem lang="en" name="name">natural (build) order</displayItem>
|
---|
80 | </sort>
|
---|
81 | <searchType name="plain"/>
|
---|
82 | <searchType name="simpleform"/>
|
---|
83 | <searchType name="advancedform"/>
|
---|
84 | <format>
|
---|
85 | <gsf:template match="documentNode">
|
---|
86 | <td valign="top">
|
---|
87 | <gsf:link type="document">
|
---|
88 | <gsf:icon type="document"/>
|
---|
89 | </gsf:link>
|
---|
90 | </td>
|
---|
91 | <td>
|
---|
92 | <gsf:link type="document">
|
---|
93 | <xsl:call-template name="choose-title"/>
|
---|
94 | </gsf:link>
|
---|
95 | </td>
|
---|
96 | </gsf:template>
|
---|
97 | </format>
|
---|
98 | </search>
|
---|
99 | <infodb type="jdbm"/>
|
---|
100 | <import>
|
---|
101 | <pluginList>
|
---|
102 | <plugin name="ZIPPlugin"/>
|
---|
103 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
104 | <plugin name="CSVPlugin">
|
---|
105 | <!-- <option name="-input_encoding" value="iso_8859_1"/> -->
|
---|
106 | <option name="-use_namespace_for_field_names" value="ex.im" />
|
---|
107 | <option name="-OIDtype" value="assigned"/>
|
---|
108 | <option name="-OIDmetadata" value="ex.im.No"/>
|
---|
109 | <option name="-metadata_value_separator" value=","/>
|
---|
110 | <option name="-store_field_values_as_document_text" />
|
---|
111 |
|
---|
112 | </plugin>
|
---|
113 | <plugin name="GoogleVisionImagePlugin">
|
---|
114 | <option name="-enable_document_ocr"/>
|
---|
115 | <option name="-enable_image_labelling"/>
|
---|
116 | <option name="-block_exp" value="(?i)\.(txt|item)$"/>
|
---|
117 | </plugin>
|
---|
118 | <plugin name="TextPlugin">
|
---|
119 | <option name="-process_exp" value="(?=(?i).te?xt\$)(?=^(?!.*tk_))"/>
|
---|
120 | </plugin>
|
---|
121 | <plugin name="HTMLPlugin"/>
|
---|
122 | <plugin name="EmailPlugin"/>
|
---|
123 | <plugin name="PDFv2Plugin"/>
|
---|
124 | <plugin name="UnknownConverterPlugin">
|
---|
125 | <option name="-exec_cmd" value="java -jar $GSDLHOME/ext/tika/tika-app-*.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
|
---|
126 | <option name="-convert_to" value="html"/>
|
---|
127 | <option name="-mime_type" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
|
---|
128 | <option name="-srcicon" value="icondocx"/>
|
---|
129 | <option name="-process_extension" value="docx"/>
|
---|
130 | </plugin>
|
---|
131 | <plugin name="RTFPlugin"/>
|
---|
132 | <plugin name="WordPlugin"/>
|
---|
133 | <plugin name="PostScriptPlugin"/>
|
---|
134 | <plugin name="PowerPointPlugin"/>
|
---|
135 | <plugin name="ExcelPlugin"/>
|
---|
136 | <plugin name="ISISPlugin"/>
|
---|
137 | <plugin name="NulPlugin"/>
|
---|
138 | <plugin name="OAIPlugin"/>
|
---|
139 | <plugin name="MetadataXMLPlugin"/>
|
---|
140 | <plugin name="ArchivesInfPlugin"/>
|
---|
141 | <plugin name="DirectoryPlugin"/>
|
---|
142 | </pluginList>
|
---|
143 | </import>
|
---|
144 | <browse>
|
---|
145 | <!-- Artist,Composer,Work,Venue,Attendance,Review,Notes -->
|
---|
146 |
|
---|
147 | <classifier name="AZCompactList">
|
---|
148 | <option name="-metadata" value="ex.im.Work,Title"/>
|
---|
149 | <option name="-buttonname" value="Work"/>
|
---|
150 | <option name="-mingroup" value="2"/>
|
---|
151 | </classifier>
|
---|
152 | <classifier name="AZCompactList">
|
---|
153 | <option name="-metadata" value="ex.im.No"/>
|
---|
154 | <option name="-buttonname" value="IntermusE ID"/>
|
---|
155 | </classifier>
|
---|
156 | <classifier name="AZCompactList">
|
---|
157 | <option name="-metadata" value="ex.im.Artist"/>
|
---|
158 | <option name="-buttonname" value="Artist"/>
|
---|
159 | <option name="-removesuffix" value="\([^)]*\)"/>
|
---|
160 | </classifier>
|
---|
161 | <classifier name="AZCompactList">
|
---|
162 | <option name="-metadata" value="ex.im.Composer"/>
|
---|
163 | <option name="-buttonname" value="Composer"/>
|
---|
164 | </classifier>
|
---|
165 | <classifier name="AZCompactList">
|
---|
166 | <option name="-metadata" value="ex.im.Venue"/>
|
---|
167 | <option name="-buttonname" value="Venue"/>
|
---|
168 | </classifier>
|
---|
169 |
|
---|
170 | <!--
|
---|
171 | <classifier name="List">
|
---|
172 | <option name="-metadata" value="dc.Title,Title"/>
|
---|
173 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
174 | <option name="-numeric_partition_type_within_level" value="approximate_size"/>
|
---|
175 | <option name="-metadata_selection_mode_within_level" value="firstvalue"/>
|
---|
176 | </classifier>
|
---|
177 | -->
|
---|
178 |
|
---|
179 | <format>
|
---|
180 | <gsf:template match="documentNode">
|
---|
181 | <td valign="top">
|
---|
182 | <gsf:link type="document">
|
---|
183 | <gsf:choose-metadata>
|
---|
184 | <gsf:metadata name="thumbicon"/>
|
---|
185 | <gsf:metadata name="srcicon"/>
|
---|
186 | <gsf:default>
|
---|
187 | <gsf:icon type="document"/>
|
---|
188 | </gsf:default>
|
---|
189 | </gsf:choose-metadata>
|
---|
190 | </gsf:link>
|
---|
191 | </td>
|
---|
192 | <td valign="top">
|
---|
193 | <gsf:link type="document">
|
---|
194 | <!--
|
---|
195 | Defined in the global format statement
|
---|
196 | -->
|
---|
197 | <xsl:call-template name="choose-title"/>
|
---|
198 | <gsf:switch>
|
---|
199 | <gsf:metadata name="ex.im.Artist"/>
|
---|
200 | <gsf:when test="exists">, performed by <gsf:metadata name="ex.im.Artist"/></gsf:when>
|
---|
201 | </gsf:switch>
|
---|
202 | <!--
|
---|
203 | <gsf:switch>
|
---|
204 | <gsf:metadata name="Composer"/>
|
---|
205 | <gsf:when test="exists">
|
---|
206 | <i> (Composed by <gsf:metadata name="Composer"/>)</i>
|
---|
207 | </gsf:when>
|
---|
208 | </gsf:switch>
|
---|
209 | -->
|
---|
210 |
|
---|
211 | </gsf:link>
|
---|
212 | </td>
|
---|
213 | </gsf:template>
|
---|
214 |
|
---|
215 | <gsf:template match="classifierNode[@classifierStyle = 'VList']">
|
---|
216 | <td valign="top">
|
---|
217 | <gsf:link style="static" type="classifier">
|
---|
218 | <gsf:icon type="classifier"/>
|
---|
219 | </gsf:link>
|
---|
220 | </td>
|
---|
221 | <td valign="top">
|
---|
222 | <gsf:link type="classifier">
|
---|
223 | <gsf:metadata name="Title"/>
|
---|
224 | </gsf:link>
|
---|
225 | </td>
|
---|
226 | </gsf:template>
|
---|
227 |
|
---|
228 | <gsf:template match="classifierNode[@classifierStyle = 'HList']">
|
---|
229 | <gsf:link style="static" type="classifier">
|
---|
230 | <gsf:metadata name="Title"/>
|
---|
231 | </gsf:link>
|
---|
232 | </gsf:template>
|
---|
233 | </format>
|
---|
234 | </browse>
|
---|
235 | <display>
|
---|
236 | <format>
|
---|
237 | <gsf:option name="TOC" value="true"/>
|
---|
238 | <gsf:option name="allowUserComments" value="true"/>
|
---|
239 | <gsf:option name="allowDocumentEditing" value="true"/>
|
---|
240 | <gsf:option name="allowMapGPSEditing" value="true"/>
|
---|
241 | <!--
|
---|
242 | Overwriting this template allows you to change the heading of the document.
|
---|
243 | -->
|
---|
244 | <!--
|
---|
245 | <gsf:template name="documentHeading">
|
---|
246 | <span style="font-weight:italic; font-size: 120%;">
|
---|
247 | <xsl:call-template name="choose-title"/>
|
---|
248 | </span>
|
---|
249 | </gsf:template>
|
---|
250 | -->
|
---|
251 |
|
---|
252 | <xsl:template name="documentHeading">
|
---|
253 | <span style="font-weight:bold; font-size: 120%;">
|
---|
254 | <xsl:call-template name="choose-title"/>
|
---|
255 | </span>
|
---|
256 | <gsf:metadata-table>
|
---|
257 | <gsf:metadata name="ex.im.No">IntermusE ID:</gsf:metadata>
|
---|
258 | <gsf:metadata name="ex.im.Work">Work:</gsf:metadata>
|
---|
259 | <gsf:metadata name="ex.im.Artist">Artist(s):</gsf:metadata>
|
---|
260 | <gsf:metadata name="ex.im.Venue">Venue:</gsf:metadata>
|
---|
261 | <gsf:metadata name="ex.im.Composer">Composer:</gsf:metadata>
|
---|
262 | </gsf:metadata-table>
|
---|
263 | </xsl:template>
|
---|
264 |
|
---|
265 |
|
---|
266 | <!--
|
---|
267 | Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
|
---|
268 | -->
|
---|
269 | <!--
|
---|
270 | <gsf:template name="documentContent">
|
---|
271 | <div id="gs-document">
|
---|
272 | <xsl:call-template name="documentPre"/>
|
---|
273 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
274 | <div id="gs-document-text">
|
---|
275 | <xsl:call-template name="documentNodeText"/>
|
---|
276 | </div>
|
---|
277 | </div>
|
---|
278 | </gsf:template>
|
---|
279 | -->
|
---|
280 | <!--
|
---|
281 | Overwriting this template can be used to change the content of section headings.
|
---|
282 | -->
|
---|
283 | <gsf:template name="sectionHeading">
|
---|
284 | <xsl:call-template name="choose-title"/>
|
---|
285 | </gsf:template>
|
---|
286 | <!--
|
---|
287 | Overwriting this template can be used to change the content of the top-level section.
|
---|
288 | -->
|
---|
289 | <!--
|
---|
290 | <gsf:template name="topLevelSectionContent">
|
---|
291 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
292 | <xsl:call-template name="wrappedSectionText"/>
|
---|
293 | </gsf:template>
|
---|
294 | -->
|
---|
295 | <!--
|
---|
296 | Overwriting this template can be used to change the content of sections.
|
---|
297 | -->
|
---|
298 | <!--
|
---|
299 | <gsf:template name="sectionContent">
|
---|
300 | <xsl:call-template name="wrappedSectionImage"/>
|
---|
301 | <xsl:call-template name="wrappedSectionText"/>
|
---|
302 | </gsf:template>
|
---|
303 | -->
|
---|
304 | </format>
|
---|
305 | </display>
|
---|
306 | <replaceListRef id="gs2-standard"/>
|
---|
307 | <replaceListRef id="gs2-image"/>
|
---|
308 | <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
|
---|
309 | <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
310 | <serviceRack name="OAIPMH">
|
---|
311 | <setName>intermuseprogammes</setName>
|
---|
312 | <setDescription/><!-- uncomment the following and set the name attribute if
|
---|
313 | you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
|
---|
314 | <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
|
---|
315 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
316 | <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
|
---|
317 | </ListMetadataFormats>
|
---|
318 | </serviceRack>
|
---|
319 | <serviceRack name="IIIFPMH">
|
---|
320 | <setName>intermuseprogammes</setName>
|
---|
321 | <setDescription/><!-- uncomment the following and set the name attribute if
|
---|
322 | you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
|
---|
323 | <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
|
---|
324 | <metadataFormat metadataPrefix="prefix"/> -->
|
---|
325 | <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
|
---|
326 | </ListMetadataFormats>
|
---|
327 | </serviceRack>
|
---|
328 | </serviceRackList>
|
---|
329 | </CollectionConfig>
|
---|