With this plugin you can display statistics from the last.fm service for a given user
Compatible with DokuWiki
> 2009-02-14, 2008-05-05
| Download | plugin-lastfm.tgz |
|---|---|
| Github URL | http://github.com/chimeric/dokuwiki-plugin-lastfm |
With this plugin you can display statistics from the last.fm service for a given user. You can see/test the plugin in action here.
Download the archive and unpack it into <dokuwiki>/lib/plugins.
The plugin can also be installed via git.
% cd <dokuwiki>/lib/plugins % git clone git://github.com/chimeric/dokuwiki-plugin-lastfm.git lastfm
LastFM stores the date of the recent played tracks in UTC format. You can define an UTC offset via the configuration manager.
{{lastfm>username?[opt 1] [opt 2] [opt n] L=n}}
The following options are available:
| topartists | Your top artists |
|---|---|
| topalbums | Your top albums |
| toptracks | Your top tracks |
| tags | A list of your tags |
| friends | Your friends at last.fm |
| neighbours | Your neighbours at last.fm |
| recenttracks | Recently played tracks. Note, if you haven't played any none will be shown |
| artistchart | Your weekly artist charts |
| albumchart | Your weekly album charts |
| trackchart | Your weekly track charts |
| profile | Shows your profiles' avatar and links to your last.fm page |
| L=n | Limits the number of displayed records to n (default is 10) |
| C=n | Number of columns used to display the friends/neighbours lists (default is 5) |
| IMGONLY | Shows only images (usable with albumchart) |
You can try the plugin here.
A complete changelog is available here.
Please report bugs and feature requests at the bug tracker.
OK: version 2009-05-21 works nicely with ricewind for this:
{{lastfm>user?profile topartists topalbums toptracks recenttracks L=50}}
, — Erkan YilmazErkan Yilmaz
2011/08/10 03:19