annotate myspace/myspace.html @ 1:2d859f5e3676

ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work
author Chris Cannam
date Tue, 31 Oct 2017 11:47:10 +0000
parents 1e44d666ced1
children 649634e11bf1
rev   line source
Chris@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Chris@0 2
Chris@0 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Chris@0 4
Chris@0 5 <head>
Chris@0 6 <title>DBTune - Myspace RDF Service</title>
Chris@0 7
Chris@0 8 <style type="text/css" media="all">
Chris@0 9 @import url(style.css);
Chris@0 10 </style>
Chris@0 11
Chris@0 12 </head>
Chris@0 13
Chris@0 14 <body>
Chris@0 15
Chris@0 16
Chris@0 17 <a href="http://dbtune.org/"><h1 style="font-size: 250%;">DBTune.org</h1></a>
Chris@0 18
Chris@0 19 <div id="tagline">Myspace RDF Service</div>
Chris@0 20
Chris@0 21 <h2><a name="intro" id="intro"></a>1. Introduction</h2>
Chris@0 22
Chris@0 23 <p>
Chris@0 24 <!--<b>This service is down at the moment.</b> MySpace changed their
Chris@0 25 HTML, so the scraping doesn't work as expected anymore.
Chris@0 26 </p>-->
Chris@0 27
Chris@0 28 <p>
Chris@0 29
Chris@0 30 This service provides a live RDF representation of <a href="http://www.myspace.com/">Myspace</a> users.
Chris@0 31 If the user is also an <i>artist</i>, then the corresponding tracks in the streaming audio cache are included in the RDF.
Chris@0 32 Note that only the <i>top friends</i> of the target Myspace user are included in the RDF.
Chris@0 33 </p>
Chris@0 34
Chris@0 35
Chris@0 36 <p>
Chris@0 37 This representations is designed using the <a href="http://musicontology.com/">
Chris@0 38 Music Ontology</a>, <a href="http://xmlns.com/foaf/0.1/">FOAF</a>, and a small
Chris@0 39 <a href="http://purl.org/ontology/myspace">Myspace Ontology</a>. The scraping is handled by the
Chris@0 40 <a href="http://sourceforge.net/projects/mypyspace/">MyPySpace</a>.
Chris@0 41 </p>
Chris@0 42
Chris@0 43 <p>
Chris@0 44 Please note this service may sometimes behave unexpectedly as Myspace makes changes to their page templates. Please contact kurtjx at gmail if you have any questions or notice any problems with this service. This service is in no way affiliated or endorsed by Myspace.com.
Chris@0 45
Chris@0 46 <!--><p>
Chris@0 47 This effort is part of the <a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData">Linking
Chris@0 48 Open Data on the Semantic Web</a> community project, hosted by the <a href="http://www.w3.org/2001/sw/sweo/">Semantic
Chris@0 49 Web Education and Outreach</a> interest group.
Chris@0 50 </p>-->
Chris@0 51
Chris@0 52
Chris@0 53
Chris@0 54 <h2><a name="use" id="use"></a>2. Using this service</h2>
Chris@0 55
Chris@0 56 <p>
Chris@0 57 Starting from a Myspace user name:
Chris@0 58 <pre>
Chris@0 59 http://myspace.com/&lt;user name&gt;
Chris@0 60 </pre>
Chris@0 61 Just get the following URI:
Chris@0 62 <pre>
Chris@0 63 http://dbtune.org/myspace/&lt;user name&gt;
Chris@0 64 </pre>
Chris@0 65 Alternatively, you can use the Myspace user id directly:
Chris@0 66 <pre>
Chris@0 67 http://dbtune.org/myspace/uid/&lt;userID&gt;
Chris@0 68 </pre>
Chris@0 69
Chris@0 70 </p>
Chris@0 71
Chris@0 72 <p>For example, the following URI identifies a <a href="http://myspace.com/lesversaillaisesamoustache">band in MySpace</a>:
Chris@0 73 <pre>
Chris@0 74 http://dbtune.org/myspace/lesversaillaisesamoustache
Chris@0 75 </pre>
Chris@0 76 </p>
Chris@0 77
Chris@0 78
Chris@0 79 <p>
Chris@0 80 If you have a MySpace account, you can
Chris@0 81 add the corresponding information to your <a href="http://xmlns.com/foaf/0.1/">FOAF profile</a> by adding the following statement in it:
Chris@0 82 <pre>
Chris@0 83 &lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/myspace/&lt;user name&gt;
Chris@0 84 </pre>
Chris@0 85 </p>
Chris@0 86
Chris@0 87 <h2><a name="code" id="code"></a>3. Code</h2>
Chris@0 88 <p>
Chris@0 89 As usual, <a href="http://motools.svn.sourceforge.net/viewvc/mypyspace/musicGrabber/branches/webserv-branch/">all the code running this service</a>
Chris@0 90 is open source and based
Chris@0 91 on <a href="http://www.python.org">Python</a> and <a href="http://www.swi-prolog.org">SWI-Prolog</a>
Chris@0 92
Chris@0 93 </p>
Chris@0 94
Chris@0 95
Chris@0 96 <script type="text/javascript">
Chris@0 97 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Chris@0 98 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Chris@0 99 </script>
Chris@0 100 <script type="text/javascript">
Chris@0 101 var pageTracker = _gat._getTracker("UA-3327144-3");
Chris@0 102 pageTracker._initData();
Chris@0 103 pageTracker._trackPageview();
Chris@0 104 </script>
Chris@0 105
Chris@0 106
Chris@0 107
Chris@0 108 </body>
Chris@0 109
Chris@0 110 </html>
Chris@0 111
Chris@0 112