gnu-social/plugins/Xmpp
Brion Vibber 173778eab1 Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
Conflicts:
	lib/xmppmanager.php (resolved: code has moved to XmppPlugin.php)
2010-05-05 17:11:23 -07:00
..
extlib/XMPPHP Move XMPPHP from core extlibs to Xmpp plugin extlibs 2010-05-05 16:52:31 -07:00
Queued_XMPP.php IM cleanup on 1.0.x branch: 2010-04-30 15:29:05 -07:00
README Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
Sharing_XMPP.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
xmppmanager.php Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
XmppPlugin.php Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x 2010-05-05 17:11:23 -07:00

The XMPP plugin allows users to send and receive notices over the XMPP/Jabber/GTalk network.

Installation
============
add "addPlugin('xmpp',
    array('setting'=>'value', 'setting2'=>'value2', ...);"
to the bottom of your config.php

The daemon included with this plugin must be running. It will be started by
the plugin along with their other daemons when you run scripts/startdaemons.sh.
See the StatusNet README for more about queuing and daemons.

Settings
========
user*: user part of the jid
server*: server part of the jid
resource: resource part of the jid
port (5222): port on which to connect to the server
encryption (true): use encryption on the connection
host (same as server): host to connect to. Usually, you won't set this.
debug (false): log extra debug info
public: list of jid's that should get the public feed (firehose)

* required
default values are in (parenthesis)

Example
=======
addPlugin('xmpp', array(
    'user=>'update',
    'server=>'identi.ca',
    'password'=>'...',
    'public'=>array('bob@aol.com', 'sue@google.com')
));