Sunday, December 27, 2009

Superfeedr to the Rescue!

First, I'd like to say that Christmas was a success and I got all that I wanted, which included 2 new 20" monitors, a new graphics and video card and a new router.

After opening and setting up some of the gifts, I got back to work on deVolf's RSS parsing. We needed a way to keep updated on the content of a feed so we can do RSS imports and synchronization with deVolf. What I originally planned was to use Google's AJAX Feed API and we would check that every hour. That would work and I had started writing the PHP class for it, but after searching a bit more, I discovered Superfeedr. Superfeedr allows us to follow feeds and they will stream or send us new content as it arrives on our feeds. Immediately, I started researching and testing out their service. This would be perfect for what we need and I started implementing their PubSubHubbub API.

PubSubHubbub, besides having an extremely long name, is actually very easy to implement. I had a working callback URL and class within 2 hours. In case anyone wants to point out that there are already classes built, don't bother, every deVolf class is built from scratch to ensure compatibility and security.

Superfeedr has some website bugs, but their support has been very helpful and quick. Overall I look forward to finish implementing their service into ours and getting RSS posting into the next deVolf update.

James Hartig

1 comment:

Julien said...

Let me know how about issue our bug : I'll crush them one by one :) also, if you can give mor etechnical details on what you did, I'd be more than happy to let you write that (or reblog) on Superfeedr's blog :