Skip to content

Instantly share code, notes, and snippets.

@timruffles
Created September 14, 2011 15:52
Show Gist options
  • Save timruffles/1216932 to your computer and use it in GitHub Desktop.
Save timruffles/1216932 to your computer and use it in GitHub Desktop.
Quick twitter stream json-ifier
$(".stream-item").map(function() {
t = $(this);
return {
profile: t.find("img.user-content-image").attr("src"),
twitter: t.find("a.user-profile-link strong").html(),
fullName: t.find(".full-name").html(),
description: t.find(".user-description").html()
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment