Description : Its a widget plugin which collects data from Audioscrobbler web services and gets your last listened tracks and their album images. It works in PHP4 platforms and uses my simplexml class to collect data from Audioscrobbler.
Installation : The directory structure should be like this :
--> wp-plugins/ |-- lastfm_RPS/ |-- noart.gif |-- simplexml.class.php |-- readme.txt |-- lastfm.css
Then just activate the plugin, go to Design-Widgets, add the widget where you want, write the username and widget title in the settings and save. That’s all.
Note : If your theme isn’t widget enabled, you can insert this plugin in your sidebar.php file or wherever you want like this :
Download : You can get the latest release here : http://wordpress.org/extend/plugins/lastfm-rps/
Demo : You can see a working example in my homepage.
Whats New in Version 0.2?
- Added option to define how many songs are displayed on the page
- Seperated css file from code and added new “lastfm.css” file
- Added different stylesheets to recently played songs
- Changed the datetime display configuration like “x days y seconds and z minutes ago”
- Changed the div’s into tables which are more reliable for different themes.
- If the user hasn’t any wp_head() included in his/her theme’s header.php, this script checks and adds its css itself.
Whats the fixes in Version 0.3?
- Added a neccessary fix for the time difference between server time and local time.
- If there is a track played in the player which length is less than 4 minutes ,the script showed two recently listened songs, so this is fixed now.It only displays one.
Whats new in Version 0.4?
- Added support for not widget-ready themes.
- Added Screenshot
- Updated Readme.txt
Whats the fixes in Version 0.5?
- When no songs played for a long time or only played only one song, this script raised errors. This is fixed now.
- Optimized the SimpleXML Extension for speed issues.
What’s added in v0.6?
- Improved checking of album images.
- If the feed item contains no album name, then directly shows default image.
What’s New in v0.7?
- Added image positioning
- Added optional Bottom Text
- Removed the slashes before ‘ and “
- Converted tables to css so you have all the control in lastfm.css
- Added artist images support. Now it shows artist images when it can’t find the album image.
People who looked at this item also looked at…
Related items












Taha Paksu on 21 May 2010
hi,
thats because the last.fm server’s time is different from your hosting server’s time. There’s a box in the plugin’s configuration labeled “server time difference” so you can set the difference there, for example the song you are listening is displaying like this :”-1d 23h 55m ago” this means your server’s time is about 5 minutes = 300 seconds different from last.fm server’s time. you should set the value 300 or maybe 330 there and try again.
bigbrovar on 21 October 2009
Hey mate I finally uploaded my blog onlone and it still doesnt work still says This username does not exist, or the feed service is down Just thought to let you know
Taha Paksu on 27 September 2009
that’s because this plugin fetches a xml file from last.fm.. try it again when you upload your site on a host.
bigbrovar on 27 September 2009
Tried it again and i observed the following:
The page takes blog page takes an incredible amount of time to load even though its on localhost and when it loads i get this “This username does not exist, or the feed service is down.”
however if i disable the plugin. the page loads faster like it should.
bigbrovar on 27 September 2009
my username on lastfm is bigbrova and phpinfo showed that XML is enabled and active. How there the widget work, will it for example work if am behind an http proxy? my localhost is behind an http_proxy so i had to add the proxy parameters to wordpress config which works fine for other internet aware widgets