PubSubHubBub Hubs [英] PubSubHubBub Hubs

查看:102
本文介绍了PubSubHubBub Hubs的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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



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

那么是否有任何成熟的集线器可以在本地运行以进行调试?或者有什么方法可以将官方Google应用引擎中心配置为在本地运行并直接执行任务?



预先致谢

解决方案

新的1.3.4 App Engine SDK自动运行任务。只是升级你的SDK来利用它。

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

/ publish是集线器提供的唯一端点。根据规范的发现部分,是你做广告的人。


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

解决方案

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.

这篇关于PubSubHubBub Hubs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆