Simple PHP5 RSS/Podcast Parser

Download it here (zip)

It took me a while to find a reasonable PHP5 Podcast parsing class. So I spent the time better and wrote my own. It's very simple to use.

require_once "Podcast.php";

$parser = new Podcast();
$parser->parseFeed("http://thelinuxlink.net/tllts/tllts.rss");

$channel = $parser->getChannelInfo();
echo $channel['url'];
echo $channel['title'];
echo $channel['description'];

And as for items

$items = $parser->getItems();
$i = 0;
foreach ($items as $item)
{
	$enc = $item->enclosure;
	$meta = $item->metadata;
	echo $meta['title']."\n";
	echo $meta['description']."\n"
	echo $enc['type']."\n";
	echo $enc['length']."\n";
	echo $enc['url']."\n";
	echo "\n";
}

The Linux Link Tech Show MP3 Feed

The Linux Link Tech Show

ff81fdb3a51770b47d3c7f5658eebc62

Posted Items

Title Description Type Length Link
The Linux Link Tech Show Episode 440 Call In Show, guests galore! Good stuff! audio/mp3 33962359 LINK
The Linux Link Tech Show Episode 439 Just us! Linc is back! SOPA, MegaUpload, FileSharing, Ubuntu HUD, Arch Linux Love audio/mp3 28626572 LINK
The Linux Link Tech Show Episode 438 SOPA Blackout audio/mp3 311841 LINK
The Linux Link Tech Show Episode 437 Chad Returns! CarrierIQ, UbuntuTv, Android, DRM audio/mp3 32401376 LINK
The Linux Link Tech Show Episode 436 Special Guest Dan Rosenberg, CarrierIQ, Android, Security, Resolutions, Emulators, Wacom Tablet audio/mp3 31377909 LINK
The Linux Link Tech Show Episode 435 Jelkimantis joins us tonight, leap frog, kindle, nook, ebooks, wacom tablets audio/mp3 31377909 LINK
The Linux Link Tech Show Episode 434 Just us in a laid back atomosphere. audio/mp3 25835771 LINK
The Linux Link Tech Show Episode 433 Special Guest Jonathon Nadeau - North East Linux Fest, accessibility, android, google tv, vmware console audio/mp3 29908378 LINK