Search

Friends

Atomspheric CO2 (PPM)

Archives

Blather

Uptime verified by Wormly.com

5 June 2006

Last.fm WordPress Plugin (without CURL)

This is a complete ripoff of tijs's plugin, but I've replaced the CURL library with the fopen URL wrapper. So it should work with pretty much any PHP install. Of course, it is now marginally less good.

lastfm.zip

Now I'm really going to go study. Or maybe have breakfast. But after that I'll definitely go study.

Update: I installed CURL and now I'm using Tijs's original. fsockopen() and the HTTP wrappers in PHP suck too bad.

Update 2: Now I'm using Yahoo Pipes to get it as plain RSS.

Comments

  1. […] Make sure your webhost has installed the CURL library for PHP though otherwise this plugin won’t work. If not you could opt to use this modified version of my plugin which uses fopen instead. […]

    tijs.org » Blog Archive » Last.fm recent tracks Wordpress plugin / 1:11am / 6 June 2006

  2. It was about a 30 second change. It’s good to have other hackers around willing to compromise quality on your behalf.

    Ryan / 1:19am / 6 June 2006

  3. I am getting this error:
    Warning: filegetcontents(http://ws.audioscrobbler.com/1.0/user/matt221984/recenttracks.xml): failed to open stream: Permission denied in /home/u3/mvanstone/html/wp-content/plugins/lastfm.php on line 94
    # No recent tracks

    but I can go to the address http://ws.audioscrobbler.com/1.0/user/matt221984/recenttracks.xml and the file opens up with no problem. Any ideas?

    Matt / 3:26am / 4 July 2006

  4. My guess is that your hosting setup doesn’t let you fopen URLs. Try a couple of other URLs and see if they have the same problem.

    Ryan / 8:02am / 4 July 2006

  5. Thanks a lot! Make’s life a little easier (a very little, but still :-) ).

    ElmoTheElk / 9:03am / 22 August 2006

  6. the download of lastfm.zip doesn’t work.

    martin / 11:05am / 28 August 2006

  7. Yes. Still ironing out the various lighttpd rewrite bugs. It should work now.

    Ryan / 12:29pm / 31 August 2006

  8. […] and truly, Yahoo Pipes is pure bliss. After a long period of loyal service from my modified version of Tijs’s last.fm plugin I have found a nicer solution. I was waiting for last.fm to turn its […]

    Fat Vegan › Yahoo Pipes + last.fm / 11:15am / 8 May 2007

Leave a comment

Markdown

0.082 seconds