PHP Pubsubhubbub 服务器
我正在寻找一个用 PHP 编写的独立 Pubsubhubbub 服务器,我可以用它来在本地测试 pubsubhubbub 实现,而无需访问互联网。
我了解 PubSubHubBub 中心 和 官方中心列表,但看不到基于 PHP 的中心。我错过了一个吗?哪个?
Zend Framework 似乎有一些服务器代码,但这只是一个库,没有可以开箱即用的服务器。
I'm looking for a standalone Pubsubhubbub server written in PHP that I can use to test pubsubhubbub implementations locally without internet access.
I know about PubSubHubBub Hubs and the official hub list, but there is no PHP-based hub in sight. Did I miss one? Which?
It seems that Zend Framework has some server code, but that's only a lib and no server that can be used out of the box.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Phubb
自 2015 年 4 月 1 日起,我使用自己编写、自托管的 PubSubHubbub 服务器,名为“phubb”。
https://github.com/cweiske/phubb
WordPress
PuSHPress Wordpress 插件 不仅实现了 WordPress 中的发布者端,还实现了 集线器部分。
它也应该能够将其用作其他页面的中心 - 需要进行一些黑客攻击,因为
本地安装 Wordpress 只需 5 分钟即可完成,并且使用该插件应该不会那么难。
编辑:是的,那个在官方中心列表中,我最初将其驳回,因为它不是独立服务器,但是嘿,似乎没有更多了。
Drupal
截至 2011 年 7 月,有一个 drupal实现 PuSH 集线器的模块。
Phubb
Since 2015-04-01 I'm using my own, self-written and self-hosted PubSubHubbub server called "phubb".
https://github.com/cweiske/phubb
Wordpress
The PuSHPress Wordpress plugin not only implements the publisher side in Wordpress but also the hub part.
It should be able to use it as hub for other pages, too - with a little bit of hacking since
Installing Wordpress locally is done in 5 minutes, and using the plugin shouldn't be that hard.
Edit: Yes, that one is on the official hub list and I originally dismissed it since it's not a standalone server, but hey, there doesn't seem to be more.
Drupal
As of 2011-07, there is a drupal module implementing a PuSH hub.
目前,Pubsubhubhub 协议似乎只有一种实现。这就是 Google App Engine 的实现。
如果您有兴趣创建另一个实现,这里有一个幻灯片演示了它的构建过程:http ://code.google.com/p/pubsubhubbub/wiki/BuildingAHub
At the moment there only seems to be one implementation of the Pubsubhubhub protocol. That's the Google App Engine implementation.
Here's a slideshow going through the construction process of it if you're interested in creating another implementation: http://code.google.com/p/pubsubhubbub/wiki/BuildingAHub
StatusNet (http://status.net/) 也在内部实现了集线器,但它不适用于其他应用程序。
StatusNet (http://status.net/) also implements a hub internally, but it's not available for other applications.
另一种选择是使用 http://superfeedr.com/。我们托管着大部分的中心。使用现有的解决方案通常比重新发明轮子更容易:)
Another option is to use http://superfeedr.com/. We host most of the hubs out there. It's often easier to use existing solutions than re-invent the wheel :)