Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Creating an RSS Reader: the Reader
Feb 09, 2007 @ 17:43:48

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.

tagged: rss news reader xml sax functionality parse rss news reader xml sax functionality parse

Link:


Trending Topics: