</script>
<script>$(document).ready(function() {
+ $('#history').DataTable();
$.getJSON("http://radio.wpitchoune.net/cgi-bin/icecast_last_songs.cgi",
function(data) {
$.each(data, function(i, value) {
+ "<td>" + value.listeners + "</td>"
+ "</tr>");
});
-
$('#history').DataTable();
});
</head>
<body>
- <section>
- <h1>Last played songs</h1>
+ <nav>
+ <ul>
+ <li><a href="index.html">Proxy Radio</a></li>
+ <li class="selected">Played songs</li>
+ <li><a href="songs.html">All songs</a></li>
+ </ul>
+ </nav>
+ <section>
<table id="history">
<thead>
<tr>
</section>
<footer>
- <p>(c) Proxy Radio</p>
+ <ul>
+ <li><a href="mailto:proxyradio@wpitchoune.net">Contact</a></li>
+ </ul>
</footer>
</body>