PHP4: How to parse podcast XML?

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
JDove
Forum Newbie
Posts: 1
Joined: Fri Jan 13, 2006 10:51 am

PHP4: How to parse podcast XML?

Post by JDove »

Sample structure:
http://www.itconversations.com/rss/cate ... litics&e=1

It is RSS 2.0, but what should be done with enclosure url=" and other tags.

Any sample/idea?
User avatar
jasonjohnson
Forum Newbie
Posts: 6
Joined: Wed Jan 18, 2006 9:21 am
Location: Dallas, TX, USA

Post by jasonjohnson »

You should go get 'em! The tag in question contains more than enough information to allow the download of your podcasts. If you have a decent representation of the document using something like XML::Tree or XML::RSS, you should be able to apply a very simple script to its structure in memory to download and catalog each file.

But what is it you're looking to do, exactly?
Post Reply