Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
86 lines (74 sloc) 3.07 KB
<link rel="stylesheet" href="css/style.css"></link>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16871278-7']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
<a href=""><img style="position: absolute; top: 0; right: 0; border: 0;" src=""
alt="Fork me on GitHub" /></a>
<section id="summary">
Enter your <a href="">LastFM</a> username below
and I'll try to find artists you listen to who look like they
might be active on <a href="">Soundcloud</a>.
This ain't perfect, since there are some Soundcloud users who have
taken musician names as their own. But you might be pleasantly
surprised to find some musicians you like on Soundcloud.
This is a pure HTML and JavaScript
app. You won't need to login at LastFm or Soundcloud, or bring
oAuth to the prom. Code is also on
<a href="">Github</a>
if you have ideas for fixing/improving it.
<section id="search">
<form onsubmit="return false;">
<input size="16" placeholder="lastfm username" name="username" type="text">
<input type="submit" value="go"></input>
<section id="search-results">
<ul id="results">
<!-- javascript -->
<script src=""></script>
<script src=""></script>
<script src="js/mustache.js"></script>
<script src="js/lastcloud.js"></script>
<!-- templates -->
<script id="artist-template" type="text/x-mustache-template">
<li class="artist" id="{{ id }}">
<img src="{{ image }}">
<a target="_new" href="{{ url }}">{{ name }}</a>
<script id="soundcloud-template" type="test/x-mustache-template">
<a target="_new" href="{{ permalink_url }}">
<img title="{{ full_name }} [{{ username }}]"src="images/soundcloud-large.png"></img>