diff options
author | Anders Kaseorg <[email protected]> | 2017-01-20 15:58:12 -0500 |
---|---|---|
committer | Anders Kaseorg <[email protected]> | 2017-01-21 15:01:14 -0500 |
commit | 5ddc3e274df05d2c6b6943152063b23b99e90f5b (patch) | |
tree | f2d3fd30ea2d688d3284552741b287c62a95322f /lib/pubsubhubbub/README.txt | |
parent | e0c232b8f1235eaf2429f2e41fee3bb7d716ce98 (diff) |
lib: Upgrade php-publisher from ??? to a5d6a0e (2016-11-15)
https://github.com/pubsubhubbub/php-publisher
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/pubsubhubbub/README.txt')
-rw-r--r-- | lib/pubsubhubbub/README.txt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/pubsubhubbub/README.txt b/lib/pubsubhubbub/README.txt deleted file mode 100644 index 3d27c4044..000000000 --- a/lib/pubsubhubbub/README.txt +++ /dev/null @@ -1,21 +0,0 @@ -This PHP library for PubSubHubbub was written by Josh Fraser (joshfraser.com) and is released under the Apache 2.0 License - -Usage: -// 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 = new Publisher($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 urls -if ($p->publish_update($topic_url)) { - echo "$topic_url was successfully published to $hub_url"; -} else { - echo "Ooops..."; - print_r($p->last_response()); -} -
\ No newline at end of file |