« Ubuntu Dual-display with an Apple Cinema Display | Main | The Area Under the Curve »

lastFM Artist Cloud

I just finished a perl script, based on a script by Adriaan Tijsseling, that grabs from the Recently Played feed (mine was empty) to create a cloud of artists from last.FM's XML feed of most played artists. You can see the script in action at the bottom of the right hand sidebar of this page.

You can get the script here. You will have to rename the file with a .pl extension, change 'relevante' (my username) to your lastFM username, change the user agent on line 3, set your domain on line 4, and set the file path on line 5 to point to an appropriate directory on your server. Then run the script on a cronjob and include the output file in your blog or webpage (if you are using PHP, you can use <?php include("/path/to/thefile.txt"); ?>). Then everyone can see all the crappy music you REALLY listen to.

Links


  3d 9pm abacusproject administration advertising ajax altera amazon apache apartments apartments2011 api apple apps art audio aws backup blog books browser business california camera centralcoast certification chaos cnc coffee computer cooking css culture data database debian dedicatedserver design development dexpogroupa documentation earth economics electronics email engineering environment events filetype:pdf firefox firefox:toolbar flash fonts food fpga free funny games gis git google gps graphics guitar gumspots hacking hacks hardware history hometheater hosting html humor ie images imported indian indoorpositioning innovation interface internet investing iphone ipod ireland itp java javascript jobs jsp kharagpur latex led library light linux lodging mac macbook mail maininfoitp manufacturing map mapping maps marketing mccain media:document mikrokopter mobile mozilla music mysql nas network news northcoast nyc obama opengl opensource orb osx park parts pcb pcbfabrication pdf performance photography physics pic plugin poker politics postfix printing privacy processing programming projects prototyping ps3 psychology radio rails realestate recipes redwoods reference regex rest rfid rss ruby rubyonrails scholarships science search security server servlet sfsublet siliconeswitches social socialsoftware society software spi starthere startup statistics stepper storage subversion svn swivel sysadmin tcamp technology tedpresentation theory thesis tools travel tv ubuntu usb usbdongle video visualization web web2.0 webdesign webdev webdevelopment weddingvenue westcoast2011 wff where2.0 wifi windows wireless wordpress yosemite zigbee

Design Directory

Music

Where am I?

Recent Photos

Powered by
Movable Type 3.35