Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created January 23, 2009 05:19
Show Gist options
  • Save mikedamage/50897 to your computer and use it in GitHub Desktop.
Save mikedamage/50897 to your computer and use it in GitHub Desktop.
function twitterFeed(feed) {
for (var i=0; i<feed.length; i++) {
$('#twitter-status ul').append('<li class="tweet">'
+ feed[i].text
+ '<br/><em>'
+ jQuery.timeago(parseDate(feed[i].created_at))
+ '</em>'
+ '</li>');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment