From 4f4c121d9b64a02fa86438066fca6fd81e66032f Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 18 Jan 2012 15:16:56 -0800 Subject: Fix merge errors and bot example. --- docs/index.rst | 31 +++++++++++++++++++++---------- examples/muc.py | 5 ----- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index fe7df7f9..8b2d4d3d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -78,12 +78,12 @@ Here's your first SleekXMPP Bot: self.add_event_handler("session_start", self.session_start) self.add_event_handler("message", self.message) - self.register_plugin('xep_0030') # Service Discovery - self.register_plugin('xep_0199') # XMPP Ping + # If you wanted more functionality, here's how to register plugins: + # self.register_plugin('xep_0030') # Service Discovery + # self.register_plugin('xep_0199') # XMPP Ping # Here's how to access plugins once you've registered them: - # self['xep_0030'].add_feature('echodemo') - # You can also use self.plugin['xep_0030'] + # self['xep_0030'].add_feature('echo_demo') # If you are working with an OpenFire server, you will # need to use a different SSL version: @@ -222,13 +222,24 @@ Additional Info Credits ------- -**Main Author:** Nathan Fritz - `fritzy@netflint.net `_, - `@fritzy `_ - Nathan is also the author of XMPPHP and `Seesmic-AS3-XMPP - `_, and a member of the XMPP - Council. +**Main Author:** `Nathan Fritz `_ + `fritzy@netflint.net `_, + `@fritzy `_ + + Nathan is also the author of XMPPHP and `Seesmic-AS3-XMPP + `_, and a former member of the XMPP + Council. + +**Co-Author:** `Lance Stout `_ + `lancestout@gmail.com `_, + `@lancestout `_ + +Both Fritzy and Lance work for `&yet `_, which specializes in +realtime web and XMPP applications. + + - `contact@andyet.net `_ + - `XMPP Consulting `_ **Co-Author:** Lance Stout `lancestout@gmail.com `_, diff --git a/examples/muc.py b/examples/muc.py index cfb99c23..7b93da16 100755 --- a/examples/muc.py +++ b/examples/muc.py @@ -76,13 +76,8 @@ class MUCBot(sleekxmpp.ClientXMPP): event does not provide any additional data. """ -<<<<<<< HEAD - self.getRoster() - self.sendPresence() -======= self.get_roster() self.send_presence() ->>>>>>> docs self.plugin['xep_0045'].joinMUC(self.room, self.nick, # If a room password is needed, use: -- cgit v1.2.3