source: main/trunk/model-sites-dev/multimodal-mdl/collect/linkeddata-my-ipod/transform/pages/about.xsl@ 28435

Last change on this file since 28435 was 28435, checked in by davidb, 11 years ago

Initial cut at files for a MDL demonstrating linked data capabilities in Greenstone

  • Property svn:executable set to *
  • Property svn:mime-type set to application/xml
File size: 8.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE videocollection [
3 <!ENTITY ndash "&#8211;">
4 <!ENTITY mdash "&#8212;">
5]>
6<xsl:stylesheet version="1.0"
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:java="http://xml.apache.org/xslt/java"
9 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
10 xmlns:gslib="http://www.greenstone.org/skinning"
11 extension-element-prefixes="java util"
12 exclude-result-prefixes="java util">
13
14 <!-- use the 'main' layout -->
15 <xsl:include href="layouts/main.xsl"/>
16
17 <!-- set page title -->
18 <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
19
20 <!-- set page breadcrumbs -->
21 <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
22
23 <!-- the page content -->
24 <xsl:template match="/page">
25
26 <!--Display the description text of the current collection,
27 and if some services are available then create a list
28 of links for each service within a <ul id="servicelist"> element.-->
29
30 <xsl:variable name="httpPath">
31 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />
32 </xsl:variable>
33
34
35 <style>
36 p.about { text-align: justify; }
37 h2 { /* line-height: 135%; */ }
38 h3 { margin-top: 4pt; margin-bottom: 7pt; line-height: 135%; }
39
40 a.mashup {text-decoration: none; }
41 a.mashup:link {color:#000080;} /* unvisited link */
42 a.mashup:visited {color:#303080;} /* visited link */
43 a.mashup:hover {color:#000040;} /* mouse over link */
44 a.mashup:active {color:#0000a0;}
45
46 </style>
47
48
49 <script src="{$httpPath}/script/browser-detect.js" type="text/javascript">
50 /* space filler needed */
51 </script>
52
53
54<div style="width: 800px; margin-left: auto; margin-right: auto;">
55
56
57<style>
58 li { padding-bottom: 10px; }
59</style>
60
61<h2>A Traditional Music Digital Library: my-ipod </h2>
62
63
64<p class="about">This collection represents the <i>status quo</i> in traditional
65digital library design for music content. When the collection is built:
66
67
68<ol>
69 <li>The selected audio files are automatically converted to a format suitable for streaming
70 over the web
71 </li>
72
73 <li>
74 Metadata embedded in the files (such as ID3 tags) is automatically extracted and made
75 available to form browsing structures, used in full-text indexes for searching, as well as
76 being manipulated and presented to the user, where applicable.
77 </li>
78
79 <li>
80 Automatically extracted metadata can be override by manually assigned. This
81 can either be done through a desktop application (the Greenstone Librarian Interface, or GLI for short)
82 a graphical user interface that controls all aspects of collection design, or directly through
83 the web browser, on a per-document basis.
84 </li>
85</ol>
86
87</p>
88
89
90<h3>A Walkthrough</h3>
91
92<p class="about">Taking as a starting point a set of music files identified as worthy
93of study, the <a href="#browse">figure below</a> shows the result of browsing
94the formed digital library collection <a href="dev?a=b&amp;rt=s&amp;s=ClassifierBrowse&amp;c=salami-audioDB&amp;cl=CL1" target="_blank">by title</a> from a web browser.
95The figure is a useful snapshot in which to orientate ourselves with
96the main structure and features to the digital library. Functionality that
97persistently reoccurs is accessible through the header to the page.</p>
98
99<p class="about">This includes:
100<ul>
101
102<li>help and preferences (top-right);</li>
103<li>a quick-search option (located just
104below) with links to more sophisticated searching options; and</li>
105<li>pin-pointing where within the site a user is currently located
106(top-left).</li>
107</ul>
108
109
110<a name="browse" />
111<table style="width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 6pt;">
112 <tr>
113 <td style="border: solid 1px;">
114 <img style="width: 700px" src="{$httpPath}/images/figs/cropped/salami-browse.png" />
115 </td>
116 </tr>
117 <tr style="background-color: #bbeebb">
118 <td>
119 <i>Browsing in the digital library
120 <a href="dev?a=b&amp;rt=s&amp;s=ClassifierBrowse&amp;c=salami-audioDB&amp;cl=CL1" target="_blank">by titles</a>.</i>
121 </td>
122 </tr>
123</table>
124
125
126The specific content to this location within the site (in this case
127browsing by title) is shown beneath the main banner. Various
128groupings of title can be accessed by clicking on the bookshelf icons
129vertically aligned as the main part of the page: currently <a
130href="dev?a=b&amp;rt=s&amp;s=ClassifierBrowse&amp;c=salami-audioDB&amp;cl=CL1#CL1.2">C–D</a>
131is open, with the remaining letters to the alphabet below this,
132accessed through scrolling.</p>
133
134
135
136
137<p class="about">Interested in the song <i>Candela</i> our curious musicologist clicks
138on <a href="dev?a=d&amp;ed=1&amp;book=off&amp;c=salami-audioDB&amp;d=D145&amp;dt=simple&amp;sib=1&amp;p.a=b&amp;p.sa=&amp;p.s=ClassifierBrowse" target="_blank">the link for this</a>. This brings up the document view to this song:</p>
139
140<a name="self-similarity" />
141<table style="width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 6pt;">
142 <tr>
143 <td style="border: solid 1px;">
144 <img style="width: 700px" src="{$httpPath}/images/figs/cropped/salami-self-similarity2.png" />
145 </td>
146 </tr>
147 <tr style="background-color: #bbeebb">
148 <td>
149 <i>The <a href="dev?a=d&amp;ed=1&amp;book=off&amp;c=salami-audioDB&amp;d=D145&amp;dt=simple&amp;sib=1&amp;p.a=b&amp;p.sa=&amp;p.s=ClassifierBrowse" target="_blank">musicologically enriched document view</a> for</i> Candela.
150 </td>
151 </tr>
152</table>
153
154<p class="about">Normally in a digital
155library the document view brings up a page that is strongly derived
156from textual metadata. If the document viewed was a text-document,
157some summary information such as title and author is typically
158presented, say in tabular form, before the main text is presented.
159Even in the case of multimedia digital libraries, the view presented
160is still strongly derived from textual metadata: this time including
161details such as the length of the video, the TV company that produced
162it, whether captions are available, and so forth, accompanied with an
163embedded video player for viewing the content—essentially more
164textual metadata (in this case the URL to the video content) which in
165terms of the user-interface is largely divorced from the other
166elements displayed on the page.</p>
167
168<p class="about">This contrasts sharply with the document view developed in this
169digital library.
170Naturally it allows the song to be played (akin to the embedded video player),
171however this is largely of secondary importance to the
172other functionality available this is much more closely
173integrated.</p>
174
175
176
177<h3>Implementation details</h3>
178
179<p class="about">The core part of the interactive elements in the document view were
180implemented using SVG combined with Javascript. The left- and
181right-panning interactively available from the self-similarity map was
182implemented by processing the raw audio stream, made accessible by the
183Firefox Audio extension
184<a href="https://wiki.mozilla.org/Audio_Data_API" target="_blank">API</a>.</p>
185
186<p class="about">AudioDB content based searching was integrated into Greenstone through
187two components of the digital library software architecture: its
188build-time document processing plugin system, and its runtime
189message-passing service-base framework. The developed plugin accepts
190a wide range of audio formats (including OGG and MP3), and converts
191them to WAV, the format needed by AudioDB for processing. The new
192search service took the form of a proxy, accepting messages in the
193XML syntax used by Greenstone, turning them into the necessary calls
194to the AudioDB command-line interface, and then converting the output
195from AudioDB back into the XML syntax expected by the digital library
196architecture. Finally, the two parts were packaged to operate as a
197Greenstone extension; the software is available at:
198<a href="http://trac.greenstone.org/gs3-extensions/audioDB/trunk/src" target="_blank">http://trac.greenstone.org/gs3-extensions/audioDB/trunk/src</a>.</p>
199
200</div>
201
202
203 </xsl:template>
204
205
206</xsl:stylesheet>
207
Note: See TracBrowser for help on using the repository browser.