In a new tutorial from DevShed today, they walk you through the creation of a simple (very simple) RSS reader in PHP.
In this article we are going to discuss how to create a PHP-based RSS reader. It would be helpful if you know something about XML, but not really necessary. RSS documents have three main tags: Title, Link and Description. And they all do exactly what their names suggest. I will go into detail about these tags in my second article dealing with â€œbuilding an RSS file.â€ For now, we will only focus on the â€œreadingâ€ part of the article.
They start with an overview, showing where you'll come from and where you're headed to. They include a section introducing the XML handing functions (SAX, not DOM) and use them in a chunk of code to read in the RSS file and handle the contents.