Listen To

This plugin will display the latest song you scrobbled trough Last.fm while writing a post.

Author:Alexander Lian (profile at wordpress.org)
WordPress version required:2.0.1
WordPress version tested:2.6
Plugin version:1.04
Added to WordPress repository:17-03-2008
Last updated:05-09-2008
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.herr-nilsson.com/listen-to
Total downloads:1 008
plugin download
Click to start download

This plugin uses the last scrobbled song on Last.fm as the basis for dsplaying the song you listend to while you where writing your post. It will not display anything if the last scrobbled song in last.fm, is older than 10 mins. when you publish your post.

Styling the link: 1. The link is sourounded by a span with a class = listenTo 2. When there is no link the span has an aditional class = listenTo_noLink 3. The link has a class = listenTo_link

You need to add the template tag in the content part of your template(or where you wish for it it apear.) when you place it you have some options if you are an advaced user;

<?php listenTo($before, $beforeLink, $after, $afterLink); ?>
  1. $before will apear before a <span>
  2. $beforeLink will apear before the <a href...
  3. $after will apear after </span>
  4. $afterLink will apear after </a>

Included languages

  1. English
  2. Norwegian

History

  • 1.04 Bugfix; use of htmlspecialchars for xml safe characters.
  • 1.03 Added feature : Abillity to update listen to when you update a post. Now working on 2.6.
  • 1.02 Changed the admin area to look better in 2.5->
  • 1.01 Bugfix
  • 1.00 Initial Release