clipped from: www.sitepoint.com   

Make Your Own Web Site Badges with jQuery and JSON


Services like Flickr, Delicious, and Twitter all offer JavaScript badges or widgets you can add to your site. But if you already use a JavaScript framework on your site, like jQuery, why would you want to add more JavaScript? Besides, it’s more fun to make your own. All of these services also offer a JSON format feed API, and rolling your own widget is easy. Here’s one I whipped up in no time for Twitter using jQuery. You’ll be surprised at how little code it requires.