source: main/trunk/model-sites-dev/respooled/collect/popup-video-respooled/etc/collectionConfig.xml@ 29937

Last change on this file since 29937 was 29937, checked in by davidb, 9 years ago

Tidy up on RE for how French and German non-sorting words are handled

  • Property svn:mime-type set to text/plain
File size: 15.9 KB
Line 
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">Popup Videos Respooled</displayItem>
10 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,ex.ID3.Title,Title">titles</displayItem>
11 <displayItem assigned="true" lang="en" name="dc.Creator,ex.dc.Creator,ex.ID3.Artist,Artist">artist</displayItem>
12 <displayItem assigned="true" lang="en" name="salami.overlayNote">annotations</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 </displayItemList>
19 <format>
20 <gsf:template name="choose-title">
21 <gsf:choose-metadata>
22 <gsf:metadata name="dc.Title"/>
23 <gsf:metadata name="exp.Title"/>
24 <gsf:metadata name="ex.dc.Title"/>
25 <gsf:metadata name="ex.ID3.Title"/>
26 <gsf:metadata name="ex.Title"/>
27 <gsf:metadata name="Title"/>
28 <gsf:default>Untitled</gsf:default>
29 </gsf:choose-metadata>
30
31<xsl:text> </xsl:text>
32
33 <gsf:switch>
34 <gsf:metadata name="dc.Description"/>
35 <gsf:when test="exists">
36 <gsf:metadata name="dc.Description"/>
37 </gsf:when>
38 </gsf:switch>
39 </gsf:template>
40
41</format>
42 <search type="lucene">
43 <level name="document">
44 <displayItem lang="en" name="name">document</displayItem>
45 </level>
46 <defaultLevel name="document"/>
47 <index name="dc.Title,ex.dc.Title,ex.ID3.Title,Title">
48 <displayItem lang="en" name="name">titles</displayItem>
49 </index>
50 <index name="dc.Creator,ex.dc.Creator,ex.ID3.Artist,Artist">
51 <displayItem lang="en" name="name">artist</displayItem>
52 </index>
53 <index name="salami.overlayNote">
54 <displayItem lang="en" name="name">annotations</displayItem>
55 </index>
56 <defaultIndex name="dc.Title,ex.dc.Title,ex.ID3.Title,Title"/>
57 <indexOption name="casefold"/>
58 <indexOption name="stem"/>
59 <searchType name="plain"/>
60 <searchType name="simpleform"/>
61 <searchType name="advancedform"/>
62 <format>
63 <gsf:template match="documentNode">
64 <gsf:variable name="cgiargFrameLength">
65 <xsl:value-of select="/page/pageRequest/paramList/param[@name='p.frameLength']/@value"/>
66 </gsf:variable>
67 <xsl:variable name="cgiargYScaleSimImg">
68 <xsl:choose>
69 <xsl:when test="/page/pageRequest/paramList/param[@name='p.yScaleSimImg']/@value != ''">
70 <xsl:value-of select="/page/pageRequest/paramList/param[@name='p.yScaleSimImg']/@value"/>
71 </xsl:when>
72 <xsl:otherwise>0.5</xsl:otherwise>
73 </xsl:choose>
74 </xsl:variable>
75 <td valign="top">
76 <gsf:icon type="document"/>
77 </td>
78 <td>
79 <xsl:choose>
80 <xsl:when test="@rank != 'NaN'">
81 <script>if (gs.cgiParams.s ==<gsf:quot/>AudioQuery<gsf:quot/>) {
82 var rank=<xsl:value-of select="@rank"/>;
83 var perc=(rank-0.9)*100*10;
84 document.write(<gsf:quot/>(<gsf:quot/>+perc.toFixed(1)+<gsf:quot/>%)<gsf:quot/>);
85 }</script>
86 </xsl:when>
87 </xsl:choose>
88 <xsl:choose>
89 <xsl:when test="/page/pageResponse/service[@name='AudioQuery']">
90 <a>
91 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/document/<xsl:value-of select="@nodeID"/>?p.frameOffset=<xsl:value-of select="@frameOffset"/>&amp;p.frameLength=<xsl:value-of select="/page/pageRequest/paramList/param[@name='s1.length']/@value"/>&amp;p.a=q&amp;p.s=<xsl:value-of select="/page/pageResponse/service/@name"/>&amp;p.yScaleSimImg=<xsl:value-of select="$cgiargYScaleSimImg"/></xsl:attribute>
92 <xsl:call-template name="choose-title"/>
93 </a>
94 </xsl:when>
95 <xsl:otherwise>
96 <gsf:link>
97 <xsl:call-template name="choose-title"/>
98 </gsf:link>
99 </xsl:otherwise>
100 </xsl:choose>
101 <gsf:switch>
102 <gsf:metadata name="artist"/>
103 <gsf:when test="exists">by<gsf:metadata name="artist"/></gsf:when>
104 </gsf:switch>
105 <gsf:switch>
106 <gsf:metadata name="js.LabelledStructure"/>
107 <gsf:when test="exists">
108 <br/>
109 <i style="font-size: 80%">(Labelled structure:<gsf:metadata name="js.LabelledStructure"/>)</i>
110 </gsf:when>
111 </gsf:switch>
112 </td>
113 </gsf:template>
114 </format>
115 </search>
116 <infodb type="jdbm"/>
117 <import>
118 <pluginList>
119 <plugin name="ZIPPlugin"/>
120 <plugin name="GreenstoneXMLPlugin"/>
121 <plugin name="UnknownPlugin">
122 <option name="-process_exp" value="(i?)\.mp4$"/>
123 <option name="-OIDtype" value="hash_on_full_filename"/>
124 <option name="-file_rename_method" value="base64"/>
125 </plugin>
126 <plugin name="TextPlugin"/>
127 <plugin name="HTMLPlugin"/>
128 <plugin name="EmailPlugin"/>
129 <plugin name="PDFPlugin"/>
130 <plugin name="RTFPlugin"/>
131 <plugin name="WordPlugin"/>
132 <plugin name="PostScriptPlugin"/>
133 <plugin name="PowerPointPlugin"/>
134 <plugin name="ExcelPlugin"/>
135 <plugin name="ImagePlugin"/>
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 <classifier name="AZCompactList">
146 <option name="-metadata" value="dc.Title;ex.dc.Title;ex.ID3.Title;Title"/>
147 <option name="-mingroup" value="2"/>
148 <option name="-removeprefix" value="(?i)(Le|La|Les|The|A)\\s+"/>
149 </classifier>
150 <classifier name="AZCompactList">
151 <option name="-metadata" value="dc.Creator;ex.dc.Creator;ex.ID3.Artist;Artist"/>
152 <option name="-buttonname" value="Artists"/>
153 <option name="-mingroup" value="1"/>
154 <option name="-minnesting" value="40"/>
155 </classifier>
156 <classifier name="AZCompactList">
157 <option name="-metadata" value="dc.Title.albumtitle"/>
158 <option name="-buttonname" value="Albums"/>
159 <option name="-mingroup" value="1"/>
160 <option name="-minnesting" value="40"/>
161 </classifier>
162 <format>
163 <gsf:template match="documentNode">
164 <td valign="top">
165 <gsf:link type="document">
166 <gsf:icon type="document"/>
167 </gsf:link>
168 </td>
169<!--
170<td valign="top">
171 <gsf:link type="source">
172 <gsf:choose-metadata>
173 <gsf:metadata name="thumbicon"/>
174 <gsf:metadata name="srcicon"/>
175 </gsf:choose-metadata>
176 </gsf:link>
177 </td>
178-->
179 <td valign="top">
180 <gsf:link type="document">
181<!--
182Defined in the global format statement
183-->
184 <xsl:call-template name="choose-title"/>
185 <gsf:switch>
186 <gsf:metadata name="dc.Title"/>
187 <gsf:when test="equals" test-value="Unknown">
188 <br/>
189 <i>(<gsf:metadata name="Source"/>)</i>
190 </gsf:when>
191 </gsf:switch>
192 </gsf:link>
193 </td>
194 </gsf:template>
195 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
196 <td valign="top">
197 <gsf:link type="classifier">
198 <gsf:icon type="classifier"/>
199 </gsf:link>
200 </td>
201 <td valign="top">
202 <gsf:link type="source">
203 <gsf:choose-metadata>
204 <gsf:metadata name="thumbicon"/>
205 <gsf:metadata name="srcicon"/>
206 </gsf:choose-metadata>
207 </gsf:link>
208 </td>
209 <td valign="top">
210<!--
211Defined in the global format statement
212-->
213 <xsl:call-template name="choose-title"/>
214 <gsf:switch>
215 <gsf:metadata name="Source"/>
216 <gsf:when test="exists">
217 <br/>
218 <i>(<gsf:metadata name="Source"/>)</i>
219 </gsf:when>
220 </gsf:switch>
221 </td>
222 </gsf:template>
223 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
224 <gsf:link type="classifier">
225 <gsf:metadata name="Title"/>
226 </gsf:link>
227 </gsf:template>
228 </format>
229 </browse>
230 <display>
231 <format> <gsf:option name="TOC" value="false"/>
232<!--
233Overwriting this template allows you to change the heading of the document.
234-->
235 <gsf:template name="documentHeading">
236 <gsf:metadata hidden="true" name="assocfilepath" select="root"/>
237 <xsl:variable name="httpCollection">
238 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>
239 </xsl:variable>
240<!--
241Metadata derived from finger-printing
242-->
243<!--
244<xsl:call-template name="discovery-block">
245<xsl:with-param name="httpCollection" select="$httpCollection"/>
246</xsl:call-template>
247-->
248<!--
249 <h3>
250 <xsl:call-template name="choose-title"/>
251 </h3>
252-->
253
254 </gsf:template>
255<!--
256Overwriting 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.
257-->
258<!--
259<gsf:template name="documentContent">
260<xsl:call-template name="wrappedSectionImage"/>
261<xsl:call-template name="wrappedSectionText"/>
262</gsf:template>
263-->
264<!--
265Overwriting this template can be used to change the content of section headings.
266-->
267<!--
268<gsf:template name="sectionHeading">
269<xsl:call-template name="choose-title"/>
270</gsf:template>
271-->
272<!--
273Overwriting this template can be used to change the content of the top-level section.
274-->
275<!--
276<gsf:template name="topLevelSectionContent">
277<xsl:call-template name="wrappedSectionImage"/>
278<xsl:call-template name="wrappedSectionText"/>
279</gsf:template>
280-->
281<!--
282Overwriting this template can be used to change the content of sections.
283-->
284<!--
285<gsf:template name="sectionContent">
286<xsl:call-template name="wrappedSectionImage"/>
287<xsl:call-template name="wrappedSectionText"/>
288</gsf:template>
289-->
290 <xsl:template name="additionalHeaderContent">
291 <gsf:variable name="httpCollection">
292 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>
293 </gsf:variable>
294 <gsf:script src="{$httpCollection}/js/pep.js"/>
295 <gsf:link src="{$httpCollection}/style/jtab-helper.css"/>
296 <gsf:script src="{$httpCollection}/js/raphael.js"/>
297 <gsf:script src="{$httpCollection}/js/raphael.group.js"/>
298 <gsf:script src="{$httpCollection}/js/jtab.js"/>
299<!--
300<xsl:call-template name="soundmanager2-header"/>
301<xsl:call-template name="js-mad-header"/>
302-->
303<!--
304Bespoke jquery-ui extension for turnstyle open/close blocks
305-->
306 <gsf:style src="ext/jquery-ui-extra/turnstyle-block.css"/>
307 <gsf:script src="ext/jquery-ui-extra/turnstyle-block.js"/>
308<!--
309The Javascript DSP files for computing chroma features in the browser
310-->
311 <xsl:call-template name="javascript-dsp-header"/>
312<!--
313Javascript support for running, sending input into, monitoring, and stopping Meandre flows
314-->
315<!--
316<gsf:script src="ext/meandre/meandre-controller.js"/>
317<gsf:style src="ext/photo-notes/PhotoNotes-1.5.css"/>
318<gsf:style src="ext/photo-notes/annotator.min.css"/>
319<gsf:script src="ext/photo-notes/BrowserDetect.js"/>
320<gsf:script src="ext/photo-notes/PhotoNotes-1.5.js"/>
321<gsf:script src="ext/photo-notes/main-ingest.js"/>
322<gsf:script src="ext/photo-notes/main-notes.js"/>
323<gsf:script src="{$httpCollection}/script2/main-play-notes.js"/>
324-->
325 <gsf:style src="{$httpCollection}/style/media-player.css"/>
326 <gsf:script src="{$httpCollection}/js/media-player.js"/>
327 <gsf:style src="{$httpCollection}/style/audiosynth.css"/>
328 <gsf:script src="{$httpCollection}/js/audiosynth.js"/>
329 <gsf:script src="{$httpCollection}/js/audiosynth.view.js"/>
330 <gsf:script src="{$httpCollection}/js/in-the-groove.js"/>
331 <gsf:script src="{$httpCollection}/js/jquery-drums.js"/>
332 <gsf:style src="{$httpCollection}/style/jam-guitar.css"/>
333 <gsf:script src="{$httpCollection}/js/jam-guitar.js"/>
334 <gsf:script src="{$httpCollection}/js/game-on.js"/>
335
336 <gsf:style src="{$httpCollection}/js/jquery.qtip.min.css"/>
337 <gsf:script src="{$httpCollection}/js/jquery.qtip.min.js"/>
338 <gsf:script src="{$httpCollection}/js/qtip-popups.js"/>
339
340 <gsf:script src="{$httpCollection}/js/key-detection.js"/>
341
342<!--
343MIDI.js library
344-->
345 <gsf:script src="{$httpCollection}/js/midi/inc/shim/Base64.js"/>
346 <gsf:script src="{$httpCollection}/js/midi/inc/shim/Base64binary.js"/>
347 <gsf:script src="{$httpCollection}/js/midi/inc/shim/WebAudioAPI.js"/>
348<!--
349midi.js package
350-->
351 <gsf:script src="{$httpCollection}/js/midi/audioDetect.js"/>
352 <gsf:script src="{$httpCollection}/js/midi/gm.js"/>
353 <gsf:script src="{$httpCollection}/js/midi/loader.js"/>
354 <gsf:script src="{$httpCollection}/js/midi/plugin.audiotag.js"/>
355 <gsf:script src="{$httpCollection}/js/midi/plugin.webaudio.js"/>
356 <gsf:script src="{$httpCollection}/js/midi/plugin.webmidi.js"/>
357<!--
358utils
359-->
360 <gsf:script src="{$httpCollection}/js/midi/util/dom_request_xhr.js"/>
361 <gsf:script src="{$httpCollection}/js/midi/util/dom_request_script.js"/>
362 <gsf:script src="{$httpCollection}/js/respool-midi.js"/>
363 <gsf:style>.metadata-stripes td { padding: 4px; } .metadata-stripes tr:nth-child(odd) {background: #CCC} .metadata-stripes tr:nth-child(even) {background: #FFF} .vis-heading { font-style:italic; } #rightSidebar { display: none; } #gs_content { border: 0px; margin-top: 10px; min-height: 600px; padding: 0px 10px 10px; }</gsf:style>
364 </xsl:template>
365
366</format>
367 </display>
368 <replaceListRef id="gs2-standard"/>
369 <replaceListRef id="gs2-image"/>
370 <serviceRackList><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
371 <serviceRack name="OAIPMH">
372 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
373 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
374 -->
375 <metadataFormat metadataPrefix="oai_dc">
376 <metadataPrefix>oai_dc</metadataPrefix>
377 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
378 <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>-->
379 <mappingList><!--
380 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
381 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
382 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
383 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
384 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
385
386 **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.
387
388 **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.
389 -->
390 <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. -->
391 </mappingList>
392 </metadataFormat>
393 </ListMetadataFormats>
394 </serviceRack>
395 </serviceRackList>
396 <importOptions>
397 <option name="OIDtype" value="hash_on_full_filename"/>
398 </importOptions>
399</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.