PubSubHubBub Hubs

試著忘記壹切 提交于 2019-12-04 11:49:20

问题


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


回答1:


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.




回答2:


Btw, https://github.com/pubsubhubbub/PubSubHubbub/wiki/Hubs lists all currently known hubs and software.

I also made my own hub that implements the 0.4 spec; see https://github.com/cweiske/phubb



来源:https://stackoverflow.com/questions/3027969/pubsubhubbub-hubs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!