Show what you've been listening to

I have been listening to...

Try it!

Last.Fm username
Period of time

How To

For Wordpress users, you can download the plugin at Wordpress Plugin Directory.

If you don't have Wordpress and still want to display on your site what you listen to, here are some instructions:

  1. Make sure you have jQuery included
  2. Include the javascript file last.fm.records.js from the zip at the Wordpress Plugin Directory.
    
    <script type='text/javascript' src='/wp-includes/js/jquery/jquery.js'></script>
    <script type='text/javascript' src='/wp-content/plugins/last.fm.records/last.fm.records.js'></script>
    
            
  3. Create a <div /> with an id that matches the config below
    
    <div id="lastfmrecords" />
            	
  4. Configure the object and run it:
    
    <script type='text/javascript'>
    jQuery(document).ready( function() {
      var _config = {username: 'hondjevandirkie',        // last.fm username
                     placeholder: 'lastfmrecords',       // id of the div in HTML to use for cd covers
                     defaultthumb: './lastfm_logo.jpg',  // image to show when no cd cover or artist image was found
                     period: 'lovedtracks',              // which period/type of data do you want to show? you can choose from
                                                         // recenttracks, 7day, 3month, 6month, 12month, overall, topalbums and lovedtracks
                     count: 12,                          // number of images to show
                     refresh: 5,                         // when to get new data from last.fm (in minutes)
                     offset: 1                           // difference between your timezone and GMT.
                    };
    
      lastFmRecords.debug();                             // log to console
      lastFmRecords.init(_config);
    });
    <script>
    
              
  5. Check the console for error info -- if any (you need to add the lastFmRecords.debug(); line in javascript

Project Status: