The Google AJAX Feed API for use with FeedAPI module

budda@drupal.org's picture
public
budda@drupal.org - Fri, 2007-12-07 16:15

Has anybody bothered to take a look at the Google Ajax Feed API with the intention of using it for Drupal aggregation?

We've implemented client side aggregation for a project being released soon. This gives a similar experience to NetVibes.

Googles Feed API only exposes all the feed data via Javascript API calls, however my thoughts are could this be accessed via PHP from the server side to extract all the parsed data from Googles servers, and then drupal_execute() it in to the Drupal node system?

Maybe it would work as an alternative parser engine for the Drupal FeedAPI module?

Just some thoughts to put out there. I've had no time to research the feasability for this.

If it did work, it would remove the mammouth task of parsing thousands of feeds on your own server every minute of the day (and using Python ;-) ).


Any write up on your project

cirotix's picture
cirotix - Fri, 2007-12-07 16:45

Your Netvibes-like project looks very intersting and I am looking forward to see it. Any write-up on how you did that ?


There's a few recent

budda@drupal.org's picture
budda@drupal.org - Fri, 2007-12-07 16:55

There's a few recent projects we're intending on doing write ups about in the new year - just need to find some time in the day.


Yeah,

NikLP's picture
NikLP - Sat, 2008-01-12 16:08

I'm having some thoughts in this general direction. Need some time to experiment with some code...

Kineta Systems - Web Development in Nottingham, UK


Hi Budda, Not knowing

alex_b@drupal.org's picture
alex_b@drupal.org - Mon, 2008-01-14 14:34

Hi Budda,

Not knowing Google's AJAX FeedAPI I've got some questions.

I can follow that you can save server power by offloading parsing to Google+Client. But if you're talking about feeding this data back to the server - wouldn't you still have to parse something? Not the RSS feed directly anymore, but Google's parsed format (JSON?).

Those questions aside, you should be able to integrate Google's FeedAPI into Drupal with Drupal's FeedAPI by writing a FeedAPI parser.

Alex


You can get xml straight

NikLP's picture
NikLP - Tue, 2008-01-15 15:36

You can get xml straight from google (reader api) using the level 2 functionality in the (unofficial) API spec.

I'm not sure if it passes out xml in a format that feedapi can read directly, but that would be nice.

Looking back, I'm not sure I should have bothered writing this post, but hey... :)

Kineta Systems - Web Development in Nottingham, UK


Yup that is correct.

budda@drupal.org's picture
budda@drupal.org - Wed, 2008-01-30 09:23

Yup that is correct. Although the whole fact that it's not official wasn't a great point for a clients project. Having to (possibly) play keep up with Google could become a pain.


I'm kinda working on something like this.

Cosmic's picture
Cosmic - Tue, 2008-01-29 23:12

I'm trying to write a module to synchronize events between drupal event module and Google Calendar. It uses the Google Data API which is XML based. I'd love to leverage the code you guys have already written to help me complete my module.

The links you give Google through the GoogleCalendarAPI are standardized and can be hardcoded into the module all I need is an easy way to issue the links to Google and easy way to handle the XML that is returned and I can deal with the rest.

http://drupal.org/project/event_GCalendar


The code we've developed is

budda@drupal.org's picture
budda@drupal.org - Wed, 2008-01-30 09:24

The code we've developed is mainly JavaScript based, and then fires the extracted data to the server via an ajax call back to the Drupal site.

There's not much Drupal specific - just some XML parsing at the end of the ajax call IIRC.


Related: Has somebody played

alex_b@drupal.org's picture
alex_b@drupal.org - Wed, 2008-01-30 15:39

Related: Has somebody played with SimplePie's Live service? Answer here: http://groups.drupal.org/node/8545


It sounds like a potentially

budda@drupal.org's picture
budda@drupal.org - Wed, 2008-01-30 16:03

It sounds like a potentially expensive hosting bill for the SimplePie guys if it gets used a lot. As they are just a couple of students (or used to be) I would be wary about counting on their service for anything critical/commercial.

Haven't used the service to know if its any better than Google Feed API though.