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

3d3028af64f040ed7826be3753353514

Posted Items

Title Description Type Length Link
The Linux Link Tech Show Episode 279 Peter64, year end wrap up, some predictions. audio/mp3 34068190 LINK
The Linux Link Tech Show Episode 278 Scott Dowdle from OpenVZ and Ken Helios Starks from Fixedbylinux.com audio/mp3 27599958 LINK
The Linux Link Tech Show Episode 277 Scott Sigler - author and Podaudio pioneer, Slackware 12.2, Linux in Education audio/mp3 24101064 LINK
The Linux Link Tech Show Episode 276 Keith Curtis author of After the Software Wars, JZA on OpenOffice news, Pat on the nokia n8xx audio/mp3 38529277 LINK
The Linux Link Tech Show Episode 275 David Kaplan - Lindependence Oregon update, Mandriva, Slackware, Nonesense and more audio/mp3 39211596 LINK
The Linux Link Tech Show Episode 274 Paul Frields - Fedora Project Lead, Fedora, JZA joins us for some OpenOffice updates. audio/mp3 36549454 LINK
The Linux Link Tech Show Episode 273 Angie, Neil and Earl from the core Drupal dev team join us along with Chad Wollenberg to talk about Drupal. audio/mp3 32682551 LINK
The Linux Link Tech Show Episode 272 Steve from Open Street Map Project, past mistakes, freegeek, linux promotion, intrepid. audio/mp3 33702733 LINK
The Linux Link Tech Show Episode 271 Chad Wollenberg - Virginia Schools and Open Source, OpenOffice, Google Docs audio/mp3 31882577 LINK
The Linux Link Tech Show Episode 270 Dave Yates and Gorkon - Intrepid Ibix, Haupage HD Capture, other cool stuff. audio/mp3 29035594 LINK
The Linux Link Tech Show Episode 269 David Kaplan from Lindependence, Portland; listener call-ins, the OLF experience. audio/mp3 32244425 LINK
The Linux Link Tech Show Episode 268 Ohio Linux Fest Part 2 audio/mp3 37455101 LINK