Need advice: what should I use?

2 views
Skip to first unread message

Sergey Petrov

unread,
Jun 23, 2010, 2:45:20 PM6/23/10
to speeqe-dev
I want to make some experiment in which I have to be able to create
group chats on my jabber server, invite people in it (from different
jabber servers) and participate in discussion as a robot-client (that
is based on my server). So, I figured, I would have to have:

- some jabber server with muc support (ejabberd, palaver?)
- python jabber client to:
- create new rooms
- invite people in it
- join room as well, listen to messages, autoreact on them (channel
bot)

I'm a newbie. I don't know much. Which instruments should I use?
Especially, I have problems with python jabber client — I've tried to
read Speeqe sources, but its pretty much JS-client.

Suppose, I have jabber server installed and running. Suppose, it can
run group chats. Now I have helloworld.py, that should do something
like that:

function listenHandler(new_lines):
print "New lines in some chat: %s" % new_lines

conn = MyBigServerI.auth('mega_robot','mega_robot_passwd')
conn.create_new_room('room_name')
conn.join('room_name', listenHandler)
conn.invite('room_name','som...@gmail.com')

I will be very grateful for an answer. Thank you.

Josh Steiner

unread,
Jun 23, 2010, 8:40:54 PM6/23/10
to speeq...@googlegroups.com

For the python side of things I would recommend you look at twisted and wokkel, if scalability is important to you.

Ejabberd is a snap to get running on Ubuntu and should serve you well.

Good luck. 

-josh

> --
> You received this message because you are subscribed to the Google Groups "speeqe-dev" group.
> To post to this group, send email to speeq...@googlegroups.com.
> To unsubscribe from this group, send email to speeqe-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/speeqe-dev?hl=en.
>

Reply all
Reply to author
Forward
0 new messages