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 @ 0:1e44d666ced1

History | View | Annotate | Download (3.41 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>
24
<!--<b>This service is down at the moment.</b> MySpace changed their
25
HTML, so the scraping doesn't work as expected anymore.
26
</p>-->
27

    
28
<p>
29

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

    
35

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

    
43
<p>
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.
45

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

    
52

    
53

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

    
56
<p>
57
Starting from a Myspace user name:
58
<pre>
59
http://myspace.com/&lt;user name&gt;
60
</pre>
61
Just get the following URI:
62
<pre>
63
http://dbtune.org/myspace/&lt;user name&gt;
64
</pre>
65
Alternatively, you can use the Myspace user id directly:
66
<pre>
67
http://dbtune.org/myspace/uid/&lt;userID&gt;
68
</pre>
69

    
70
</p>
71

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

    
78

    
79
<p>
80
If you have a MySpace account, you can
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:
82
<pre>
83
&lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/myspace/&lt;user name&gt;
84
</pre>
85
</p>
86

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

    
93
</p>
94

    
95

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

    
106

    
107

    
108
</body>
109

    
110
</html>
111

    
112