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

Spoono.com:
RSS Parsing using PEAR
May 14, 2006 @ 19:41:25

Spoono.com has posted a new tutorial today with complete details on using the PEAR XML_RSS package to parse an RSS feed.

This tutorial will show you how to use Pear (PHP Extension and Application Repository) to parse an RSS feed and display it on your site.

Pear is one of the best hidden jewels inside PHP that programmers usually don't take advantage of. In this tutorial, we're going to assume you already have Pear installed on your box. We will use the XML_RSS package from Pear to parse the top Yahoo! Technology News (located at http://rss.news.yahoo.com/rss/tech) and display it on an HTML page.

The nice thing about the completeness of the PEAR package is that it makes this tutorial a quick one - basically an install of the XML_RSS package (one line) and the code to pull in and parse out the contents of the RSS file (about eight lines). They explain it a bit, but the code makes things pretty readable and straight-forward. At the end, you'll see an amazingly simple way to pull and and parse any (properly formatted) RSS feed out there.

tagged: rss parsing use pear xml_rss package yahoo feed rss parsing use pear xml_rss package yahoo feed

Link:

Spoono.com:
RSS Parsing using PEAR
May 14, 2006 @ 19:41:25

Spoono.com has posted a new tutorial today with complete details on using the PEAR XML_RSS package to parse an RSS feed.

This tutorial will show you how to use Pear (PHP Extension and Application Repository) to parse an RSS feed and display it on your site.

Pear is one of the best hidden jewels inside PHP that programmers usually don't take advantage of. In this tutorial, we're going to assume you already have Pear installed on your box. We will use the XML_RSS package from Pear to parse the top Yahoo! Technology News (located at http://rss.news.yahoo.com/rss/tech) and display it on an HTML page.

The nice thing about the completeness of the PEAR package is that it makes this tutorial a quick one - basically an install of the XML_RSS package (one line) and the code to pull in and parse out the contents of the RSS file (about eight lines). They explain it a bit, but the code makes things pretty readable and straight-forward. At the end, you'll see an amazingly simple way to pull and and parse any (properly formatted) RSS feed out there.

tagged: rss parsing use pear xml_rss package yahoo feed rss parsing use pear xml_rss package yahoo feed

Link:


Trending Topics: