Zend Developer Zone
Where the ElePHPants come to learn

Zend Developer Zone

Reading RSS Feeds From Multiple Feeds Using Zend Feed

Incredibly Old Content Warning!

The content you are viewing is more than three years old. It is here for archival purposes. Do not use any advice in this article.

::Jedi Hand Wave:: This is not the information you are looking for. Move along.


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.

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 happily married to wife 1.31, 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 Nomad PHP