source: other-projects/nightly-tasks/diffcol/trunk/gs3-model-collect/Multimedia/etc/collectionConfig.xml@ 36686

Last change on this file since 36686 was 36686, checked in by anupama, 19 months ago

AUTOCOMMIT by gen-model-colls.sh script. Message: Rebuilding the Multimedia GS3 model collection for diffcol following the commits for its GS2 model-collect 29592, and previous 2 commits (see https://trac.greenstone.org/log/other-projects/nightly-tasks/diffcol/trunk/model-collect/Multimedia/etc/collect.cfg ?r=29592), in the hope that this will help with getting the GS3 version of the Multimedia model-collection to be in proper sorted order for diffcol as well.

File size: 10.4 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="icon">beatlesmm.png</displayItem>
10 <displayItem assigned="true" lang="en" name="name">Multimedia</displayItem>
11 <displayItem assigned="true" lang="en" name="text">text</displayItem>
12 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
13 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
14 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
15 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
16 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
17 <displayItem assigned="true" lang="en" name="document">document</displayItem>
18 <displayItem assigned="true" lang="en" name="section">section</displayItem>
19 <displayItem assigned="true" lang="en" name="shortDescription">multimed</displayItem>
20 </displayItemList>
21 <format>
22 <gsf:template name="choose-title">
23 <gsf:choose-metadata>
24 <gsf:metadata name="dc.Title"/>
25 <gsf:metadata name="exp.Title"/>
26 <gsf:metadata name="ex.dc.Title"/>
27 <gsf:metadata name="Title"/>
28 <gsf:default>Untitled</gsf:default>
29 </gsf:choose-metadata>
30 </gsf:template>
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="Source">
47 <displayItem lang="en" name="name">filenames</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>
56 <gsf:template match="documentNode">
57 <td valign="top">
58 <gsf:link type="document">
59 <gsf:icon type="document"/>
60 </gsf:link>
61 </td>
62 <td>
63 <gsf:link type="document">
64 <xsl:call-template name="choose-title"/>
65 </gsf:link>
66 </td>
67 </gsf:template>
68 </format>
69 </search>
70 <infodb type="gdbm"/>
71 <import>
72 <pluginList>
73 <plugin name="ZIPPlugin"/>
74 <plugin name="GreenstoneXMLPlugin"/>
75 <plugin name="TextPlugin"/>
76 <plugin name="HTMLPlugin"/>
77 <plugin name="EmailPlugin"/>
78 <plugin name="PDFPlugin"/>
79 <plugin name="RTFPlugin"/>
80 <plugin name="WordPlugin"/>
81 <plugin name="PostScriptPlugin"/>
82 <plugin name="PowerPointPlugin"/>
83 <plugin name="ExcelPlugin"/>
84 <plugin name="ImagePlugin"/>
85 <plugin name="ISISPlugin"/>
86 <plugin name="NulPlugin"/>
87 <plugin name="OAIPlugin"/>
88 <plugin name="MP3Plugin"/>
89 <plugin name="MARCPlugin"/>
90 <plugin name="UnknownPlugin">
91 <option name="-file_format" value="MIDI"/>
92 <option name="-mime_type" value="audio/midi"/>
93 <option name="-process_extension" value="mid"/>
94 </plugin>
95 <plugin name="MetadataXMLPlugin"/>
96 <plugin name="ArchivesInfPlugin">
97 <option name="-sort"/>
98 </plugin>
99 <plugin name="DirectoryPlugin"/>
100 </pluginList>
101 </import>
102 <browse>
103 <classifier name="AZCompactList">
104 <option name="-metadata" value="dc.Title,Title"/>
105 <option name="-removesuffix" value="(?i)(\s+\d+)|(\s+[[:punct:]].*)"/>
106 <option name="-sort" value="ex.Identifier"/>
107 <option name="-removeprefix" value="(?i)(a|the)\s+"/>
108 </classifier>
109 <classifier name="List">
110 <option name="-metadata" value="dc.Format"/>
111 <option name="-bookshelf_type" value="always"/>
112 <option name="-partition_type_within_level" value="none"/>
113 <option name="-sort_leaf_nodes_using" value="ex.Title"/>
114 <option name="-buttonname" value="browse"/>
115 </classifier>
116 <classifier name="Phind"/>
117 <classifier name="Collage"/>
118 <format>
119 <gsf:template match="documentNode">
120 <td valign="top">
121 <gsf:switch>
122 <gsf:metadata name="dc.Format"/>
123 <gsf:when test="equals" test-value="Lyrics">
124 <gsf:link type="document">
125 <gsf:icon file="lyrics.gif" select="collection"/>
126 </gsf:link>
127 </gsf:when>
128 <gsf:when test="equals" test-value="Discography">
129 <gsf:link type="document">
130 <gsf:icon file="disc.gif" select="collection"/>
131 </gsf:link>
132 </gsf:when>
133 <gsf:when test="equals" test-value="Tablature">
134 <gsf:link type="document">
135 <gsf:icon file="tab.gif" select="collection"/>
136 </gsf:link>
137 </gsf:when>
138 <gsf:when test="equals" test-value="MARC">
139 <gsf:link type="document">
140 <gsf:icon file="marc.gif" select="collection"/>
141 </gsf:link>
142 </gsf:when>
143 <gsf:when test="equals" test-value="Images">
144 <gsf:link type="source">
145 <gsf:metadata name="thumbicon"/>
146 </gsf:link>
147 </gsf:when>
148 <gsf:when test="equals" test-value="Supplementary">
149 <gsf:link type="source">
150 <gsf:metadata name="srcicon"/>
151 </gsf:link>
152 </gsf:when>
153 <gsf:when test="equals" test-value="Audio">
154 <gsf:link type="source">
155 <gsf:switch>
156 <gsf:metadata name="FileFormat"/>
157 <gsf:when test="equals" test-value="MIDI">
158 <gsf:icon file="midi.gif" select="collection"/>
159 </gsf:when>
160 <gsf:otherwise>
161 <gsf:metadata name="srcicon"/>
162 </gsf:otherwise>
163 </gsf:switch>
164 </gsf:link>
165 </gsf:when>
166 </gsf:switch>
167 </td>
168 <td valign="top">
169 <gsf:link type="document">
170<!--
171Defined in the global format statement
172-->
173 <xsl:call-template name="choose-title"/>
174 </gsf:link>
175 </td>
176 </gsf:template>
177 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
178 <td valign="top">
179 <gsf:link type="classifier">
180 <gsf:icon type="classifier"/>
181 </gsf:link>
182 </td>
183 <td valign="top">
184 <gsf:metadata name="Title"/>
185 </td>
186 <td> (<gsf:metadata name="numleafdocs"/>)</td>
187 </gsf:template>
188 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
189 <gsf:link type="classifier">
190 <gsf:metadata name="Title"/>
191 </gsf:link>
192 </gsf:template>
193 </format>
194 </browse>
195 <display>
196 <format>
197 <gsf:option name="TOC" value="true"/>
198<!--
199Overwriting this template allows you to change the heading of the document.
200-->
201<!--
202<gsf:template name="documentHeading">
203<span style="font-weight:bold; font-size: 120%;">
204<xsl:call-template name="choose-title"/>
205</span>
206</gsf:template>
207-->
208<!--
209Overwriting 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.
210-->
211<!--
212<gsf:template name="documentContent">
213<xsl:call-template name="wrappedSectionImage"/>
214<xsl:call-template name="wrappedSectionText"/>
215</gsf:template>
216-->
217<!--
218Overwriting this template can be used to change the content of section headings.
219-->
220<!--
221<gsf:template name="sectionHeading">
222<xsl:call-template name="choose-title"/>
223</gsf:template>
224-->
225<!--
226Overwriting this template can be used to change the content of the top-level section.
227-->
228<!--
229<gsf:template name="topLevelSectionContent">
230<xsl:call-template name="wrappedSectionImage"/>
231<xsl:call-template name="wrappedSectionText"/>
232</gsf:template>
233-->
234<!--
235Overwriting this template can be used to change the content of sections.
236-->
237<!--
238<gsf:template name="sectionContent">
239<xsl:call-template name="wrappedSectionImage"/>
240<xsl:call-template name="wrappedSectionText"/>
241</gsf:template>
242-->
243 </format>
244 </display>
245 <replaceListRef id="gs2-standard"/>
246 <replaceListRef id="gs2-image"/>
247 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
248 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
249 <serviceRack name="OAIPMH">
250 <ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
251 The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
252 -->
253 <metadataFormat metadataPrefix="oai_dc">
254 <metadataPrefix>oai_dc</metadataPrefix>
255 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
256 <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>-->
257 <mappingList><!--
258 The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
259 The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
260 searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
261 number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
262 if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
263
264 **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.
265
266 **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.
267 -->
268 <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. -->
269 </mappingList>
270 </metadataFormat>
271 </ListMetadataFormats>
272 </serviceRack>
273 </serviceRackList>
274 <importOption name="OIDtype" value="hash_on_full_filename"/>
275 <importOption name="sortmeta" value="OID"/>
276</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.