websub

How do I use the subscriber option?

我怕爱的太早我们不能终老 提交于 2019-12-02 20:48:44
I started now with Pubsubhubbub (and all about realtime things), but I amhaving trouble with the Subscriber option. I'm trying to develop a webapp in PHP to: Subscribe a RSS (previously Published) to the Hub ( http://pubsubhubbub.appspot.com/ ); Read notifications (updates) from the Hub for the subscription; without succeed!!! :( I verify that exist a library in php to the Subscriber (in Git), but using this lib can't make the Subscribe work's (get a 409 error!). How can I do this? This is an old question and the PHP library ddluis linked to has many flaws. The recommended PHP subscriber in

How to implement PubSubHubbub?

懵懂的女人 提交于 2019-11-30 00:54:05
I am wondering how to implement PubSubHubbub in a PHP site.I don't understand it.Can you explain me? I don't get the idea. The publisher notifies the subscriber and the subscriber - my site? <?php // simple example for the PHP pubsubhubbub Subscriber // as defined at http://code.google.com/p/pubsubhubbub/ // written by Josh Fraser | joshfraser.com | josh@eventvue.com // Released under Apache License 2.0 include("PuSHSubscriber.php"); $hub_url = "http://pubsubhubbub.appspot.com"; $callback_url = "url to my site?"; $feed = "feed link"; // create a new subscriber $s = new Subscriber($hub_url,

How to create a post-service hook on a public github repository?

梦想的初衷 提交于 2019-11-29 15:11:36
问题 I have no problem in creating hooks for my own repositories, however, I haven't found a way to create such hooks for a public repo. Is it possible in any way? 回答1: Yes, you're correct - it seems that it is not possible to subscribe to events of a repository you do not own (using PSHB), or create hooks for such repos. Perhaps this would be a nice feature request to send to support@github.com. 来源: https://stackoverflow.com/questions/15319946/how-to-create-a-post-service-hook-on-a-public-github

How to implement PubSubHubbub?

空扰寡人 提交于 2019-11-28 21:40:26
问题 I am wondering how to implement PubSubHubbub in a PHP site.I don't understand it.Can you explain me? I don't get the idea. The publisher notifies the subscriber and the subscriber - my site? <?php // simple example for the PHP pubsubhubbub Subscriber // as defined at http://code.google.com/p/pubsubhubbub/ // written by Josh Fraser | joshfraser.com | josh@eventvue.com // Released under Apache License 2.0 include("PuSHSubscriber.php"); $hub_url = "http://pubsubhubbub.appspot.com"; $callback_url

Youtube API - Subscribing to Push Notifications

喜欢而已 提交于 2019-11-28 05:35:03
My final goal is to set up a Webhook whenever a YouTube user uploads a video. After some research I got to this article . But when I get to the part https://www.youtube.com/xml/feeds/videos.xml?channel_id=CHANNEL_ID , I got Restricted topic error when trying the subscribe to the Google/SuperFeedr hubs. I also got my callback URL working. The topic I want to subscribe to is this: https://www.youtube.com/xml/feeds/videos.xml?channel_id=UC7T8roVtC_3afWKTOGtLlBA Which shows nothing upon visiting via a browser. Am I doing something wrong? I've been struggling for a few hours now, any help is