Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PubSubHubBub Hubs

I'm currently building a live web application based upon the PubSubHubBub protocol. However, I encountered several issues.

First, I'm in search of a hub application that I can run on my server. There are several applications, but most of them are not mature yet, or they don't support the 0.3 spec. The official google hub runs on the Google App Engine and can even be executed locally. Unfortunately, "Tasks will not run automatically. Push the 'Run' button to execute each task." This behaviour is useful for debugging and understanding the workflow, but in some live tests, it would be nice not to invoke all tasks manually. Is there a way to tweak the local app engine due automatically run tasks?

Next, I have a question concerning the spec itself. The Google reference implementation provides the initial publish method bound to the outpoint uri + /publish. But this is not reflected in the specs.

So are there any mature hubs that can be run locally for debugging? Or are there ways to configure the offical google app engine hub to run locally and to execute tasks directly?

Thanks in advance

like image 234
b_erb Avatar asked Jun 12 '10 08:06

b_erb


1 Answers

The new 1.3.4 App Engine SDK automatically runs tasks. Just upgrade your SDK to take advantage of it.

Next, I have a question concerning the spec itself. The Google reference implementation provides the initial publish method bound to the outpoint uri + /publish. But this is not reflected in the specs.

/publish is the only endpoint provided by the hub. As per the discovery section of the spec, that is the one you advertise.

like image 79
Nick Johnson Avatar answered Oct 03 '22 00:10

Nick Johnson