News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

Philip Norton's Blog:
Simple PHP Code To Get last.fm Last Played Tracks
December 01, 2011 @ 13:41:00

If you're a last.fm user and have been curious about how to get the latest list of your "last played" selections, Philip Norton has just the code you'll need.

The other day I was approached by a friend (Julie Cheung) and asked if I could create some code that would display a list of last played tracks from last.fm. Julie isn't a PHP developer and so the code I gave her had to be easily understandable so that she could edit it herself if needed. The following code is what I came up with.

The code pulls from the defined user's "recenttracks" feed and parses it (via a simplexml_load_string call) into an object that's looped through and outputted. Data that comes back from the feed includes artist anme, name of the track, a URL to more information about it and an image of the album cover. He also includes an updated version that caches the data for three minutes so it's not always relying on the last.fm servers to be there.

0 comments voice your opinion now!
lastfm recent played tracks tutorial xml feed



Ligaya Turmelle's Blog:
OSCON CfP
February 02, 2007 @ 08:19:00

In a new blog post, Ligaya Turmelle reminds us about the Call for Papers that's still open for this year's OSCON - but not for much longer.

Anyway, here is the link for submitting a proposal and the currently listed tracks include Linux, PHP, Perl, Python, Ruby, Java, Databases, Desktop Applications, Web Applications (client-side and server-side), Windows, Administration, Security, and Emerging Topics.

The deadline for entry is this coming Monday, February 5th (2007) and all entrants much submit the form for their entries to be considered.

0 comments voice your opinion now!
oscon callforpapers submit deadline tracks topics oscon callforpapers submit deadline tracks topics



Community Events





Don't see your event here?
Let us know!


symfony2 api zendframework2 phpunit interview introduction opinion community application database injection unittest language zendframework podcast release conference framework voicesoftheelephpant testing

All content copyright, 2012 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework