[Kss-devel] A live chat module...
George Gozadinos
ggozad at qiweb.net
Tue Oct 16 15:15:37 CEST 2007
Hi,
I started working on an open source live chat product for plone3.
There is a working prototype ready, however I would like to report the
following seeking for some advice...
1) While I can set a document:load on my kss there seems to be no
document:unload. That would be good to have for this use case as I would
like to know when a user leaves the chat room... Now I periodically try
to see if there was no user ping for a while to detect quitters, which
is not so nice...
2) I also use document:timeout to do the polling client-side. Is there a
way to set evt-timeout-delay at run-time rather than have it fixed? When
my product was using a custom js that I wrote, I used to set the ping
interval as a property of the chat room. Is is possible to set this
parameter somehow?
3) Doing a self.core.focus("#msgInput") seems to work fine on firefox
and the rest but not IE.
Thanks and keep up the good work...
G. Gozadinos
http://qiweb.net
PS. I will write a tutorial about how I did egoban.org with KSS. Expect
this in about a month...
More information about the Kss-devel
mailing list