summaryrefslogtreecommitdiff
path: root/plugins/Orbited/README
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-30 23:33:47 -0400
committerEvan Prodromou <evan@status.net>2009-10-04 03:15:59 -0400
commit22b4a66de3441bcb54b748f98be5b53e3be4bece (patch)
tree5c7c2f32dd5e228186c578004db2bcd439feae0a /plugins/Orbited/README
parent9c460d591e1e11f7aa3970ffd0b3e320dd11d33e (diff)
copy Comet plugin to Orbited
Diffstat (limited to 'plugins/Orbited/README')
-rw-r--r--plugins/Orbited/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/Orbited/README b/plugins/Orbited/README
new file mode 100644
index 000000000..4abd40af7
--- /dev/null
+++ b/plugins/Orbited/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.