Forum OpenACS Q&A: Jabber question...

Collapse
Posted by David Kuczek on
Does anyone have a running Jabber integration in an OpenACS
environment?

Did anyone install Malte's Jabber module for AOLserver?

http://www.sussdorff-roy.com/jabber/jabber_inst_main_doc.html

At the moment I am looking for the easiest way to support chat inside
our community. An option to moderate a chat would be great, which is
why I suggested IRCG in my previous post:

https://openacs.org/bboard/q-and-a-fetch-msg.tcl?
msg_id=0003Ua&topic_id=11&topic=OpenACS

Collapse
Posted by Ivan Histand on
Here's a simple way to support chat on your website.... aim:GoChat?RoomName=TestAimChatRoom
Collapse
Posted by Tom Jackson on

I wrote a c+tcl module for Jabber. It turns AOLserver into a Jabber client if you wish. The C module is very simple: it exposes every message to the tcl api, calling a pre-defines tcl procedure. You can set this procedure to do anything you like. The tcl module defines this procedure, and also includes a keep-connected procedure that automatically connects on server startup, and re-connects if either the thread dies, or the Jabber server dies. Also included is a method of using Rob Mayoff's threadpool module.

Currently this module is available at: http://zmbh.com/nsjabber/.

Collapse
Posted by David Kuczek on
Hello Tom,

do you have a running example for your module?

Collapse
Posted by David Kuczek on
Oh and Ivan,

I don't quite understand what you mean with aim... (which is probably AOL Instant Messenger...)

Collapse
Posted by Bjoern Kiesbye on
I'am one of Maltes developers, if all you need is a chat room , you can stick to jabber,
the conferencing module is now working ( there has been a bit of trouble with the doc's that caused some confusion), but now more and more Client App's support conferencing ( WinJab, the new Applet (unreleased) for example). Just make sure you have the latest version of conferencing inst. , and our community members  use the latest Client App's. You have the possibility to give the chat members different priority’s ,from the lowest listening only to the highest the not removable admin , you can make  conferencing public or private (we prefer public because every user can browse through a list of chat rooms ) .  You can send invitations trough the transports so it doesn’t matter in which IM System the room members are online.

If this is not enough for your purpose, you may wait a few more weeks , at the moment we are working on rewriting our code to prepare it for our self defined xml  (this give us greater possibilities in data exchange between Jabbar an AOLserver, and will make the module run more stable ) and do some speed enhancement. .
As well we work on making the code easier to install and easier to configure, as it is now.

We wrote a tcl admin page that let you use all functionality’s of our  admin client, if your interested we can give you access to this page on our dev. Server after we finished the rewriting of our code.
(about a week to go) You can play around with it a bit to get an overview of the possibility’s . I’ll have to check that with Malte first.
So if there is any interest let me know..

Happy X-Mas.

Collapse
Posted by Tom Jackson on

David,

I have a working server setup. The AOLserver modules are running inside an OpenACS website at http://pathfinderschool.com/.

The jabber client is setup to allow you to create an account at the website. A test would be to sign up on jabber and then login to the website.

I didn't spend the time to change the data model for OpenACS, otherwise, I would have put an additional field in the parties table to register the jabberID of the user signing up. That way I could associate the two.

To signup:

  1. Start a chat session with weblog@pathfinderschool.com/ws.
  2. If you are using WinJab, just enter some text to start start the process.
  3. The client should respond with a menu of commands.
  4. Enter :i for the index.
  5. Then enter :a for ACS.
  6. Enter :r to register
  7. Answer the series of questions to setup your account.
  8. Enter :confirm to confirm, or anything else to abort.
  9. Try logging in to pathfinderschool.com with your new account.

    Since I wrote this tcl module, I discovered the idea of a 'component'. A component is an Jabber extension. The prefered method for extending jabber is through 'external' components. An external component logs in in a slighlty different way than a client, but is still happens via sending and receiving jabber packets.

    My next push into this area will be to connect AOLserver to the Jabber Server as a component. Components have admin privileges, and can use an manipulate the jabber database. Using my module as a starting point, it should be a one day effort, max, to create a component login.

    All of the tcl code for the signup process is included in the OpenACS tcl module.

Collapse
Posted by Don Baccus on
Off-topic but ... Tom, I notice that bookmarks doesn't display the logo at the top of its pages.  Is it not honoring the system-wide master template for some reason?

Also it seems that loading up your personal bookmarks takes a long time.  Have you looked into this?  Are you running the latest bookmarks with my recent changes to sortkeys or an earlier version?

Collapse
Posted by Tom Jackson on

Don,

Yeah, this is an older version, say from early September. Also, this version didn't properly upload my bookmarks from Netscape, it seemed to only get the top-level folders.

Really no one is using this site, I use it to test some of the modules I am working on, so I haven't even noticed the speed of the bookmarks module. It really is slow! The computer is the PIII650, so it isn't the one I had slow startup problems with last week.

Collapse
Posted by Ivan Histand on
My point was that AIM has full support for chat in the client, and with no server-side programming at all you can advertise chats on your site by simply posting an url in the following format:

aim:GoChat?RoomName=<YourRoomName>

When someone clicks on this url, the AIM client will open with the room name specified

Of course you'd want to point people to the aim download site so they can download the client and make an account if they don't have one already, the url is www.aol.com/aim

I didn't mean to trivialize your question, but I just wanted to point out that AIM could be viable for simple needs.

Ivan