LastFM
Questions answered by this recipe
How can I embed Last.fm Widgets such as radio, quilts, and charts in PmWiki?
Description
This recipe allows you to incorporate Last.fm widgets into your PmWiki installation.
To install, place lastfm.phpΔ in your cookbook directory, then add the following to config.php or another local configuration file:
include_once("$FarmD/cookbook/lastfm.php");
You can embed radio players, playlist players, quilts, or charts.
For more information, see: http://last.fm/widgets
The recipe enables the (:lastfm:)
markup. You add arguments to customize the widget.
Here are the arguments:
type (chart, radio, playlist, quilt) user color/colour (red, blue, black, grey) chart (recent, topartists, toptracks, weeklyartists, weeklytracks) quilt (album, artist) orient (horizontal, vertical) size (small, medium, large for quilts; regular, mini for radios) autostart ( 1 for an autostarting radio )
If you just put in a username and nothing else, you will get, by default, a red medium-sized chart of recent tracks played.
Notes
Release Notes
2007-05-12: Initial release.
See Also
Contributors
Comments
See Discussion at LastFM-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.