{"id":4901,"date":"2009-03-02T17:20:56","date_gmt":"2009-03-02T17:20:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lastfm-recent-tracks-widget\/"},"modified":"2010-03-06T02:20:58","modified_gmt":"2010-03-06T02:20:58","slug":"lastfm-recent-tracks-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lastfm-recent-tracks-widget\/","author":2034813,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.9.5","stable_tag":"trunk","tested":"2.9.2","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"Recently on Last.fm","header_author":"Gregory Tomlinson","header_description":"","assets_banners_color":"","last_updated":"2010-03-06 02:20:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/gregorytomlinson.com\/encoded\/recent-tracks-lastfm-widget\/","header_author_uri":"http:\/\/www.gregorytomlinson.com\/encoded\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":6372,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4","0.5","0.6","0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539112","resolution":"1","location":"plugin","width":228,"height":193}},"screenshots":{"1":"View of the widget in the K2 Theme."}},"plugin_section":[],"plugin_tags":[29426,1679,218,162],"plugin_category":[43,50],"plugin_contributors":[86529],"plugin_business_model":[],"class_list":["post-4901","plugin","type-plugin","status-closed","hentry","plugin_tags-jsonp","plugin_tags-last-fm","plugin_tags-music","plugin_tags-widget","plugin_category-customization","plugin_category-media","plugin_contributors-gregory80","plugin_committers-gregory80"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lastfm-recent-tracks-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/lastfm-recent-tracks-widget\/trunk\/screenshot-1.png?rev=1539112","caption":"View of the widget in the K2 Theme."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip lastfm-recent-tracks-widget.zip and upload the entire folder to wp-content\/plugins.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<h4>Widget Enabled Themes<\/h4>\n\n<ul>\n<li>Go To The Widget Screen Under Appearance. <\/li>\n<li>Add The Recently on Last.fm Widget.<\/li>\n<li>Add Your own Last.fm username to see your recent tracks.<\/li>\n<li>Select The number of Recent Tracks you want to display<\/li>\n<li>Save your changes<\/li>\n<\/ul>\n\n<h4>Non Widget Enabled Themes<\/h4>\n\n<ul>\n<li>Add the jquery.lastfm.js file to the head of your document<\/li>\n<li>Add The following HTML to your sidebar, replacing &#095;&#095;YOUR_USER_ID&#095;&#095; with your actual Last.fm username<\/li>\n<li><\/li>\n<\/ul>\n\n<pre>&lt;div class=\"last&#095;fm&#095;recent&#095;tracks&#095;bx\"&gt;\n        &lt;style type=\"text\/css\"&gt;\n            &lt;!--\n                .sp&#095;list&#095;itm&#095;span { display:block; }\n            --&gt;\n        &lt;\/style&gt;\n    &lt;h4&gt;&lt;a href=\"http:\/\/www.last.fm\/user\/&#095;&#095;YOUR_USER_ID&#095;&#095;\" target=\"_blank\"&gt;Recently on Last.fm&lt;\/a&gt;&lt;\/h4&gt;\n     &lt;ul id=\"recent&#095;on&#095;last&#095;fm&#095;itm&#095;list\"&gt;&lt;\/ul&gt;\n     &lt;script type=\"text\/javascript\"&gt;\n        jQuery('#recent&#095;on&#095;last&#095;fm&#095;itm&#095;list').lastfm({ params : { limit : 5, user : '&#095;&#095;YOUR_USER_ID&#095;&#095;' } })\n     &lt;\/script&gt;\n&lt;\/div&gt;<\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>How Does It Work<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>What awesome technologies are at play<\/dt>\n<dd><p>jQuery, JSONP, PHP &amp; Wordpress!<\/p><\/dd>\n<dt>How do I install it<\/dt>\n<dd><p>See the installion section<\/p><\/dd>\n<dt>Who do I complain to if it's broken?<\/dt>\n<dd><p>gregory.tomlinson [at] gmail [dot] com<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Fast, flash free, non-cached view of your Recent Tracks on Last.fm","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4901"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gregory80"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4901"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4901"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4901"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4901"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4901"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}