You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by je...@apache.org on 2012/04/18 15:12:17 UTC
svn commit: r1327498 -
/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/
Author: jens
Date: Wed Apr 18 13:12:17 2012
New Revision: 1327498
URL: http://svn.apache.org/viewvc?rev=1327498&view=rev
Log:
add some filters to demo app
Added:
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbygenre.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyreleasedate.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbytitle.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyuploadeddate.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/list.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/part.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/poster.jpg (with props)
Modified:
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/index.html
chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/playerpage.js
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbygenre.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbygenre.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbygenre.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbygenre.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,47 @@
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You may obtain
+ a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License.
+-->
+
+<p>
+ <h4>Retrieve titles starting with:</h4>
+ <a href="javascript:filterAlbumByGenre('Alternative')">Alternative</a>
+ <a href="javascript:filterAlbumByGenre('Ambient')">Ambient</a>
+ <a href="javascript:filterAlbumByGenre('Blues')">Blues</a>
+ <a href="javascript:filterAlbumByGenre('Chorus')">Chorus</a>
+ <a href="javascript:filterAlbumByGenre('Classical')">Classical</a>
+ <a href="javascript:filterAlbumByGenre('Country')">Country</a>
+ <a href="javascript:filterAlbumByGenre('Dance')">Dance</a>
+ <a href="javascript:filterAlbumByGenre('Disco')">Disco</a>
+ <a href="javascript:filterAlbumByGenre('Electronic')">Electronic</a>
+ <a href="javascript:filterAlbumByGenre('Folk')">Folk</a>
+ <a href="javascript:filterAlbumByGenre('HipHop')">HipHop</a>
+ <a href="javascript:filterAlbumByGenre('House')">House</a>
+ <a href="javascript:filterAlbumByGenre('Instrumental')">Instrumental</a>
+ <a href="javascript:filterAlbumByGenre('Jazz')">Jazz</a>
+ <a href="javascript:filterAlbumByGenre('Latin')">Latin</a>
+ <a href="javascript:filterAlbumByGenre('Musical')">Musical</a>
+ <a href="javascript:filterAlbumByGenre('Oldies')">Oldies</a>
+ <a href="javascript:filterAlbumByGenre('Opera')">Opera</a>
+ <a href="javascript:filterAlbumByGenre('Pop')">Pop</a>
+ <a href="javascript:filterAlbumByGenre('Reggae')">Reggae</a>
+ <a href="javascript:filterAlbumByGenre('Rock')">Rock</a>
+ <a href="javascript:filterAlbumByGenre('Soundtrack')">Soundtrack</a>
+ <a href="javascript:filterAlbumByGenre('Swing')">Swing</a>
+ <a href="javascript:filterAlbumByGenre('Techno')">Techno</a>
+ <a href="javascript:filterAlbumByGenre('Vocal')">Vocal</a>
+ <a href="javascript:filterAlbumByGenre()">(untagged)</a>
+</p>
+<div id="filterresult">
+ <h4>Found Titles:</h4>
+ <ul id="filterresultlist" class="resultlist">
+ </ul>
+ <div id="pagingbuttons"> </div>
+ <div id="playerpane"> </div>
+</div>
+
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyreleasedate.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyreleasedate.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyreleasedate.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyreleasedate.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,35 @@
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You may obtain
+ a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License.
+-->
+
+<p>
+ <h4>Retrieve titles released:</h4>
+ <a href="javascript:filterAlbumByReleaseDate('2012')">2012</a>
+ <a href="javascript:filterAlbumByReleaseDate('2011')">2011</a>
+ <a href="javascript:filterAlbumByReleaseDate('2010')">2010</a>
+ <a href="javascript:filterAlbumByReleaseDate('2009')">2009</a>
+ <a href="javascript:filterAlbumByReleaseDate('2008')">2008</a>
+ <a href="javascript:filterAlbumByReleaseDate('2007')">2007</a>
+ <a href="javascript:filterAlbumByReleaseDate('2006')">2006</a>
+ <a href="javascript:filterAlbumByReleaseDate('2000', '2005')">2000-2005</a>
+ <a href="javascript:filterAlbumByReleaseDate('1995', '1999')">1995-1999</a>
+ <a href="javascript:filterAlbumByReleaseDate('1990', '1994')">1990-1994</a>
+ <a href="javascript:filterAlbumByReleaseDate('1980', '1989')">1980-1989</a>
+ <a href="javascript:filterAlbumByReleaseDate('1970', '1979')">1970-1979</a>
+ <a href="javascript:filterAlbumByReleaseDate('1960', '1969')">1960-1969</a>
+ <a href="javascript:filterAlbumByReleaseDate('0000','1959')">before 1960</a>
+</p>
+<div id="filterresult">
+ <h4>Found Albums:</h4>
+ <ul id="filterresultlist" class="resultlist">
+ </ul>
+ <div id="pagingbuttons"> </div>
+ <div id="playerpane"> </div>
+</div>
+
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbytitle.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbytitle.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbytitle.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbytitle.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,48 @@
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You may obtain
+ a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License.
+-->
+
+<p>
+ <h4>Retrieve titles starting with:</h4>
+ <a href="javascript:filterAlbumByTitle('A')">A</a>
+ <a href="javascript:filterAlbumByTitle('B')">B</a>
+ <a href="javascript:filterAlbumByTitle('C')">C</a>
+ <a href="javascript:filterAlbumByTitle('D')">D</a>
+ <a href="javascript:filterAlbumByTitle('E')">E</a>
+ <a href="javascript:filterAlbumByTitle('F')">F</a>
+ <a href="javascript:filterAlbumByTitle('G')">G</a>
+ <a href="javascript:filterAlbumByTitle('H')">H</a>
+ <a href="javascript:filterAlbumByTitle('I')">I</a>
+ <a href="javascript:filterAlbumByTitle('J')">J</a>
+ <a href="javascript:filterAlbumByTitle('K')">K</a>
+ <a href="javascript:filterAlbumByTitle('L')">L</a>
+ <a href="javascript:filterAlbumByTitle('M')">M</a>
+ <a href="javascript:filterAlbumByTitle('N')">N</a>
+ <a href="javascript:filterAlbumByTitle('O')">O</a>
+ <a href="javascript:filterAlbumByTitle('P')">P</a>
+ <a href="javascript:filterAlbumByTitle('Q')">Q</a>
+ <a href="javascript:filterAlbumByTitle('R')">R</a>
+ <a href="javascript:filterAlbumByTitle('S')">S</a>
+ <a href="javascript:filterAlbumByTitle('T')">T</a>
+ <a href="javascript:filterAlbumByTitle('U')">U</a>
+ <a href="javascript:filterAlbumByTitle('V')">V</a>
+ <a href="javascript:filterAlbumByTitle('W')">W</a>
+ <a href="javascript:filterAlbumByTitle('X')">X</a>
+ <a href="javascript:filterAlbumByTitle('Y')">Y</a>
+ <a href="javascript:filterAlbumByTitle('Z')">Z</a>
+ <a href="javascript:filterAlbumByTitle()">(all)</a>
+</p>
+<div id="filterresult">
+ <h4>Found Titles:</h4>
+ <ul id="filterresultlist" class="resultlist">
+ </ul>
+ <div id="pagingbuttons"> </div>
+ <div id="playerpane"> </div>
+</div>
+
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyuploadeddate.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyuploadeddate.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyuploadeddate.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/filteralbumbyuploadeddate.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,25 @@
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You may obtain
+ a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License.
+-->
+
+<p>
+ <h4>Retrieve titles uploaded within or by:</h4>
+ <a href="javascript:filterAlbumByUploadedDateLastWeek()">Last week</a>
+ <a href="javascript:filterAlbumByUploadedDateLastMonth()">Last month</a>
+ <a href="javascript:filterAlbumByUploadedDateLastYear()">Last year</a>
+ <a href="javascript:filterAlbumByUploadedByMe()">By me</a>
+ <a href="javascript:filterAlbumByUploadedNotByMe()">By others</a>
+</p>
+<div id="filterresult">
+ <h4>Found Albums:</h4>
+ <ul id="filterresultlist" class="resultlist">
+ </ul>
+ <div id="pagingbuttons"> </div>
+ <div id="playerpane"> </div>
+</div>
\ No newline at end of file
Modified: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/index.html?rev=1327498&r1=1327497&r2=1327498&view=diff
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/index.html (original)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/index.html Wed Apr 18 13:12:17 2012
@@ -23,7 +23,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
- <title>CMIS Media Player</title>
+ <title>Relax - The CMIS Media Player</title>
<!-- Enable the following to get debugging information:
-->
<link type="text/css" href="jplayer/skin/pink.flag/jplayer.pink.flag.css" rel="stylesheet" />
@@ -105,17 +105,14 @@
<ul>
<li><a href="javascript:onFilterByAlbum()">by album name</a></li>
<li><a href="javascript:onFilterByArtist()">by artist</a></li>
- <li>by title</li>
- <li>by release date</li>
- <li>by genre</li>
- <li>by composer</li>
- <li>by director</li>
- <li>uplodaded by me</li>
+ <li><a href="javascript:onFilterAlbumByTitle()">by title</a></li>
+ <li><a href="javascript:onFilterAlbumByReleaseDate()">by release date</a></li>
+ <li><a href="javascript:onFilterAlbumByGenre()">by genre</a></li>
+ <li><a href="javascript:onFilterAlbumByUploadedDate()">uploaded at/by</a></li>
</ul>
Create playlist from search
<ul>
<li><a href="javascript:onFilterByTitle()">by title</a></li>
- <li>uplodaded at</li>
</ul>
</div>
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/list.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/list.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/list.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/list.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<!-- DOCTYPE tag MUST be on the first line otherwise IE uses quirks mode! -->
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<head>
+ <title>CMIS Media Player</title>
+ <!-- Enable the following to get debugging information:
+ <link rel="stylesheet" href="theme/style.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="jquery-1.7.1.js"></script>
+ <script type="text/javascript" src="projekktor-1.0.07r22.min.js"></script>
+
+ <link rel="stylesheet" type="text/css" href="../lib/css/layout-default-latest.css" />
+ -->
+ <link type="text/css" href="jplayer/skin/pink.flag/jplayer.pink.flag.css" rel="stylesheet" />
+ <link rel="stylesheet" type="text/css" href="css/mediaplayer-relax.css" />
+
+ <script type="text/javascript" src="js/jquery-1.7.1.js"></script>
+ <script type="text/javascript" src="jplayer/jquery.jplayer.min.js"></script>
+ <script type="text/javascript" src="jplayer/playlist.min.js"></script>
+
+</head>
+<body>
+
+ <script type="text/javascript" src="cmislib.js"></script>
+ <script type="text/javascript" src="js/playlist.js"></script>
+ <script type="text/javascript" src="playerpage-old.js"></script>
+ <!-- Enable the following to get debugging information:
+ <script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script>
+ -->
+ <p>
+ Gold <span class="artist">by Abba</span> <br/>
+ Perlen <span class="artist">by Haindling</span>
+ </p>
+
+</body>
+</html>
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/part.html
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/part.html?rev=1327498&view=auto
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/part.html (added)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/part.html Wed Apr 18 13:12:17 2012
@@ -0,0 +1,13 @@
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License. You may obtain
+ a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License.
+-->
+
+<p class="ui-widget">
+Here comes a section of text that is dynamically loaded into the page.
+Here is a <a href="http://www.google.com"> link</a>.
Modified: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/playerpage.js
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/playerpage.js?rev=1327498&r1=1327497&r2=1327498&view=diff
==============================================================================
--- chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/playerpage.js (original)
+++ chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/playerpage.js Wed Apr 18 13:12:17 2012
@@ -89,6 +89,17 @@
return null;
}
+ function getMapSize(map) {
+ if (map ==null)
+ return 0;
+
+ var size = 0, key;
+ for (key in map) {
+ if (map.hasOwnProperty(key)) size++;
+ }
+ return size;
+ }
+
function createRandomString() {
return Math.round(Math.random()*1000).toString();
}
@@ -178,10 +189,13 @@
}
$("#filterresultlist").html(null);
- for (var album in albums) {
- $("#filterresultlist").append($("<li>").append($("<a>").attr("href","javascript:getPlaylistForAlbum(\"" + album + "\");").text(album))
- .append($("<span class=\"artist\">").text(" by " + albums[album])));
- }
+ if (getMapSize(albums) == 0)
+ $("#filterresultlist").append("None found.");
+ else
+ for (var album in albums) {
+ $("#filterresultlist").append($("<li>").append($("<a>").attr("href","javascript:getPlaylistForAlbum(\"" + album + "\");").text(album))
+ .append($("<span class=\"artist\">").text(" by " + albums[album])));
+ }
}
function doQueryByAlbum(cmisQuery) {
@@ -202,6 +216,62 @@
});
}
+ function filterAlbumByTitle(filter) {
+ session.deletePagingContext("doQueryByAlbum");
+ if (filter)
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where TITLE LIKE '" + filter + "%'");
+ else
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE");
+
+ }
+
+ function filterAlbumByGenre(filter) {
+ session.deletePagingContext("doQueryByAlbum");
+ if (filter)
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where GENRE='" + filter + "'");
+ else
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where GENRE IS NULL");
+ }
+
+ function filterAlbumByReleaseDate(year1, year2) {
+ session.deletePagingContext("doQueryByAlbum");
+ if (year2 == null)
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where YEAR='" + year1 + "'");
+ else
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where YEAR >='" + year1 + "' AND YEAR <= '" + year2 + "'");
+ }
+
+ function filterAlbumByUploadedDateLastWeek() {
+ session.deletePagingContext("doQueryByAlbum");
+ var date1 = new Date();
+ date1.setDate(date1.getDate()-7);
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where cmis:creationDate >='" + date1.toJSON() + "'");
+ }
+
+ function filterAlbumByUploadedDateLastMonth() {
+ session.deletePagingContext("doQueryByAlbum");
+ var date1 = new Date();
+ date1.setMonth(date1.getMonth()-1);
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where cmis:creationDate >='" + date1.toJSON() + "'");
+ }
+
+ function filterAlbumByUploadedDateLastYear() {
+ session.deletePagingContext("doQueryByAlbum");
+ var date1 = new Date();
+ date1.setYear(date1.getYear()-1);
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where cmis:creationDate >='" + date1.toJSON() + "'");
+ }
+
+ function filterAlbumByUploadedByMe() {
+ session.deletePagingContext("doQueryByAlbum");
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where cmis:createdBy ='" + session.user + "'");
+ }
+
+ function filterAlbumByUploadedNotByMe() {
+ session.deletePagingContext("doQueryByAlbum");
+ doQueryByAlbum("SELECT * FROM AUDIO_FILE where cmis:createdBy <>'" + session.user + "'");
+ }
+
function loadPlayer(domObj, cbFct) {
domObj.load('jplayer.html', function() {
@@ -382,6 +452,30 @@
});
}
+ function onFilterAlbumByTitle() {
+ checkSession("#alertpane");
+ $('#mainpane').load('filteralbumbytitle.html', function() {
+ });
+ }
+
+ function onFilterAlbumByGenre() {
+ checkSession("#alertpane");
+ $('#mainpane').load('filteralbumbygenre.html', function() {
+ });
+ }
+
+ function onFilterAlbumByReleaseDate() {
+ checkSession("#alertpane");
+ $('#mainpane').load('filteralbumbyreleasedate.html', function() {
+ });
+ }
+
+ function onFilterAlbumByUploadedDate() {
+ checkSession("#alertpane");
+ $('#mainpane').load('filteralbumbyuploadeddate.html', function() {
+ });
+ }
+
$(document).ready(function() {
$(document).ajaxError(function(event, request, settings, excep){
Added: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/poster.jpg
URL: http://svn.apache.org/viewvc/chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/poster.jpg?rev=1327498&view=auto
==============================================================================
Binary file - no diff available.
Propchange: chemistry/playground/chemistry-opencmis-javascript-relax/src/main/webapp/poster.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream