This is an old revision of the document!
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.
Download | plugin-lastfm.tgz |
---|---|
Github URL | http://github.com/chimeric/dokuwiki-plugin-lastfm |
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
.
- .tgz 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.
- An error occurred while fetching this feed: http://github.com/feeds/chimeric/commits/dokuwiki-plugin-lastfm/master
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