To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / myspace / myspace.html

History | View | Annotate | Download (3.12 KB)

1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2

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

    
5
<head>
6
<title>DBTune - Myspace RDF Service</title>
7

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

    
12
</head>
13

    
14
<body>
15

    
16

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

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

    
21
<h2><a name="intro" id="intro"></a>1. Introduction</h2>
22

    
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>
24

    
25
<p>
26

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

    
32

    
33
<p>
34
This representations is designed using the <a href="http://musicontology.com/">
35
Music Ontology</a>, <a href="http://xmlns.com/foaf/0.1/">FOAF</a>, and a small 
36
<a href="http://purl.org/ontology/myspace">Myspace Ontology</a>. The scraping is handled by the 
37
<a href="http://sourceforge.net/projects/mypyspace/">MyPySpace</a>.
38
</p>
39

    
40
<p>
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.
42

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

    
45
<p>
46
Starting from a Myspace user name:
47
<pre>
48
http://myspace.com/&lt;user name&gt;
49
</pre>
50
Just get the following URI:
51
<pre>
52
http://dbtune.org/myspace/&lt;user name&gt;
53
</pre>
54
Alternatively, you can use the Myspace user id directly:
55
<pre>
56
http://dbtune.org/myspace/uid/&lt;userID&gt;
57
</pre>
58

    
59
</p>
60

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

    
67

    
68
<p>
69
If you have a MySpace account, you can
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:
71
<pre>
72
&lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/myspace/&lt;user name&gt;
73
</pre>
74
</p>
75

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

    
82
</p>
83

    
84

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

    
95

    
96

    
97
</body>
98

    
99
</html>
100

    
101