diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-26 15:42:07 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-26 15:42:07 -0400 |
commit | df677cb9c123b58100f677141ab46ddea55a2415 (patch) | |
tree | 29c3df03c701c404639f15f42bc560107f34cf9d /plugins/Comet/README | |
parent | 068f6801cc59488bfc50ef399a2a4d22b1b7e9c2 (diff) | |
parent | 781341d91fd4c7406d8687e7828ab86f9696cf66 (diff) |
Merge branch 'cometplugin' into 0.7.x
Diffstat (limited to 'plugins/Comet/README')
-rw-r--r-- | plugins/Comet/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/Comet/README b/plugins/Comet/README new file mode 100644 index 000000000..4abd40af7 --- /dev/null +++ b/plugins/Comet/README @@ -0,0 +1,26 @@ +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. + +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: + +* Needs to be tested with Ajax submission. Probably messes everything + up. +* Add more timelines: personal inbox and tags would be great. +* Add security. In particular, only let the PHP code publish notices + to the cometd server. Currently, it doesn't try to authenticate. |