Reading RSS Feeds From Multiple Feeds Using Zend Feed

April 16, 2012

News

Over on ForLinux.co.uk, there is a new post titled “Reading RSS Feeds From Multiple Feeds Using Zend Feed”. In it, the author talks about the benefits of using Zend_Feed to read different types of RSS feeds.

Using one method to read from multiple RSS feeds by using one standard coding method may cause problems. This is because there are different types of feeds. One could be an atom feed and the other an RSS feed, and each has a slightly different XML structure. Using a standard class like Zend_Feed overcomes this problem by detecting the type of feed and returning a standard object.

The quote above represents about 90% of the non-code portion of the blog post. Obviously it is much longer on the HOW than the WHY. It is a short read but if you’ve never looked into Zend_Feed, a good introduction.

Hey, looking for some place to quickly try out that code? @ me on twitter (@calevans) and I’ll give you an invite to phpcloud.com. A few clicks of the mouse and you have an entire Zend Framework development area waiting for you to create something awesome in.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PC's. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is currently based in Nashville, TN and is gainfully unemployed as the Chief Marketing Officer of Blue Parabola, LLC. Cal is happily married to wife 1.28, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Day Camp 4 Developers

View all posts by Cal Evans

One Response to “Reading RSS Feeds From Multiple Feeds Using Zend Feed”

  1. Aneeq Says:

    There are several ways to read RSS feed in PHP, but this one is surely one of the easiest.

    channel->item as $entry) {
    echo “link’ title=’$entry->title’>” . $entry->title . “”;
    }

    ?>

    Source:
    http://phphelp.co/2012/04/23/how-to-read-rss-feed-in-php/
    OR
    http://addr.pk/a0401

Leave a Reply

You must be logged in to post a comment.