Uploader

An all around general purpose file uploader for CakePHP. Packaged as a stand alone plugin with file validation, file scanning and support for a wide range of basic mime types.

Feed Aggregator Component officially released!

Friday, July 17th 2009, 1:31am
Topics: Code, CakePHP
Tags: Component, Script, Feed Aggregator, Feed, Aggregator, RSS, Atom, Release
Comments: 3
Permalink - Tinylink

I recently needed the ability to display a list of feed items, but the catch was I needed them to be combined from multiple feeds, a feed aggregator. At first I was expecting to find this in the bakery, but was saddened when there was none. So I sat down, opened dreamweaver and began coding. I've never created a feed aggregator before, but it was relatively easy. You can see it in action by going to the homepage of GameSync and directing your self to the "news" module at the bottom.

Its really simple, the script is a CakePHP Component that will take a list of feeds and aggregate them into a single array based on their timestamp. It works with RSS 1.0 (RDF), RSS 2.0 and Atom 1.0 and has the ability to cache its results.

View full documentation and download version 1.1

Enjoy! Let me know if there are any bugs.
Related Entries:

3 Comments

10 / 2 = ?
Allowed: [code] [b] [i] [u]
  • Ianemv
    ianemv.blogspot.com
    Jul 19th 2009, 18:34
    1 I'm having this error

    Fatal error: Call to undefined method Cache::set() in F:\AppServ\www\cake\cx\app\controllers\components\feed_aggregator.php on line 118

    What could be the possible error? I have configured my cache properly but still have no luck using your component.
  • primeminister
    cake-toppings.com
    Jul 20th 2009, 05:26
    2 Nice component.
    I like to use SimplePie http://simplepie.org/ because of all the features and encoding stuff. Some RSS feeds use ISO and others use UTF-8.

    Did you seen that one before you made it a component?
  • Miles Johnson
    milesj.me
    Jul 20th 2009, 23:40
    3 Ianemv figured out the problem. It was caused by not using the latest version of CakePHP. Just a heads up to everyone else.