view myspace/old-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
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>DBTune - Myspace RDF Service</title>

<style type="text/css" media="all">
        @import url(style.css);
</style>

</head>

<body>


<a href="http://dbtune.org/"><h1 style="font-size: 250%;">DBTune.org</h1></a>

<div id="tagline">Myspace RDF Service</div>

<p><b>Warning:</b> This service is currently broken, MySpace changed a number of things that break the scrapping.</p>
<p><b>Update:</b> The FOAF view of MySpace data is back online.</p>
<h2><a name="intro" id="intro"></a>1. Introduction</h2>

<p>
<!--<b>This service is down at the moment.</b> MySpace changed their
HTML, so the scraping doesn't work as expected anymore.
</p>-->

<p>

This service provides a live RDF representation of <a href="http://www.myspace.com/">Myspace</a> users.  
If the user is also an <i>artist</i>, then the corresponding tracks in the streaming audio cache are included in the RDF.  
Note that only the <i>top friends</i> in the target Myspace page are included in the RDF.
</p>


<p>
This representations is designed using the <a href="http://musicontology.com/">
Music Ontology</a> and <a href="http://xmlns.com/foaf/0.1/">FOAF</a>. The scraping is handled by the 
<a href="http://sourceforge.net/projects/mypyspace/">MyPySpace</a>.
</p>

<!--><p>
This effort is part of the <a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData">Linking
Open Data on the Semantic Web</a> community project, hosted by the <a href="http://www.w3.org/2001/sw/sweo/">Semantic
Web Education and Outreach</a> interest group.
</p>-->



<h2><a name="use" id="use"></a>2. Using this service</h2>

<p>
Starting from a Myspace user name:
<pre>
http://myspace.com/&lt;user name&gt;
</pre>
Just get the following URI:
<pre>
http://dbtune.org/myspace/&lt;user name&gt;
</pre>
Alternatively, you can use the Myspace user id directly:
<pre>
http://dbtune.org/myspace/uid/&lt;userID&gt;
</pre>

</p>

<p>For example, the following URI identifies a <a href="http://myspace.com/lesversaillaisesamoustache">band in MySpace</a>:
<pre>
http://dbtune.org/myspace/lesversaillaisesamoustache
</pre>
</p>


<p>
If you have a MySpace account, you can
add the corresponding information to your <a href="http://xmlns.com/foaf/0.1/">FOAF profile</a> by adding the following statement in it:
<pre>
&lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/myspace/&lt;user name&gt;
</pre>
</p>

<h2><a name="code" id="code"></a>3. Code</h2>
<p>
As usual, <a href="http://motools.svn.sourceforge.net/viewvc/mypyspace/musicGrabber/branches/webserv-branch/">all the code running this service</a>
is open source and based
on <a href="http://www.python.org">Python</a> and <a href="http://www.swi-prolog.org">SWI-Prolog</a>

</p>


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3327144-3");
pageTracker._initData();
pageTracker._trackPageview();
</script>



</body>

</html>