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"></metadata>
|
---|
5 | <metadata lang="en" name="maintainer"></metadata>
|
---|
6 | <metadata lang="en" name="public">true</metadata>
|
---|
7 | </metadataList>
|
---|
8 | <displayItemList>
|
---|
9 | <displayItem assigned="true" lang="en" name="name">cosi-slac</displayItem>
|
---|
10 | <displayItem assigned="true" lang="en" name="description">
|
---|
11 | <p>
|
---|
12 | This collection shows the capabilities of
|
---|
13 | <a href="http://jmir.sourceforge.net/jAudio.html">jAudio</a>
|
---|
14 | and
|
---|
15 | <a href="http://jmir.sourceforge.net/jSongMiner.html">jSongMiner</a>
|
---|
16 | in combination with Greenstone3, based on the
|
---|
17 | 250 MP3 files from the
|
---|
18 | <a href="http://jmir.sourceforge.net/Codaich.html">SLAC</a>
|
---|
19 | (Symbolic Lyrical Audio Cultural) dataset which—broadly speaking—spans
|
---|
20 | 5 broad genre, with 50 examples of each:
|
---|
21 | <ul>
|
---|
22 | <li>Modern Blues and Traditional Blues;
|
---|
23 | <li>Baroque and Romantic;
|
---|
24 | <li>Bebop and Swing;
|
---|
25 | <li>Hardcore Rap and Pop Rap; and
|
---|
26 | <li>Alternative Rock and Metal.
|
---|
27 | </ul>
|
---|
28 | </p>
|
---|
29 |
|
---|
30 | <p>
|
---|
31 | When the digital library collection is built, jAudio is used to compute
|
---|
32 | a range of audio fetures commonly
|
---|
33 | used in the field of Music Information Retrieval (MIR). These features are bound to
|
---|
34 | the document in the digital library correspondig to the source MP3 file. Similarly,
|
---|
35 | jSongMiner is used to undertake audio-fingerprinting of the source MP3 files, and
|
---|
36 | seek out matches at sites such as LastFM and EchoNest. Again, the results of
|
---|
37 | this process (a rich set of metadata about a song) is bound into the digital
|
---|
38 | library collection.
|
---|
39 | </p>
|
---|
40 |
|
---|
41 | </displayItem>
|
---|
42 | </displayItemList>
|
---|
43 | <search type="lucene">
|
---|
44 | <level name="document">
|
---|
45 | <displayItem lang="en" name="name">document</displayItem>
|
---|
46 | </level>
|
---|
47 | <!--
|
---|
48 | <level name="section">
|
---|
49 | <displayItem lang="en" name="name">section</displayItem>
|
---|
50 | </level>
|
---|
51 | -->
|
---|
52 | <defaultLevel name="document"/>
|
---|
53 | <index name="dc.Title,dc.Creator,LastFM.LastFMArtistWikiSummary">
|
---|
54 | <displayItem lang="en" name="name">all fields</displayItem>
|
---|
55 | </index>
|
---|
56 | <index name="dc.Title">
|
---|
57 | <displayItem lang="en" name="name">titles</displayItem>
|
---|
58 | </index>
|
---|
59 | <index name="dc.Creator">
|
---|
60 | <displayItem lang="en" name="name">artists</displayItem>
|
---|
61 | </index>
|
---|
62 | <defaultIndex name="dc.Title,dc.Creator,LastFM.LastFMArtistWikiSummary"/>
|
---|
63 | <searchType name="plain"/>
|
---|
64 | <searchType name="simpleform"/>
|
---|
65 | <searchType name="advancedform"/>
|
---|
66 | <format>
|
---|
67 | <gsf:template match="documentNode">
|
---|
68 | <td valign="top">
|
---|
69 | <gsf:link type="document">
|
---|
70 | <gsf:icon type="document"/>
|
---|
71 | </gsf:link>
|
---|
72 | </td>
|
---|
73 | <td>
|
---|
74 | <gsf:switch>
|
---|
75 | <gsf:metadata name="Title" select="ancestors" separator=": "/>
|
---|
76 | <gsf:when test="exists">
|
---|
77 | <gsf:metadata name="Title" select="ancestors" separator=": "/>:
|
---|
78 | </gsf:when>
|
---|
79 | </gsf:switch>
|
---|
80 | <gsf:link type="document">
|
---|
81 | <gsf:metadata name="Title"/>
|
---|
82 | </gsf:link>
|
---|
83 | </td>
|
---|
84 | </gsf:template>
|
---|
85 | </format>
|
---|
86 | </search>
|
---|
87 | <infodb type="jdbm"/>
|
---|
88 | <import>
|
---|
89 | <pluginList>
|
---|
90 | <plugin name="ZIPPlugin"/>
|
---|
91 | <plugin name="GreenstoneXMLPlugin"/>
|
---|
92 |
|
---|
93 | <plugin name="EmbeddedMetadataPlugin"/>
|
---|
94 |
|
---|
95 | <plugin name="MusicIRPlugin">
|
---|
96 | <option name="-compute_mir_features" value="true"/>
|
---|
97 | <option name="-retrieve_mir_metadata" value="true"/>
|
---|
98 | <option name="-enable_cache"/>
|
---|
99 | </plugin>
|
---|
100 |
|
---|
101 | <plugin name="TextPlugin"/>
|
---|
102 | <plugin name="HTMLPlugin"/>
|
---|
103 | <plugin name="EmailPlugin"/>
|
---|
104 | <plugin name="PDFPlugin"/>
|
---|
105 | <plugin name="RTFPlugin"/>
|
---|
106 | <plugin name="WordPlugin"/>
|
---|
107 | <plugin name="PostScriptPlugin"/>
|
---|
108 | <plugin name="PowerPointPlugin"/>
|
---|
109 | <plugin name="ExcelPlugin"/>
|
---|
110 | <plugin name="ImagePlugin"/>
|
---|
111 | <plugin name="ISISPlugin"/>
|
---|
112 | <plugin name="NulPlugin"/>
|
---|
113 | <plugin name="MetadataXMLPlugin"/>
|
---|
114 | <plugin name="ArchivesInfPlugin"/>
|
---|
115 | <plugin name="DirectoryPlugin"/>
|
---|
116 | </pluginList>
|
---|
117 | </import>
|
---|
118 | <browse>
|
---|
119 | <classifier name="List">
|
---|
120 | <option name="-metadata" value="dc.Title;Title"/>
|
---|
121 | <option name="-partition_type_within_level" value="approximate_size"/>
|
---|
122 | <option name="-removeprefix" value="""/>
|
---|
123 | </classifier>
|
---|
124 | <classifier name="AZCompactList">
|
---|
125 | <option name="-metadata" value="dc.Type.genre"/>
|
---|
126 | <option name="-buttonname" value="Genre"/>
|
---|
127 | </classifier>
|
---|
128 | <format>
|
---|
129 | <gsf:template match="documentNode">
|
---|
130 | <td valign="top">
|
---|
131 | <gsf:link type="document">
|
---|
132 | <gsf:icon type="document"/>
|
---|
133 | </gsf:link>
|
---|
134 | </td>
|
---|
135 | <td valign="top">
|
---|
136 | <gsf:metadata name="srclink"/>
|
---|
137 | <gsf:choose-metadata>
|
---|
138 | <gsf:metadata name="thumbicon"/>
|
---|
139 | <gsf:metadata name="srcicon"/>
|
---|
140 | </gsf:choose-metadata>
|
---|
141 | <gsf:metadata name="/srclink"/>
|
---|
142 | </td>
|
---|
143 | <td valign="top">
|
---|
144 | <gsf:choose-metadata>
|
---|
145 | <gsf:metadata name="dc.Title"/>
|
---|
146 | <gsf:metadata name="exp.Title"/>
|
---|
147 | <gsf:metadata name="Title"/>
|
---|
148 | <gsf:default>Untitled</gsf:default>
|
---|
149 | </gsf:choose-metadata>
|
---|
150 | <gsf:switch>
|
---|
151 | <gsf:metadata name="Source"/>
|
---|
152 | <gsf:when test="exists">
|
---|
153 | <br/>
|
---|
154 | <i>(<gsf:metadata name="Source"/>)</i>
|
---|
155 | </gsf:when>
|
---|
156 | </gsf:switch>
|
---|
157 | </td>
|
---|
158 | </gsf:template>
|
---|
159 | <gsf:template match="classifierNode">
|
---|
160 | <td valign="top">
|
---|
161 | <gsf:link type="classifier">
|
---|
162 | <gsf:icon type="classifier"/>
|
---|
163 | </gsf:link>
|
---|
164 | </td>
|
---|
165 | <td valign="top">
|
---|
166 | <gsf:metadata name="srclink"/>
|
---|
167 | <gsf:choose-metadata>
|
---|
168 | <gsf:metadata name="thumbicon"/>
|
---|
169 | <gsf:metadata name="srcicon"/>
|
---|
170 | </gsf:choose-metadata>
|
---|
171 | <gsf:metadata name="/srclink"/>
|
---|
172 | </td>
|
---|
173 | <td valign="top">
|
---|
174 | <gsf:choose-metadata>
|
---|
175 | <gsf:metadata name="dc.Title"/>
|
---|
176 | <gsf:metadata name="exp.Title"/>
|
---|
177 | <gsf:metadata name="Title"/>
|
---|
178 | <gsf:default>Untitled</gsf:default>
|
---|
179 | </gsf:choose-metadata>
|
---|
180 | <gsf:switch>
|
---|
181 | <gsf:metadata name="Source"/>
|
---|
182 | <gsf:when test="exists">
|
---|
183 | <br/><i>(<gsf:metadata name="Source"/>)</i>
|
---|
184 | </gsf:when>
|
---|
185 | </gsf:switch>
|
---|
186 | </td>
|
---|
187 | </gsf:template>
|
---|
188 | <gsf:template match="classifierNode" mode="horizontal">
|
---|
189 | <gsf:link type="horizontal">
|
---|
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="false"/>
|
---|
198 |
|
---|
199 | <xsl:template name="documentContent">
|
---|
200 |
|
---|
201 | <xsl:variable name="httpCollection"><xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/></xsl:variable>
|
---|
202 |
|
---|
203 | <xsl:variable name="assocFilePath"><gsf:metadata name="assocfilepath" select="root"/></xsl:variable>
|
---|
204 |
|
---|
205 | <xsl:variable name="lastfmtrackurl">
|
---|
206 | <gsf:metadata name="dc.Identifier.lastfmtrackurl"/>
|
---|
207 | </xsl:variable>
|
---|
208 |
|
---|
209 | <xsl:variable name="echonestid">
|
---|
210 | <gsf:metadata name="dc.Identifier"/>
|
---|
211 | </xsl:variable>
|
---|
212 |
|
---|
213 | <div class="documenttext">
|
---|
214 |
|
---|
215 | <table>
|
---|
216 | <tbody>
|
---|
217 | <tr style="background-color:#afa">
|
---|
218 | <td>
|
---|
219 | Title
|
---|
220 | </td>
|
---|
221 | <td>
|
---|
222 | <gsf:metadata name="dc.Title"/>
|
---|
223 | </td>
|
---|
224 | </tr>
|
---|
225 |
|
---|
226 | <tr style="background-color:#ffa">
|
---|
227 | <td>Album Title</td>
|
---|
228 | <td><gsf:metadata name="dc.Title.albumtitle"/></td>
|
---|
229 | </tr>
|
---|
230 |
|
---|
231 | <tr style="background-color:#afa">
|
---|
232 | <td>Artist</td>
|
---|
233 | <td><gsf:metadata name="dc.Creator"/></td>
|
---|
234 | </tr>
|
---|
235 |
|
---|
236 | <tr style="background-color:#ffa" valign='top'>
|
---|
237 | <td>Artist Summary</td>
|
---|
238 | <td><i><gsf:metadata name="LastFM.LastFMArtistWikiSummary"/></i></td>
|
---|
239 | </tr>
|
---|
240 |
|
---|
241 | <tr style="background-color:#afa">
|
---|
242 | <td>Identifier</td>
|
---|
243 | <td>
|
---|
244 | <gsf:metadata name="dc.Identifier"/><br />
|
---|
245 |
|
---|
246 | <xsl:copy-of select="$lastfmtrackurl"/><br />
|
---|
247 | (<a href="{$lastfmtrackurl}" target="#lastfm">Visit @ LastFM</a>)
|
---|
248 | </td>
|
---|
249 | </tr>
|
---|
250 |
|
---|
251 | <tr style="background-color:#ffa">
|
---|
252 | <td>jAudio Features</td><td><a href="{$httpCollection}/index/assoc/{$assocFilePath}/jaudio.xml">download ACE XML feature values file</a></td>
|
---|
253 | </tr>
|
---|
254 |
|
---|
255 | <tr style="background-color:#afa">
|
---|
256 | <td>jSongMiner Metadata</td><td><a href="{$httpCollection}/index/assoc/{$assocFilePath}/jsongminer.xml">download ACE XML classifications file</a></td>
|
---|
257 | </tr>
|
---|
258 |
|
---|
259 |
|
---|
260 |
|
---|
261 |
|
---|
262 | </tbody>
|
---|
263 | </table>
|
---|
264 |
|
---|
265 | </div>
|
---|
266 | </xsl:template>
|
---|
267 |
|
---|
268 |
|
---|
269 | </format>
|
---|
270 |
|
---|
271 | </display>
|
---|
272 |
|
---|
273 |
|
---|
274 | <replaceListRef id="gs2-standard"/>
|
---|
275 | <serviceRackList>
|
---|
276 | <!-- comment out the following serviceRack if you want to disable OAI for this collection -->
|
---|
277 | <serviceRack name="OAIPMH">
|
---|
278 | <ListMetadataFormats>
|
---|
279 | <!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
|
---|
280 | The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
|
---|
281 | -->
|
---|
282 | <metadataFormat metadataPrefix="oai_dc">
|
---|
283 | <metadataPrefix>oai_dc</metadataPrefix>
|
---|
284 | <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
|
---|
285 | <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
|
---|
286 | <!--<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>
|
---|
287 | -->
|
---|
288 | <mappingList>
|
---|
289 | <!--
|
---|
290 | The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B>
|
---|
291 | The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
|
---|
292 | searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
|
---|
293 | number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
|
---|
294 | if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
|
---|
295 |
|
---|
296 | **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.
|
---|
297 |
|
---|
298 | **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.
|
---|
299 | -->
|
---|
300 | <mapping>dc.Title,Title</mapping>
|
---|
301 | <!-- 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. -->
|
---|
302 | </mappingList>
|
---|
303 | </metadataFormat>
|
---|
304 | </ListMetadataFormats>
|
---|
305 | </serviceRack>
|
---|
306 | </serviceRackList>
|
---|
307 | </CollectionConfig>
|
---|