Here is a simple tutorial so that you too can learn how to create an RSS reader.
A note from the author... That is how I learn how to do stuff like this. I had a need for an RSS reader. I looked around, got some ideas, and learned how to create something that is pretty dynamic an useful. So I will document how that is done here. I'm still in the middle of launching this thing. So give it a few days.
The people behind php as a language have made this super simple. There is a single function to call that parses the feed.
It basically turns the feed into an array. Then all you have to do is loop through the array to display the results.
With that, $rss is now an array containing the feed.
RSS feeds can contain any number of different tags. For the purposes of this exercise, will only be looking for the ones containing:
The chunk of code below is all you need. Here is what it does:
You can literally copy just this code into a blank PHP file and run it without modifying it at all.
It looks like this.