News Feed
Sections




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

PHPBuilder.com:
Reading RSS feeds in PHP Part 2
December 19, 2006 @ 15:48:00

PHPBuilder.com has posted part two in their series looking at working with RSS feeds in PHP. This time, they pick up from the previous part and look at parsing two new feeds and pushing that content into a database.

These two sample feeds are loosely based on some of the feeds supplied by Independent Online. Note that unlike last month's simplified example, each article item has a publication date. We'll call the two feeds africa.rss and southafrica.rss.

They give the contents of the feeds to be parsed and what the info (as parsed by the code from the previous article) spit out the other side would look like. They also give the schema for the database table you can push all of the content into to store it. The rest of the article is the code listing to get this system working (including the code to parse the feed itself).

0 comments voice your opinion now!
part2 rss feed parse database output tutorial part2 rss feed parse database output tutorial


blog comments powered by Disqus

Similar Posts

Stefan Mischook's Blog: Aprenda Programacion Orientada a Objetos en PHP

ZD Net Asia: Keep your options open with FTP file uploads

Rob Allen's Blog: Zend Framework Tutorial

Zend Developer Zone: Installing PHP4 and PHP5 Concurrently on One WinXP Computer

Alexander Netkachev's Blog: Installing Propel object persistence layer for Web application


Community Events





Don't see your event here?
Let us know!


configure wordpress unittest community code podcast developer threedevsandamaybe list application library interview install series bugfix laravel release api language introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework