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

Last change on this file since 36267 was 36267, checked in by davidb, 20 months ago

Shifting to using new StructuredAudio extension and Wavesurfer.js

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