From: Kevin A. <al...@se...> - 2002-08-19 22:45:53
|
I've checked in the jabberChat sample I started earlier this month. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pythoncard/PythonCardPrototyp e/samples/jabberChat/ My original post on jabberChat is at http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1307225 The readme.txt is below. I'm trying to clear some to do items off my plate, so I don't expect to work on this sample much more any time soon. There is enough infrastructure in the sample that some other motivated coder can whip it into shape to support more features. I'll be happy to answer any questions on the code. Jabber protocol and jabberpy questions should go to the jabberpy-devel mailing list. ka readme.txt ========== This is a very simple Jabber client. I combined some of the capabilities of the command-line jabberpy example client and the PythonCard chat sample. The current version of jabberChat can only send and receive messages. It doesn't implement the entire Jabber protocol, but it does use Queue so that there isn't a conflict between the jabberpy callback handlers and the GUI event loop. I'm checking this code in with hopes that someone else will make the app more complete. You'll need the jabberpy package. http://sourceforge.net/projects/jabberpy In particular, you'll want the latest versions of the jabber.py and xmlstream.py files from cvs http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jabberpy/jabberpy/ Those files should be placed somewhere on your PYTHONPATH. If you don't already have one, you should get a more full-featured Jabber client from http://www.jabbercentral.org/clients/ so that you can setup your account, subscriptions, and test sending and receiving messages. You should be able to use any Jabber server account, not just jabber.org. |