source: documentation/trunk/tutorial_sample_files/beatles/advbeat_large/etc/collectionConfig.xml@ 26111

Last change on this file since 26111 was 26111, checked in by ak19, 9 years ago

Adding GS3 collectionConfig.xml for adv_beat collection so we can build this for the Looking at a multimedia collection

File size: 8.8 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>greenstone@cs.waikato.ac.nz</metadata
6><metadata lang="en" name="public"
7>true</metadata
8></metadataList
9><displayItemList
10><displayItem name="icon" lang="en"
11>beatlesmm.png</displayItem
12><displayItem name="description" lang="en"
13>Demonstration collection illustrating the use of heterogeneous documents. Source documents are about The Beatles pop group in the following formats: HTML, TXT, JPEG, Word, PDF, MIDI, MP3, and MARC file formats.</displayItem
14><displayItem name="name" lang="en"
15>Advanced Beatles -- large</displayItem
16><displayItem name=".document:text" lang="en"
17>text</displayItem
18><displayItem name=".document:Title" lang="en"
19>titles</displayItem
20><displayItem name=".document:Source" lang="en"
21>filenames</displayItem
22></displayItemList
23><search type="mg"
24><index name="document:text"
25><displayItem name="name" lang="en"
26>document:text</displayItem
27></index
28><index name="document:Source"
29><displayItem name="name" lang="en"
30>document:Source</displayItem
31></index
32><index name="document:Title"
33><displayItem name="name" lang="en"
34>document:Title</displayItem
35></index
36><defaultIndex name="document:text"
37 /><format
38><gsf:template match="documentNode"
39><td valign='top'> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' ><gsf:link type='document'><gsf:icon type='document'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Lyrics' ><gsf:link type='document'>_iconlyrics_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Discography' ><gsf:link type='document'>_icondisc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Tablature' ><gsf:link type='document'>_icontab_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='MARC' ><gsf:link type='document'>_iconmarc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Images' ><gsf:link type='source'><gsf:metadata name='thumbicon' /></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Supplementary' ><gsf:link type='source'><gsf:icon type='source'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Audio' ><gsf:link type='source'><gsf:switch><gsf:metadata name='FileFormat' /><gsf:when test='equals' test-value='MIDI' >_iconmidi_</gsf:when><gsf:otherwise>_iconmp3_</gsf:otherwise></gsf:switch></gsf:link></gsf:when></gsf:switch> </td> <td> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' >(<gsf:metadata name='numleafdocs' />)</gsf:when></gsf:switch> </td> <td valign='top'> <gsf:choose-metadata><gsf:metadata name='dc.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata> </td></gsf:template
40></format
41></search
42><import
43><pluginList
44><plugin name="ZIPPlugin"
45></plugin
46><plugin name="GreenstoneXMLPlugin"
47></plugin
48><plugin name="TextPlugin"
49></plugin
50><plugin name="HTMLPlugin"
51></plugin
52><plugin name="ImagePlugin"
53></plugin
54><plugin name="EmailPlugin"
55></plugin
56><plugin name="PDFPlugin"
57></plugin
58><plugin name="RTFPlugin"
59></plugin
60><plugin name="WordPlugin"
61></plugin
62><plugin name="PostScriptPlugin"
63></plugin
64><plugin name="MARCPlugin"
65></plugin
66><plugin name="MP3Plugin"
67></plugin
68><plugin name="UnknownPlugin"
69><option name="-process_exp" value="\.mid$"
70></option
71><option name="-mime_type" value="audio/midi"
72></option
73><option name="-file_format" value="MIDI"
74></option
75></plugin
76><plugin name="MetadataXMLPlugin"
77></plugin
78><plugin name="ArchivesInfPlugin"
79></plugin
80><plugin name="DirectoryPlugin"
81></plugin
82></pluginList
83></import
84><browse
85><format
86><gsf:template match="documentNode"
87><td valign='top'> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' ><gsf:link type='document'><gsf:icon type='document'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Lyrics' ><gsf:link type='document'>_iconlyrics_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Discography' ><gsf:link type='document'>_icondisc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Tablature' ><gsf:link type='document'>_icontab_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='MARC' ><gsf:link type='document'>_iconmarc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Images' ><gsf:link type='source'><gsf:metadata name='thumbicon' /></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Supplementary' ><gsf:link type='source'><gsf:icon type='source'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Audio' ><gsf:link type='source'><gsf:switch><gsf:metadata name='FileFormat' /><gsf:when test='equals' test-value='MIDI' >_iconmidi_</gsf:when><gsf:otherwise>_iconmp3_</gsf:otherwise></gsf:switch></gsf:link></gsf:when></gsf:switch> </td> <td> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' >(<gsf:metadata name='numleafdocs' />)</gsf:when></gsf:switch> </td> <td valign='top'> <gsf:choose-metadata><gsf:metadata name='dc.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata> </td></gsf:template
88><gsf:template match="classifierNode"
89><td valign='top'> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' ><gsf:link type='classifier'><gsf:icon type='classifier'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Lyrics' ><gsf:link type='classifier'>_iconlyrics_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Discography' ><gsf:link type='classifier'>_icondisc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Tablature' ><gsf:link type='classifier'>_icontab_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='MARC' ><gsf:link type='classifier'>_iconmarc_</gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Images' ><gsf:link type='source'><gsf:metadata name='thumbicon' /></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Supplementary' ><gsf:link type='source'><gsf:icon type='source'/></gsf:link></gsf:when></gsf:switch> <gsf:switch><gsf:metadata name='dc.Format' /><gsf:when test='equals' test-value='Audio' ><gsf:link type='source'><gsf:switch><gsf:metadata name='FileFormat' /><gsf:when test='equals' test-value='MIDI' >_iconmidi_</gsf:when><gsf:otherwise>_iconmp3_</gsf:otherwise></gsf:switch></gsf:link></gsf:when></gsf:switch></td> <td> <gsf:switch><gsf:metadata name='numleafdocs' /><gsf:when test='exists' >(<gsf:metadata name='numleafdocs' />)</gsf:when></gsf:switch> </td> <td valign='top'> <gsf:choose-metadata><gsf:metadata name='dc.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata> </td></gsf:template
90><gsf:template match="classifierNode" mode="horizontal"
91><gsf:link type='horizontal'><gsf:choose-metadata><gsf:metadata name='dls.Title' /><gsf:metadata name='dc.Title' /><gsf:metadata name='Title' /><gsf:default>Untitled</gsf:default></gsf:choose-metadata></gsf:link></gsf:template
92></format
93><classifier name="AZCompactList"
94><option name="-mingroup" value="1"
95></option
96><option name="-metadata" value="dc.Title,Title"
97></option
98><option name="-minnesting" value="20"
99></option
100><option name="-firstvalueonly"
101></option
102><option name="-removesuffix" value="(?i)(\\s+\\d+)|(\\s*[[:punct:]]\\s+.*)|(\\s+&amp;#091;.*)|(\\s*by the beatles\\s*)"
103></option
104><option name="-buttonname" value="Title"
105></option
106><option name="-removeprefix" value="(?i)\\s*beatles\\s+\\-\\s+"
107></option
108></classifier
109><classifier name="AZCompactList"
110><option name="-metadata" value="dc.Format"
111></option
112><option name="-buttonname" value="Browse"
113></option
114><option name="-sort" value="Title"
115></option
116></classifier
117><classifier name="Collage"
118></classifier
119></browse
120><replaceListRef id="gs2-standard"
121 /><replaceListRef id="gs2-image"
122 /></CollectionConfig
123>
124
Note: See TracBrowser for help on using the repository browser.