Diogo Cordeiro b730582336 [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL | 5 yıl önce | |
---|---|---|
.. | ||
extlib | 5 yıl önce | |
locale | 5 yıl önce | |
CometPlugin.php | 5 yıl önce | |
README.md | 5 yıl önce |
This is a plugin to automatically load notices in the browser no matter who creates them -- the kind of thing we see with search.twitter.com, rejaw.com, or FriendFeed's "real time" news.
NOTE: this is an insecure version; don't roll it out on a production server.
It requires a cometd server. I've only had the cometd-java server work correctly; something's wiggy with the Twisted-based server. See here for help setting up a comet server:
http://cometd.org/
After you have a cometd server installed, just add this code to your config.php:
require_once(INSTALLDIR.'/plugins/Comet/CometPlugin.php');
$cp = new CometPlugin('http://example.com:8080/cometd/');
Change 'example.com:8080' to the name and port of the server you installed cometd on.
TODO: