Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 7 Yes
  • 1 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

rrz_lastfm_charts

This plugin displays a nice, bite-size, ordered list of your last.fm weekly album charts. If you have any questions or commentary, please contact me by using the contact form on my website.

Configuration

The plugin’s configuration is handled by the source of the plugin (for now). In order to display charts of your last.fm profile you have to change RRZ_PROFILE to your profile name. Additionally you can change the size of the images (RRZ_IMAGE_SIZE) and the amount of images that are displayed (RRZ_IMAGE_AMOUNT).

Admin

The plugin features an admin interface under the tab ‘extensions’. On the first run you’ll only see the ‘go’ button. When clicking this button the script will collect all the charts needed for the plugin.

Note that the album images are stored in /images/lastfm and a cache file is created in /cache, because the script is too recourse-heavy to function live constantly.

Presentation

This plugin has only one tag to output the chart in an ordered list (<ol>): <txp:rrz_lastfm_charts />

You can add a class to the plugin by adding the class attribute to the tag like this: <txp:rrz_lastfm_charts class="someclass" />

Note that you have to run the admin-side script first in order for this to work.

Article Request Count:
Keywords/tags:
Initially released:
January 25, 2008
Posted here:
25 Jan 2008

You know you want to visit the Archives.
Published with Textpattern