revdancatt / Guardians-1-000-songs-to-hear-before-you-die

A cleaned up copy of the Guardian's data, in JSON format with music brainz id

revdancatt (author)
Fri Jun 12 02:47:20 -0700 2009
commit  2206c391a8f9cf06be625fdbcb58ef063afd21b6
tree    caaef3236fae42761219551272841f64e4772e37
parent  6be84c9ab50ae8ab53433cfcf2808e7590aff357
Guardians-1-000-songs-to-hear-before-you-die / datagrab.html
100644 69 lines (57 sloc) 1.877 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
    <title>Data Grab Part</title>
    <!-- Combo-handled YUI JS files: -->
    <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo/yahoo-min.js&2.7.0/build/event/event-min.js&2.7.0/build/json/json-min.js"></script>
    <script src="js/guardian_1000_songs.js" type="text/javascript"></script>
    <script src="js/info.js" type="text/javascript"></script>
    <script src="js/engine.js" type="text/javascript"></script>
    <style>
        input, select { width:260px }
        textarea { width:460px; height:260px }
        dl { margin-top: 0px }
        #div-select,
        #div-data,
        #div-json { float:left }
        #div-data,
        #div-json { margin-left: 20px }
    </style>
</head>
<body>
 
 
<div id="div-select">
    <select id="select_artists" size="30">
    </select>
</div>
 
<div id="div-data">
  <dl>
    <dt>Name</dt>
    <dd><input id="input-name" type="text" value="" /></dd>
 
    <dt>mbid</dt>
    <dd><input id="input-mbid" type="text" value="" /></dd>
 
    <dt>known by lastfm</dt>
    <dd>
      <input id="input-lastfm" type="checkbox" value="" /><br />
      <input id="btn-get-lastfm" type="button" value="Get data from lastfm -->" disabled="disabled"/>
    </dd>
 
    <dt>tracks</dt>
    <dd>
      <select id="select_tracks" size="10">
      </select>
    </dd>
  </dl>
</div>
 
<div id="div-json">
  <dl>
    <dt>lastfm API key</dt>
    <dd><input id="input-last-fm-api" type="text" value="" /></dd>
 
    <dt>JSON results</dt>
    <dd><textarea id="ta-json"></textarea></dd>
  </dl>
</div>
 
<script type="text/javascript">
    engine.list_artists();
</script>
 
</body>
</html>