Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

try to avoid errros that result from 503 from soundcloud

  • Loading branch information...
commit a9c8e59782de55829de0b1c556b9646948e8d036 1 parent f58fe5e
@edsu authored
Showing with 12 additions and 7 deletions.
  1. +9 −4 css/style.css
  2. +2 −3 index.html
  3. +1 −0  js/lastcloud.js
View
13 css/style.css
@@ -13,7 +13,9 @@ header {
header img {
vertical-align: top;
-} #summary {
+}
+
+#summary {
font-size: 10pt;
padding: 5px;
font-style: italic;
@@ -32,17 +34,20 @@ header img {
}
#results li {
- padding-top: 20px;
- padding-bottom: 10px;
- border-top: thin solid #eeeeee;
+ border: thin solid #dddddd;
text-align: center;
list-style: none;
+ margin: 20px;
}
#results .artist a {
text-decoration: none;
}
+#results .artist img {
+ margin-top: 20px;
+}
+
@media only screen and (max-device-width: 480px) {
body {
width: 90%;
View
5 index.html
@@ -26,9 +26,8 @@
<p>
Enter your <a href="http://last.fm">LastFM</a> username below
- and I'll try to find the top 100 artists you listen to who look
- like they might upload tracks to
- <a href="http://soundcloud.com">Soundcloud</a>.
+ and I'll try to find artists you listen to who look like they
+ might be active on <a href="http://soundcloud.com">Soundcloud</a>.
</p>
<p>
View
1  js/lastcloud.js
@@ -33,6 +33,7 @@ function addSoundcloud(response) {
}
for (var j in response) {
var user = response[j];
+ if (! user.username) return;
var username = normalize(user.username);
var li = $("#" + username)[0];
var template = $("#soundcloud-template").html();
Please sign in to comment.
Something went wrong with that request. Please try again.