Table of Contents
LastFM Plugin
Compatible with DokuWiki
> 2009-02-14, 2008-05-05
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Description
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.
Installation
Download the archive and unpack it into <dokuwiki>/lib/plugins
.
- .zip Plugin Manager
The plugin can also be installed via git.
% cd <dokuwiki>/lib/plugins % git clone git://github.com/chimeric/dokuwiki-plugin-lastfm.git lastfm
Configuration
LastFM stores the date of the recent played tracks in UTC format. You can define an UTC offset via the configuration manager.
Syntax
{{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) |
Demo
You can try the plugin here.
Changelog
A complete changelog is available here.
- removed debugging output (2009-05-21 14:52)
- added action.php (2009-05-21 14:46)
- release preparations (2009-05-21 14:41)
- allow to display date from multiple lastfm profiles (2009-05-21 14:40)
- use DokuWiki AJAX facilities (2009-05-21 13:36)
- updated info in syntax.php (2009-05-20 20:43)
- updated README (2009-05-20 19:36)
- fixed vim modelines (2008-06-28 20:41)
Bugs / Feature Requests
Please report bugs and feature requests at the bug tracker.
Discussion
OK: version 2009-05-21 works nicely with ricewind for this:
{{lastfm>user?profile topartists topalbums toptracks recenttracks L=50}}
, — Erkan Yilmaz 2011/08/10 03:19