fetch last.fm rss

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JKM
Forum Contributor
Posts: 221
Joined: Tue Jun 17, 2008 8:12 pm

fetch last.fm rss

Post by JKM »

http://ws.audioscrobbler.com/1.0/user/l ... tracks.rss

I want to get the output like this:
<date> <a href=http://www.last.fm/music/John+Williams/ ... ured">John Williams – The Droids Are Captured</a>

Could anyone please help me out? Thanks
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: fetch last.fm rss

Post by AbraCadaver »

Just several lines using simplexml.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: fetch last.fm rss

Post by josh »

Zend Framework also has a really simple rss reader.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: fetch last.fm rss

Post by klevis miho »

you can use simplepie, it's very good and simple
Post Reply