annotate myspace/myspace.html @ 19:1e79ce3ff5f5 tip

Simplify and cut some non-working resource paths
author Chris Cannam
date Wed, 08 Nov 2017 15:27:23 +0000
parents 649634e11bf1
children
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@9 23 <p><b>Note:</b> This service is long down, following the disappearance of the original MySpace. This page is retained for historical interest.</p>
Chris@0 24
Chris@0 25 <p>
Chris@0 26
Chris@0 27 This service provides a live RDF representation of <a href="http://www.myspace.com/">Myspace</a> users.
Chris@0 28 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 29 Note that only the <i>top friends</i> of the target Myspace user are included in the RDF.
Chris@0 30 </p>
Chris@0 31
Chris@0 32
Chris@0 33 <p>
Chris@0 34 This representations is designed using the <a href="http://musicontology.com/">
Chris@0 35 Music Ontology</a>, <a href="http://xmlns.com/foaf/0.1/">FOAF</a>, and a small
Chris@0 36 <a href="http://purl.org/ontology/myspace">Myspace Ontology</a>. The scraping is handled by the
Chris@0 37 <a href="http://sourceforge.net/projects/mypyspace/">MyPySpace</a>.
Chris@0 38 </p>
Chris@0 39
Chris@0 40 <p>
Chris@0 41 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 42
Chris@0 43 <h2><a name="use" id="use"></a>2. Using this service</h2>
Chris@0 44
Chris@0 45 <p>
Chris@0 46 Starting from a Myspace user name:
Chris@0 47 <pre>
Chris@0 48 http://myspace.com/&lt;user name&gt;
Chris@0 49 </pre>
Chris@0 50 Just get the following URI:
Chris@0 51 <pre>
Chris@0 52 http://dbtune.org/myspace/&lt;user name&gt;
Chris@0 53 </pre>
Chris@0 54 Alternatively, you can use the Myspace user id directly:
Chris@0 55 <pre>
Chris@0 56 http://dbtune.org/myspace/uid/&lt;userID&gt;
Chris@0 57 </pre>
Chris@0 58
Chris@0 59 </p>
Chris@0 60
Chris@0 61 <p>For example, the following URI identifies a <a href="http://myspace.com/lesversaillaisesamoustache">band in MySpace</a>:
Chris@0 62 <pre>
Chris@0 63 http://dbtune.org/myspace/lesversaillaisesamoustache
Chris@0 64 </pre>
Chris@0 65 </p>
Chris@0 66
Chris@0 67
Chris@0 68 <p>
Chris@0 69 If you have a MySpace account, you can
Chris@0 70 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 71 <pre>
Chris@0 72 &lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/myspace/&lt;user name&gt;
Chris@0 73 </pre>
Chris@0 74 </p>
Chris@0 75
Chris@0 76 <h2><a name="code" id="code"></a>3. Code</h2>
Chris@0 77 <p>
Chris@0 78 As usual, <a href="http://motools.svn.sourceforge.net/viewvc/mypyspace/musicGrabber/branches/webserv-branch/">all the code running this service</a>
Chris@0 79 is open source and based
Chris@0 80 on <a href="http://www.python.org">Python</a> and <a href="http://www.swi-prolog.org">SWI-Prolog</a>
Chris@0 81
Chris@0 82 </p>
Chris@0 83
Chris@0 84
Chris@0 85 <script type="text/javascript">
Chris@0 86 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Chris@0 87 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
Chris@0 88 </script>
Chris@0 89 <script type="text/javascript">
Chris@0 90 var pageTracker = _gat._getTracker("UA-3327144-3");
Chris@0 91 pageTracker._initData();
Chris@0 92 pageTracker._trackPageview();
Chris@0 93 </script>
Chris@0 94
Chris@0 95
Chris@0 96
Chris@0 97 </body>
Chris@0 98
Chris@0 99 </html>
Chris@0 100
Chris@0 101