Diogo Peralta Cordeiro 6e031d623a [VersionBump] 2.0.0beta0 | 3 lat temu | |
---|---|---|
.. | ||
actions | 3 lat temu | |
classes | 3 lat temu | |
lib | 3 lat temu | |
locale | 3 lat temu | |
README.md | 3 lat temu | |
RSSCloudPlugin.php | 3 lat temu |
This plugin enables RSSCloud (http://rsscloud.co/) publishing and subscription handling for RSS 2.0 profile feeds (i.e: http://SITE/PATH/api/statuses/user_timeline/USERNAME.rss). When the plugin is enabled, GNU social acts as both the publisher and hub ('writer' and 'cloud' in RSSCloud parlance), but only for local GNU social feeds. It's not possible to use it as a general purpose hub -- for instance you can't subscribe and get updates to a Wordpress feed from GNU social using this plugin.
To use the plugin, add the following to your config.php:
addPlugin('RSSCloud');
Enabling the plugin will add a element to your RSS 2.0 profile feeds that looks like this:
<cloud domain="SITE" port="80" path="/main/rsscloud/request_notify"
registerProcedure="" protocol="http-post"/>
Aggregators may subscribe by sending a proper REST RSSCloud subscription request (the optional 'domain' parameter with challenge is supported). Subscribing aggregators will be notified ('pinged') when users they have subscribed to post new notices. Currently, REST is the only protocol supported for notifications.
There's also a daemon for offline processing of queued notices with RSSCloud destinations, which will start automatically if/when you run scripts/startdaemons.sh.