News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Zend Developer Zone:
Using Zend_Feed to Merge Multiple RSS Feeds
0 comments :: posted Tuesday April 08, 2008 @ 10:32:58
voice your opinion now!

On the Zend Developer Zone, a new tutorial has been posted that anyone looking to "blend feeds" might want to take a look at. It's a guide to using the Zend_Feed component of the Zend Framework to combine the contents of multiple RSS feeds.

As part of my playing around with the Zend Framework, I've decided to make this merged RSS feed using the Zend_Feed component. Actually at the end I've realized that this merged feed idea is quite useless, but at least this post came out of it :-)

He developed it originally as a way to combine his twitter and blog feeds into one thing to provide the latest updates to readers from both in one simple place. He shows how to take in the two feeds, each in its own feed object and merge them into one array. This array is then pushed back out to the visitor an the RSS format (thanks to Zend_Feed_Rss).

tagged with: zendframework zendfeed zendfeedrss combine tutorial feed multiple


Padraic Brady's Blog:
Zend_Feed Getting Started With Aggregating RSS/Atom Content
0 comments :: posted Tuesday February 12, 2008 @ 09:32:00
voice your opinion now!

Padraic Brady has put together a very comprehensive post on his blog today about using the Zend_Feed component of the Zend Framework to help with the aggregation of content from other sites (like RSS and Atom feeds).

In this entry I explore Zend_Feed from the perspective of someone aggregating RSS and Atom feeds with a view to building a database of uniquely identified content for later presentation in a "Planet" style application. [...] In fact all we create here is a simple command line script to aggregate content frequently (e.g. just set up cron to run it every hour or so) into a database for later presentation.

He guides you through each step of the way:

  • Setting Up Database And Models
  • The Aggregator Script Foundation
  • Using Zend_Feed to get common data for RSS/Atom entries
  • Putting It All Together

There's plenty of code (and SQL to insert) in the post and he explains each point well, helping to make the development process smoother. There's even a summary section to toss in a few extra bits of information just in case you missed them along the way.

tagged with: zendfeed zendframework aggregate rss atom feed content




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