From cc317b169fa43ebf9c12b695d51cee88b8551ef4 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 10 Jul 2009 09:57:38 -0700 Subject: first version of Meteord plugin, doesn't work --- plugins/Meteor/README | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 plugins/Meteor/README (limited to 'plugins/Meteor/README') diff --git a/plugins/Meteor/README b/plugins/Meteor/README new file mode 100644 index 000000000..4abd40af7 --- /dev/null +++ b/plugins/Meteor/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. -- cgit v1.2.3-54-g00ecf