Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Pubsubhubbub server

Tags:

php

websub

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.

like image 499
cweiske Avatar asked Apr 07 '11 07:04

cweiske


2 Answers

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

To help keep things simple and limit potential abuse ...[it] will only allow subscriptions ..[of] of the WordPress blog that it is installed on.

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.

like image 105
cweiske Avatar answered Oct 25 '22 22:10

cweiske


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

like image 41
Karl Laurentius Roos Avatar answered Oct 25 '22 22:10

Karl Laurentius Roos