News Feed
Jobs Feed
Sections




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

PHPBuilder.com:
Building a PHP RSS Aggregator
April 04, 2013 @ 13:09:13

On PHPBuilder.com today there's a quick tutorial showing you how to build an RSS aggregator that can pull in RSS content and drop it into a MySQL table.

RSS stands for Really Simple Syndication. It is a Web format that allows website owners to distribute their latest and frequently updated content in a standardized way. RSS feed is actually an XML document that can be easily read by using RSS reader software or built-in functions in programming languages, such as PHP or Java. In this article, the focus will be on building a RSS aggregator in PHP.

They introduce the basics of an RSS feed - a specially formatted XML document with values for individual posts (like "title" and "link". They provide the SQL structure for the "article" and "feed" tables and the code to pull out each "feed" record, parse it and drop that into the "article" table for later consumption. They show two different methods for getting the content - one using file_get_contents and another using cURL.

0 comments voice your opinion now!
rss aggregator tutorial mysql database parse

Link: http://www.phpbuilder.com/articles/php-functions/xml/building-a-php-rss-aggregator.html

blog comments powered by Disqus

Similar Posts

IBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2

Codewalkers.com: Book Raffle - Beginning PHP and MySQL 5 - From Novice to Professional

DevShed: Building a Search Engine with MySQL and PHP 5

Stefan Mischook's Blog: Video Tutorial: Processing forms with PHP, Part 3

Laura Thomson\'s Blog: Slides from MySQL Users Conference


Community Events











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


release install unittest symfony2 application language composer threedevsandamaybe facebook podcast component overview hhvm package hack code opinion security introduction framework

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