1301877dfe
* Subscription::start was sometimes passing users instead of profiles to hooks, which broke OStatus subscription notifications; now normalizing to profiles for processing. * H-card parsing would trigger a lot of PHP warnings and notices in hKit. Now suppressing warnings and notices for the duration of the call to keep them out of output when display_errors is on. * H-card parsing would trigger a PHP fatal error if the source page was not well-formed XML and Tidy was not present on the system. Switched normalization to use the PHP DOM module which is always present, as we have no need for Tidy's extra features here. * Trying to fetch avatars from Google profiles failed and triggered a PHP warning due to the relative URL not being resolved during h-card parsing. Now passing profile page URL into hKit by sneaking a <base> tag in while we normalize the HTML source. * Profile pages without a "Link" header could trigger PHP notices due to a bad NULL -> array(NULL) conversion in LinkHeader::getLink(). Now checking that there was a return value before converting single return value into array. |
||
---|---|---|
.. | ||
actions | ||
classes | ||
extlib | ||
images | ||
js | ||
lib | ||
locale | ||
scripts | ||
tests | ||
theme/base/css | ||
OStatusPlugin.php | ||
README |
Plugin to support importing updates from external RSS and Atom feeds into your timeline. Uses PubSubHubbub for push feed updates; currently non-PuSH feeds cannot be subscribed. Configuration options available: $config['ostatus']['hub'] (default internal hub) Set to URL of an external PuSH hub to use it instead of our internal hub. $config['ostatus']['hub_retries'] (default 0) Number of times to retry a PuSH send to consumers if using internal hub For testing, shouldn't be used in production: $config['ostatus']['skip_signatures'] (default use signatures) Disable generation and validation of Salmon magicenv signatures $config['feedsub']['nohub'] (default require hub) Allow low-level feed subscription setup for feeds without hubs. Not actually usable at this stage, OStatus will check for hubs too and we have no polling backend. Todo: * fully functional l10n * redo non-OStatus feed support ** rssCloud support? ** possibly a polling daemon to support non-PuSH feeds? * make use of tags/categories from feeds