Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.
/ web_hooks Public archive

Publish/Subscribe mechanism for ownCloud - based on pubsubhubbub

Notifications You must be signed in to change notification settings

owncloud-archive/web_hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Web Hooks - ownCloud goes PubSubHubbub

What The FuXX is PubSubHubbub?

http://en.wikipedia.org/wiki/PubSubHubbub

Build status: Build Status

Quality: Scrutinizer Quality Score

Coverage: Code Coverage

How to test the web hooks

  1. Create a new RequestBin at http://requestb.in/

  2. Fire a curl command to subscribe to the pubsubhubbub:

curl -u "user" -i \
  https://<owncloud-url>/index.php/apps/web_hooks/hub \
  -F "hub.mode=subscribe" \
  -F "hub.topic=owncloud://filesystem-change" \
  -F "hub.callback=http://requestb.in/123"
  1. Change a file e.g. using the text editor

  2. Fire the cron-job (in case of Ajax based cron processing - reload ownCloud web-app multiple times)

  3. See the change information arrive on your RequestBin

About

Publish/Subscribe mechanism for ownCloud - based on pubsubhubbub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages