tt-rss/lib/pubsubhubbub
2011-04-01 13:58:26 +04:00
..
publisher.php add experimental support for pubsubhubbub in published feed, bump config version (refs #251) 2011-04-01 09:36:29 +04:00
README.txt add experimental support for pubsubhubbub in published feed, bump config version (refs #251) 2011-04-01 09:36:29 +04:00
subscriber.php add lib/pubsubhubbub/subscriber.php 2011-04-01 13:58:26 +04:00

此檔案內含不可見的 Unicode 字元

這個檔案內含不可見的 Unicode 字元。電腦可能會把這些人眼無法分辨的字元視作不同的字元處理。如果您覺得作者是有意這麼做的,您可以安全的忽略這則訊息。使用退出鍵來顯示這些字元。

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());
}