How to get your own Audioscrobbler sidebar running

After contemplating Dave’s rather bizarre offer of forgiveness, I have decided to release the code I used to generate the Audioscrobbler sidebar.

So here it is:

The above piece of code will generate JavaScript file that you can link from your blog by putting the following lines of HTML in your Blogger template.

The PHP script uses Magpie RSS Parser, which you should be able to get from here. You should read the Magpie FAQ on caching. (For this, all you need to do is create a directory named ‘cache’ in the directory where you put the PHP script.)

U of W’s Computer Science, Mathematics, and Engineering undergraduate web servers are PHP-enabled, so you should be able to run the script from your web space. As for Artsies, ESers, and AHSers, I don’t know if you can run PHP scripts.

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to How to get your own Audioscrobbler sidebar running

  1. Dave says:

    Personal request:

    Please edit my name so my last name isn’t shown. I don’t want people google-ing me and finding a link to my blog thru your site. There’s a lot of people I don’t want reading my blog.

    Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s