现有的 pubsubhubbub ajax 代理/桥接器? (如带推送功能的 Google Feeds API v2)
我正在寻找一个服务器端组件,最好是 java,它允许我通过 javascript 订阅 pubsubhubbub 提要。我知道订阅者是标准rest/pubsubhubbub格式的服务器端应用程序,但Google似乎创建了一个看起来非常方便的ajax桥。
不幸的是,我正在处理的数据根本无法离开我们的服务器,更不用说通过谷歌的服务器了。
有人知道伪 javascript pubsubhubbub 订阅者的(最好是免费的)服务器端代理吗?
参考:http://code.google.com/apis/ feed/push/docs/index.html#hiworld
I'm looking for a server side component, preferably java, that will allow me to subscribe to pubsubhubbub feeds through javascript. I understand that subscribers are server side applications in the standard rest/pubsubhubbub format, but Google seems to have created a ajax bridge that looks quite handy.
Unfortunately, I'm dealing with data that simply cannot leave our servers, let alone go through Google's.
Is anyone aware of a (preferably free) server side proxy for pseudo javascript pubsubhubbub subscribers?
Reference: http://code.google.com/apis/feed/push/docs/index.html#hiworld
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我知道 Kwwika 和 Pusherapp 正在致力于此。如果你愿意的话我可以把你介绍给这些人。
如果没有,我相信使用 Node.JS 之类的东西构建起来应该相对容易。这个 Github 上的代码应该是一个很好的开始。 这样的东西是用它构建的。
我们(superfeedr)正在努力让更多的人建造类似的东西......
I know for a fact that Kwwika and Pusherapp are working on this. I can intro you with these guys if you want.
If not, I believe this should be relatively easy to build with stuff like Node.JS for example. This code on Github should be a good first start. Things like this have been built with it.
We (superfeedr) are trying to get more people building similar things...
订阅部分有一个 java 实现]1。但是 hub 部分尚未在 java 中实现,需要它来订阅应该是私有的 feed。对于 javascript(jquery) 部分,我将仅使用简单的长轮询。
我认为这样的免费解决方案还不存在。连google的push API都还没有开放。
pubsubhubbub 协议的 HUB 部分尚未实现。但如果是在内部,我也不认为您需要集线器(规范)提供的这种扇出(广播到其他服务器)。
我认为你可以使用像 Atmosphere 这样的彗星框架来暂停连接并广播提要差异。我认为这可以使用 Atmosphere 框架快速编写(1 天你就会有一个工作原型)。
There is a java implementation]1 of the subscribe part available. But the hub-part hasn't yet been implemented in java which is needed to subscribe to the feed which should be private. For the javascript(jquery) part I would just use simple long-polling.
I don't think a free solution like that exists (yet). Even google's push API isn't open yet.
There isn't yet an implementation of the HUB-part of the pubsubhubbub protoccol. But if it is internally I also don't think you need this kind of fan-out the hub(specification) is offering(broadcast to other servers).
I think you could just use A comet framework like Atmosphere to suspend connection and broadcast feed diff. I think this can be written quick with the Atmosphere framework(1 day you will have a working prototype).
您可以在 Web 应用程序中查看使用 Superfeedr 和 Kwwika 组合的示例,该应用程序可让您订阅任何 RSS 提要或跟踪 RSS 提要中的关键字:
http://superfeedr.kwwika.com
您可以在 GitHub 中获取源代码:
http://github.com/kwwika/ ASP.NET-MVC-PubSubHubbub-Subscriber/tree/Kwwika-Superfeedr-Demo
You can see an example using a combination of Superfeedr and Kwwika within a web application that lets you subscribe to any RSS feed or track keywords within RSS feeds here:
http://superfeedr.kwwika.com
And you can get the source code in GitHub here:
http://github.com/kwwika/ASP.NET-MVC-PubSubHubbub-Subscriber/tree/Kwwika-Superfeedr-Demo