PubSubHubBub 集线器

发布于 2024-09-05 08:24:14 字数 460 浏览 3 评论 0原文

我目前正在构建一个基于 PubSubHubBub 协议的实时 Web 应用程序。但是,我遇到了几个问题。

首先,我正在寻找可以在我的服务器上运行的集线器应用程序。有几个应用程序,但大多数还不成熟,或者不支持 0.3 规范。官方的 google hub 运行在 Google App Engine 上,甚至可以在本地执行。不幸的是,“任务不会自动运行。按‘运行’按钮来执行每个任务。”这种行为对于调试和理解工作流程很有用,但在一些实时测试中,最好不要手动调用所有任务。有没有办法通过自动运行任务来调整本地应用程序引擎?

接下来,我有一个关于规范本身的问题。 Google 参考实现提供了绑定到出点 uri + /publish 的初始发布方法。但这并没有反映在规格中。

那么有没有成熟的hub可以本地运行调试呢?或者有没有办法配置官方的谷歌应用程序引擎中心在本地运行并直接执行任务?

提前致谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

逆夏时光 2024-09-12 08:24:14

新的 1.3.4 App Engine SDK 会自动运行任务。只需升级您的 SDK 即可利用它。

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 是集线器提供的唯一端点。根据规范的发现部分,是你做广告的那个。

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.

等往事风中吹 2024-09-12 08:24:14

顺便说一句, https://github.com/pubsubhubbub/PubSubHubbub/wiki/Hubs 列出了所有目前已知的集线器和软件。

我还制作了自己的集线器来实现 0.4 规范;请参阅 https://github.com/cweiske/phubb

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文