source: main/trunk/model-sites-dev/atea/collect/tiriana-audio/etc/collectionConfig.bak@ 36167

Last change on this file since 36167 was 36167, checked in by davidb, 2 years ago

First cut at files for a enriched audio player based on wavesurfer regions

File size: 10.1 KB
Line 
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="private" 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 assigned="true" lang="en" name="name">Tiriana-Audio</displayItem>
15 <displayItem assigned="true" lang="en" name="CardNotes,Notes,TapeLabel,TapeName">all fields</displayItem>
16 <displayItem assigned="true" lang="en" name="CardNotes,Notes">notes</displayItem>
17 <displayItem assigned="true" lang="en" name="document:text">text</displayItem>
18 <displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
19 <displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
20 <displayItem assigned="true" lang="en" name="document">document</displayItem>
21 <displayItem assigned="true" lang="en" name="text">text</displayItem>
22 <displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
23 <displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
24 <displayItem assigned="true" lang="en" name="section">section</displayItem>
25 <displayItem assigned="true" lang="en" name="shortDescription">tirianaa</displayItem>
26 <displayItem assigned="true" lang="en" name=".CardNotes,Notes,TapeLabel,TapeName">CardNotes,Notes,TapeLabel,TapeName</displayItem>
27 <displayItem assigned="true" lang="en" name=".CardNotes,Notes">CardNotes,Notes</displayItem>
28 </displayItemList>
29 <format>
30 <gsf:template name="choose-title">
31 <gsf:choose-metadata>
32 <gsf:metadata name="dc.Title"/>
33 <gsf:metadata name="TapeName"/>
34 <gsf:metadata name="exp.Title"/>
35 <gsf:metadata name="ex.dc.Title"/>
36 <gsf:metadata name="Title"/>
37 <gsf:default>Untitled</gsf:default>
38 </gsf:choose-metadata>
39 </gsf:template>
40<!--
41modify the collection description template to output the "this collection contains X documents and was last built Y days ago" message
42-->
43 <xsl:template name="coll-description">
44 <p>
45 <gslib:collectionDescriptionTextAndServicesLinks/>
46 </p>
47 <xsl:variable name="raw_date">
48 <gslib:collectionMeta name="buildDate"/>
49 </xsl:variable>
50 <xsl:variable name="formatted_date">
51 <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
52 </xsl:variable>
53 <xsl:variable name="numdocs">
54 <gslib:collectionMeta name="numDocs"/>
55 </xsl:variable>
56 <p>
57 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
58 </p>
59 </xsl:template>
60 </format>
61 <search type="lucene">
62 <level name="document">
63 <displayItem lang="en" name="name">document</displayItem>
64 </level>
65 <defaultLevel name="document"/>
66 <index name="CardNotes,Notes,TapeLabel,TapeName">
67 <displayItem lang="en" name="name">all fields</displayItem>
68 </index>
69 <index name="CardNotes,Notes">
70 <displayItem lang="en" name="name">notes</displayItem>
71 </index>
72 <defaultIndex name="CardNotes,Notes,TapeLabel,TapeName"/>
73 <sort name="rank">
74 <displayItem lang="en" name="name">rank</displayItem>
75 </sort>
76 <sort name="none">
77 <displayItem lang="en" name="name">natural (build) order</displayItem>
78 </sort>
79 <searchType name="plain"/>
80 <searchType name="simpleform"/>
81 <searchType name="advancedform"/>
82 <format>
83 <gsf:template match="documentNode">
84 <td valign="top">
85 <gsf:link type="document">
86 <gsf:icon type="document"/>
87 </gsf:link>
88 </td>
89 <td>
90 <gsf:link type="document">
91 <xsl:call-template name="choose-title"/>
92 </gsf:link>
93 </td>
94 </gsf:template>
95 </format>
96 </search>
97 <infodb type="jdbm"/>
98 <import>
99 <pluginList>
100 <plugin name="ZIPPlugin"/>
101 <plugin name="GreenstoneXMLPlugin"/>
102 <plugin name="TextPlugin"/>
103 <plugin name="HTMLPlugin"/>
104 <plugin name="EmailPlugin"/>
105 <plugin name="PDFv2Plugin"/>
106 <plugin name="UnknownConverterPlugin">
107 <option name="-exec_cmd" value="java -jar $GSDLHOME/ext/tika/tika-app-*.jar --html --pretty-print --encoding=UTF-8 %%INPUT_FILE > %%OUTPUT"/>
108 <option name="-convert_to" value="html"/>
109 <option name="-mime_type" value="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
110 <option name="-srcicon" value="icondocx"/>
111 <option name="-process_extension" value="docx"/>
112 </plugin>
113 <plugin name="RTFPlugin"/>
114 <plugin name="WordPlugin"/>
115 <plugin name="PostScriptPlugin"/>
116 <plugin name="PowerPointPlugin"/>
117 <plugin name="ExcelPlugin"/>
118 <plugin name="ImagePlugin"/>
119 <plugin name="ISISPlugin"/>
120 <plugin name="NulPlugin"/>
121 <plugin name="OAIPlugin"/>
122 <plugin name="UnknownPlugin">
123 <option name="-mime_type" value="audio/x-wav"/>
124 <option name="-process_extension" value="wav"/>
125 </plugin>
126 <plugin name="MetadataCSVPlugin"/>
127 <plugin name="MetadataXMLPlugin"/>
128 <plugin name="ArchivesInfPlugin"/>
129 <plugin name="DirectoryPlugin"/>
130 </pluginList>
131 </import>
132 <browse>
133 <classifier name="AZCompactList">
134 <option name="-metadata" value="dc.Title,TapeName"/>
135 <option name="-sort" value="ex.OrderTapeBy"/>
136 <option name="-buttonname" value="Tape Name"/>
137 <format>
138 <gsf:template match="documentNode">
139 <td valign="top">
140 <gsf:link type="document">
141 <gsf:icon type="document"/>
142 </gsf:link>
143 </td>
144 <td valign="top">
145 <gsf:link type="document">Side:<gsf:metadata name="Side"/><gsf:switch><gsf:metadata name="UnnamedIndex"/><gsf:when test="exists"><i style="padding-left: 12px">(Unnamed index:<gsf:metadata name="UnnamedIndex"/>)</i></gsf:when></gsf:switch><gsf:switch><gsf:metadata name="Chapter"/><gsf:when test="exists"><i style="padding-left: 12px">(Chapter:<gsf:metadata name="Chapter"/>)</i></gsf:when></gsf:switch></gsf:link>
146 </td>
147 </gsf:template>
148 </format>
149 </classifier>
150 <format>
151 <gsf:template match="documentNode">
152 <td valign="top">
153 <gsf:link type="document">
154 <gsf:icon type="document"/>
155 </gsf:link>
156 </td>
157 <td valign="top">
158 <gsf:link type="document">
159<!--
160Defined in the global format statement
161-->
162 <xsl:call-template name="choose-title"/>
163 <gsf:switch>
164 <gsf:metadata name="Source"/>
165 <gsf:when test="exists">
166 <br/>
167 <i>(<gsf:metadata name="Source"/>)</i>
168 </gsf:when>
169 </gsf:switch>
170 </gsf:link>
171 </td>
172 </gsf:template>
173 <gsf:template match="classifierNode[@classifierStyle = 'VList']">
174 <td valign="top">
175 <gsf:link style="static" type="classifier">
176 <gsf:icon type="classifier"/>
177 </gsf:link>
178 </td>
179 <td valign="top">
180 <gsf:link type="classifier">
181 <gsf:metadata name="Title"/>
182 </gsf:link>
183 </td>
184 </gsf:template>
185 <gsf:template match="classifierNode[@classifierStyle = 'HList']">
186 <gsf:link style="static" type="classifier">
187 <gsf:metadata name="Title"/>
188 </gsf:link>
189 </gsf:template>
190 </format>
191 </browse>
192 <display>
193 <format>
194 <gsf:option name="TOC" value="true"/>
195 <gsf:option name="allowUserComments" value="false"/>
196 <gsf:option name="allowDocumentEditing" value="true"/>
197 <gsf:option name="allowMapGPSEditing" value="true"/>
198 <gsf:headMetaTags>
199 <gsf:metadata name="CardNotes"/>
200 <gsf:metadata name="Notes"/>
201 <gsf:metadata name="TapeLabel"/>
202 <gsf:metadata name="IsMicroCassette"/>
203 <gsf:metadata name="Source"/>
204 </gsf:headMetaTags>
205<!--
206Overwriting this template allows you to change the heading of the document.
207-->
208<!--
209<gsf:template name="documentHeading">
210<span style="font-weight:bold; font-size: 120%;">
211<xsl:call-template name="choose-title"/>
212</span>
213</gsf:template>
214-->
215<!--
216Overwriting 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.
217-->
218<!--
219<gsf:template name="documentContent">
220<div id="gs-document">Notes:
221<gsf:metadata name="Notes"/>
222<xsl:call-template name="documentPreNew"/>
223<xsl:call-template name="wrappedSectionImage"/>
224<div id="gs-document-text">
225<xsl:call-template name="documentNodeText"/>
226</div>
227</div>
228</gsf:template>
229-->
230<!--
231Overwriting this template can be used to change the content of section headings.
232-->
233<!--
234<gsf:template name="sectionHeading">
235<xsl:call-template name="choose-title"/>
236</gsf:template>
237-->
238<!--
239Overwriting this template can be used to change the content of the top-level section.
240-->
241<!--
242<gsf:template name="topLevelSectionContent">
243<xsl:call-template name="wrappedSectionImage"/>
244<xsl:call-template name="wrappedSectionText"/>
245</gsf:template>
246-->
247<!--
248Overwriting this template can be used to change the content of sections.
249-->
250<!--
251<gsf:template name="sectionContent">
252<xsl:call-template name="wrappedSectionImage"/>
253<xsl:call-template name="wrappedSectionText"/>
254</gsf:template>
255-->
256 </format>
257 </display>
258 <replaceListRef id="gs2-standard"/>
259 <replaceListRef id="gs2-image"/>
260 <serviceRackList><!-- comment out the following serviceRack if you want to disable RSS for this collection -->
261 <serviceRack name="RSSRetrieve"/><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
262 <serviceRack name="OAIPMH">
263 <setName>tirianaa</setName>
264 <setDescription/><!-- uncomment the following and set the name attribute if
265 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
266 <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:
267 <metadataFormat metadataPrefix="prefix"/> -->
268 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
269 </ListMetadataFormats>
270 </serviceRack>
271 </serviceRackList>
272</CollectionConfig>
Note: See TracBrowser for help on using the repository browser.