=== Recently on Last.fm === Contributors: gregory80 Tags: widget, music, last.fm, jsonp Requires at least: 2.6 Tested up to: 2.9 Fast, flash free, non-cached view of your Recent Tracks on Last.fm == Description == The Last.fm Recent Tracks Plugin / Widget let's you display your Last.fm recent tracks in the sidebar of your blog, useful if you use WP-Cache / Super Cache and want the feed to be fresh. It leverages jQuery and JSONP to provide a never-stale, asynchronous connection to Last.fm. == Installation == 1. Unzip lastfm-recent-tracks-widget.zip and upload the entire folder to wp-content/plugins. 1. Activate the plugin through the 'Plugins' menu in WordPress = Widget Enabled Themes = * Go To The Widget Screen Under Appearance. * Add The Recently on Last.fm Widget. * Add Your own Last.fm username to see your recent tracks. * Select The number of Recent Tracks you want to display * Save your changes = Non Widget Enabled Themes = * Add the jquery.lastfm.js file to the head of your document * Add The following HTML to your sidebar, replacing __YOUR_USER_ID__ with your actual Last.fm username *
<div class="last_fm_recent_tracks_bx">
        <style type="text/css">
        	<!--
				.sp_list_itm_span { display:block; }
			-->
        </style>
	<h4><a href="http://www.last.fm/user/__YOUR_USER_ID__" target="_blank">Recently on Last.fm</a></h4>
	 <ul id="recent_on_last_fm_itm_list"></ul>
	 <script type="text/javascript">
	 	jQuery('#recent_on_last_fm_itm_list').lastfm({ params : { limit : 5, user : '__YOUR_USER_ID__' } })
	 </script>
</div>
== Frequently Asked Questions == = How Does It Work = Magic?! But seriously. The plugin / widget leverages JSONP to connect to the Last.fm API for a specified username to provide a never-stale, asynchronous connection to Last.fm. = What awesome technologies are at play = jQuery, JSONP, PHP & Wordpress! = How do I install it = See the installion section = Who do I complain to if it's broken? = gregory.tomlinson [at] gmail [dot] com == Screenshots == 1. View of the widget in the K2 Theme.