Here is an idea adding support for PubSubHubbub. This I think would help with cron.php overuse because content is pushed to you instead of you going out and getting content.

More info here: http://code.google.com/p/pubsubhubbub/

Comments

aron novak’s picture

Status: Active » Postponed

Well, this push way of refreshing sounds great, however I do not think that at the moment it's such a widely adopted technology what worth to implement in feedapi
http://code.google.com/p/pubsubhubbub/wiki/Hubs

gordon’s picture

subscribe

moshe weitzman’s picture

Whatever happenned to showing others the best practices by leading the way? Are you saying you don't want this in feed api even if someone else wrote it? Any tips for anyone wanting to work on this?

aron novak’s picture

Well, i find the concept of a push-style feed refreshing exciting. moshe: surely i will consider if a patch arrives for this feature.
However my main concern is that this is not really 'push' architecture, this is about hiding 'pull' architecture with the help of a huge server farm :)

alex_b’s picture

Status: Postponed » Active

Pubsubhubbub could be supported by writing a very small modification to one of the parsers.

The parser would have a menu callback that would receive a pubsub style ping and then in turn starts refreshing the feed. I'd be happy to accept such a patch.

apb1991: are you considering to implement this?

mcaudy’s picture

I don't think that Aron's comment "I do not think that at the moment it's [ie.,pubsubhubbub] such a widely adopted technology what worth to implement in feedapi" will turn out to be correct. From what I can see, PubSubHubBub is likely to play a major role in future pub/sub web development. I had looked for a pubsubhubbub module a few days ago and did not find one. I came back today to start the project myself, and found that apb1991 had already started it, with the above comments by Aron, moshe, and alex_b. I do think it is reasonable to implement it in feedapi, as alex_b suggested.

BigCat’s picture

I was looking into the publish aspect of this as an addition to the Atom module. It would be my first crack at a drupal module, but when I get something semi-working I'll post it up.

The subscribe end of it added to the FeedAPI sounds pretty interesting. I might look into that next if I can find the time.

mchelen’s picture

Simple Update Protocol http://code.google.com/p/simpleupdateprotocol/ might be another good option

mkinnan’s picture

I didn't want to create another issue topic, but what about RSSCloud (http://rsscloud.org/) integration? Wordpress blogs now use the RSSCloud plug-in.

Carl Johan’s picture

I created a working rsscloud test a while back by hacking core.. but it didn't seem like the kind of thing someone would want in core. Making it as a module would probably need some patches, still.

What would be the preferred way to get this functionality into drupal?

Are everyone who's serious about their feeds using Feed API?

mkinnan’s picture

Yes. There would need to be a way to have an RSSCloud module compatible with the feeds that have been added using FeedAPI. Otherwise, it would probably be a big hassle to have to add feeds all over again.

Craig Gardner’s picture

subscribing

apb1991’s picture

@alex_b
I would not know how to patch this. I would use it. By the way, pubSubHubbub is now in feedburner. So now all feedburner feeds support this feature in other words feedburner feeds now use pubUbHubbub to ping RSS readers.

alex_b’s picture

I'm currently researching on how to implement pubsub best. My first goal would be to write integration for Feeds - http://drupal.org/project/feeds - as FeedAPI will be slowly but surely phasing out (I owe everybody a blog post on this one). However, anything done in Feeds could be ported to FeedAPI without too much pain I am assuming.

#617054: PubSubHubbub support

If there are people on this thread seriously considering putting time into this work, please get in touch with me through my contact form.

g.i.joe’s picture

The first Release Candidate for Drupal 6 is a fact. (fastwebfeed.module-6.x-1.0-RC1)
It supports pubsubhubbub and sup and it inserts this to the drupal RSS feeds.

See http://drupal.org/node/609440#comment-2330606

My next approach can be the feedapi.module.

jgknight’s picture

I'll be watching this, just learned about pubsubhubbub

MashMeisterD’s picture

Perhaps this is common knowledge - but WordPress has integrated pubsubhubbub and Google is hinting they will use it for their site maps. For sites that spend money to support the scraping by the bots through extra hardware and bandwidth this would be a welcome change.

bledari’s picture

sub