Changeset 28747 for main/trunk/model-sites-dev/multimodal-mdl
- Timestamp:
- 2013-12-05T22:53:42+13:00 (10 years ago)
- Location:
- main/trunk/model-sites-dev/multimodal-mdl/collect/salami-ground-truth/transform/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/multimodal-mdl/collect/salami-ground-truth/transform/pages/about.xsl
-
Property svn:mime-type
changed from
application/xml
totext/plain
r28433 r28747 47 47 48 48 49 <script src="{$httpPath}/script /browser-detect.js" type="text/javascript">49 <script src="{$httpPath}/script2/browser-detect.js" type="text/javascript"> 50 50 /* space filler needed */ 51 51 </script> … … 55 55 56 56 57 <h2>A Musical Web Observatory: </h2> 58 59 <h3><i><font size="+2">Connecting People with Data, Documents, and Algorithms</font></i></h3> 60 57 <h2>Structured Audio in a Music Digital Library</h2> 58 59 <!-- 61 60 <div style="background-color: #DD3611; color: white; padding: 4pt; margin-bottom: 6pt;"> 62 61 <table> … … 139 138 </table> 140 139 </div> 141 142 <p class="about">This project is currently work in progress. The sequence of development so far has been: 140 --> 141 142 <p class="about"> 143 This digital library collection is derived from the American workset, 144 from the <a href="http://salami.lis.illinois.edu">SALAMI</a> project. 145 146 </p> 147 148 <p class="about">This music DL embodies the following: 143 149 144 150 <style> -
Property svn:mime-type
changed from
-
main/trunk/model-sites-dev/multimodal-mdl/collect/salami-ground-truth/transform/pages/document.xsl
-
Property svn:mime-type
changed from
application/xml
totext/plain
r28433 r28747 218 218 <tr valign="top"> 219 219 <td>Artist Summary</td> 220 <td><i><gsf:metadata name="LastFM.LastFMArtistWikiSummary"/></i></td> 220 <td> 221 <i> 222 <gsf:script> 223 var summary = gs.documentMetadata["LastFM_LastFMArtistWikiSummary"]; 224 225 document.write(summary.replace("\n","<br />")); 226 </gsf:script> 227 </i> 228 </td> 229 221 230 </tr> 222 231 … … 265 274 --> 266 275 267 <table >276 <table style="width: 100%;"> 268 277 <tr> 269 <td >278 <td style="width: 200px;"> 270 279 MusicBrainz song id: 271 280 </td> 272 281 <td> 273 <a href="http://dbtune.org/musicbrainz/resource/track/{$musicbrainzsongid}" target="#musicbrainz" >282 <a href="http://dbtune.org/musicbrainz/resource/track/{$musicbrainzsongid}" target="#musicbrainz" class="external"> 274 283 <xsl:copy-of select="$musicbrainzsongid"/> 275 284 </a> … … 282 291 </td> 283 292 <td> 284 <a href="http://dbtune.org/musicbrainz/resource/record/{$musicbrainzalbumid}" target="#musicbrainz" >293 <a href="http://dbtune.org/musicbrainz/resource/record/{$musicbrainzalbumid}" target="#musicbrainz" class="external"> 285 294 <xsl:copy-of select="$musicbrainzalbumid"/> 286 295 </a> … … 293 302 </td> 294 303 <td> 295 <a href="http://dbtune.org/musicbrainz/page/artist/{$musicbrainzartistid}" target="#musicbrainz" >304 <a href="http://dbtune.org/musicbrainz/page/artist/{$musicbrainzartistid}" target="#musicbrainz" class="external"> 296 305 <xsl:copy-of select="$musicbrainzartistid"/> 297 </a>298 </td>299 </tr>300 <tr>301 <td colspan="2">302 <a href="{$lastfmtrackurl}" target="#lastfm">303 <xsl:copy-of select="$lastfmtrackurl"/>304 306 </a> 305 307 </td> … … 310 312 </td> 311 313 <td> 312 <a href="{$echonestsongid}" target="#echonestsongid"> 314 <a href="http://developer.echonest.com/api/v4/song/profile?api_key=8WNR9XTGCODO9G4YG&format=xml&id={$echonestsongid}" target="#echonestsongid" class="external"> 315 316 317 313 318 <xsl:copy-of select="$echonestsongid"/> 314 319 </a> 320 </td> 321 </tr> 322 <tr> 323 <td colspan="2"> 324 <i> 325 <a href="{$lastfmtrackurl}" target="#lastfm" class="external"> 326 <xsl:copy-of select="$lastfmtrackurl"/> 327 </a> 328 </i> 315 329 </td> 316 330 </tr> … … 479 493 </div> 480 494 481 <gsf:script src="{$httpCollection}/script /meandre-workflow/chromagram.js"/>482 <gsf:script src="{$httpCollection}/script /meandre-workflow/js-dynamic-mix.js"/>495 <gsf:script src="{$httpCollection}/script2/meandre-workflow/chromagram.js"/> 496 <gsf:script src="{$httpCollection}/script2/meandre-workflow/js-dynamic-mix.js"/> 483 497 484 498 <gsf:script> … … 521 535 <div class="documenttext hide" style="color: white; background-color: rgb(40%,40%,20%); padding: 8px;"> 522 536 523 <textarea id="js-dynamic-code" style="width:100%; height: 520px; font-size: 60%">537 <textarea id="js-dynamic-code" style="width:100%; height: 520px; font-size: 90%"> 524 538 <xsl:text disable-output-escaping="yes"> 525 539 … … 602 616 id="svgContentAnalysisSegments" 603 617 width="100%" height="24" 604 onLoad XX="svgCAStructuredInit({$cgiargCAAlgorithm})">618 onLoad="svgCAStructuredInit({$cgiargCAAlgorithm})"> 605 619 </svg> 606 620 </div> 621 622 623 <!-- **** now back in --> 624 625 <form id="UpdateCAForm" name="UpdateCAForm" method="get" action="{$library_name}" 626 style="display: block; background-color: #dddddd; padding: 6px;"> 627 <div style="font-style: italics;"> 628 629 Show the song structure automatically computed by analyzing 630 the audio data using algorithm: 631 <!-- 632 <select id="caaMenu" name="caAlgorithm"> 633 <option value="1">BV1</option> 634 <option value="2">BV2</option> 635 <option value="3">GP7</option> 636 <option value="4">MHRAG2</option> 637 <option value="5">MND1</option> 638 <option value="6">WB1</option> 639 --> 640 <!-- 641 <option value="-1">or hide</option> 642 --> 643 <!-- 644 </select>: 645 --> 646 647 <select id="caaMenu" name="caAlgorithm" onchange="updateCAAlgorithm()"> 648 <xsl:for-each select="/page/pageResponse/document/metadataList/metadata[@name = 'json.seriesName']"> 649 <option> 650 <xsl:attribute name='value'> 651 <xsl:value-of disable-output-escaping="yes" select="position()"/> 652 </xsl:attribute> 653 <xsl:if test="position() = $cgiargCAAlgorithm"> 654 <xsl:attribute name='selected'>selected</xsl:attribute> 655 </xsl:if> 656 <xsl:value-of disable-output-escaping="yes" select="."/> 657 </option> 658 </xsl:for-each> 659 </select> 660 661 <gsf:foreach-metadata name="json.seriesData"> 662 <gsf:variable2 name="seriesData"><xsl:value-of disable-output-escaping="yes" select="."/></gsf:variable2> 663 <gsf:variable name="seriesPos"><xsl:value-of disable-output-escaping="yes" select="position()"/></gsf:variable> 664 665 <gsf:script> 666 var cleanedSeriesData = gs.variables.seriesData.replace(/\\n/g,"").replace(/\n/g," "); 667 cleanedSeriesData = cleanedSeriesData.replace(/\"\".*?\"\"/g,"\"$1\"").replace(/;$/,""); 668 //console.log("cleaned data = " + cleanedSeriesData); 669 allData[gs.variables.seriesPos] = JSON.parse(cleanedSeriesData); 670 </gsf:script> 671 </gsf:foreach-metadata> 672 673 <!-- 674 675 <input type="button" name="Reload" value="Reload" 676 onclick="updateCAAlgorithm()" /> 677 --> 678 679 680 681 </div> 682 </form> 683 607 684 </xsl:template> 608 685 … … 658 735 659 736 <form style="padding-left: 8px; padding-bottom: 0px;"> 660 <span class="vis-heading">On Pause:</span> 661 <input type="checkbox" name="similarityMatrix" onclick="plotSimilarityMatrixWhenPaused(this)"/>Show Similarity Matrix 737 <div style="float: left;"> 738 <span class="vis-heading">On Pause:</span> 739 <input type="checkbox" name="similarityMatrix" onclick="plotSimilarityMatrixWhenPaused(this)"/>Show Similarity Matrix 740 </div> 741 <div style="float: left; padding-left: 140px;"> 742 <span class="vis-heading">Accelerated Processing:</span> 743 <input type="checkbox" name="acceleratedProcessingInput" onclick="acceleratedProcessingCheckbox(this)"/>> realtime 744 <span id="accProcStatus"></span> 745 </div> 746 662 747 </form> 663 < hr/>748 <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div> 664 749 665 750 </div> … … 778 863 --> 779 864 780 <!-- **** currently not displayed -->781 782 <form id="UpdateCAForm" name="UpdateCAForm" method="get" action="{$library_name}" style="display: none;">783 <div style="font-style: italics;">784 785 Show the song structure automatically computed by analyzing786 the audio data using algorithm787 788 <select id="caaMenu" name="caAlgorithm">789 <option value="1">BV1</option>790 <option value="2">BV2</option>791 <option value="3">GP7</option>792 <option value="4">MHRAG2</option>793 <option value="5">MND1</option>794 <option value="6">WB1</option>795 796 <!--797 <option value="-1">or hide</option>798 -->799 800 </select>:801 802 <input type="button" name="Reload" value="Reload"803 onclick="updateCAAlgorithm()" />804 805 </div>806 </form>807 808 865 <script> 809 866 <xsl:text disable-output-escaping="yes"> … … 865 922 </gsf:script> 866 923 924 <!-- 867 925 868 926 <div id="original-turnstyle" style="margin: 6px;"> … … 889 947 }); 890 948 </gsf:script> 891 949 --> 892 950 893 951 </xsl:template> -
Property svn:mime-type
changed from
Note:
See TracChangeset
for help on using the changeset viewer.