- Notifications
You must be signed in to change notification settings - Fork14
A PubSubHubbub publisher module for PHP.
License
NotificationsYou must be signed in to change notification settings
pubsubhubbub/php-publisher
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This PHP library for PubSubHubbub was written byJosh Fraser and is released under the Apache 2.0 License
Update yourcomposer require block:
"require": {"pubsubhubbub/publisher":"*" }
usepubsubhubbub\publisher\Publisher;// specify which hub you want to use. In this case we'll use the demo hub on app engine.$hub_url ="http://pubsubhubbub.appspot.com/";// create a new pubsubhubbub publisher$p =newPublisher($hub_url);// specify the feed that has been updated$topic_url ="http://www.onlineaspect.com";// notify the hub that the specified topic_url (ATOM feed) has been updated// alternatively, publish_update() also accepts an array of topic urlsif ($p->publish_update($topic_url)) { echo"$topic_url was successfully published to$hub_url";}else { echo"Ooops..."; print_r($p->last_response());}
About
A PubSubHubbub publisher module for PHP.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.