Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Jabber Client Library
JavaScript PHP HTML C CSS Makefile Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.cvsignore
API
AUTHORS
COPYING
ChangeLog
JSJaC.js
JSJaCConnection.js
JSJaCHttpBindingConnection.js
JSJaCHttpPollingConnection.js
JSJaCPacket.js
README
crypt.js
json.js
qm_cookie.js
xmlextras.js

README

JSJaC - JavaScript Jabber Client Library
========================================

JSJaC is a jabber client library written in JavaScript to ease
implementation of web based jabber clients. For communication with a
jabber server it needs to support either [1]HTTP Polling or [2]HTTP
Binding. JSJaC has an object oriented interface which should be quite
easy to use. Communication is done by using the HTTPRequest
object also refered to as AJAX technology. Your browser must support 
this.

License
=======

JSJaC is licensed under the terms of the GNU Lesser General Public 
License (LGPL). Please refer to the file named 'COPYING' that came with 
this distribution for details.

Hints on Usage
==============

Due to security restrictions you will have to proxy requests like
mod_proxy and mod_rewrite for apache web servers can do and add a
RewriteRule for the domain which serves your web application so that
request on a certain base address (which can be chosen by yourself)
are redirect by use of apache's built in proxy module to the http base
address of the HTTP Polling or HTTP Binding service. E.g.:

%<---
<VirtualHost *>
  Servername jabber.mydomain.com
  DocumentRoot /home/jabber/jwchat/htdocs
  AddDefaultCharset UTF-8
  RewriteEngine On
  RewriteRule ^/http-poll/ http://jabber.mydomain.com:5280/http-poll/ [P]
</VirtualHost>
%<---

For an example on how to use this library within your web application
please have to look at 'examples/simpleclient.html'.

Note: JSJaCConnection supports use of [3]Debugger which is available separately.

Supported Browsers and Platforms
================================

Windows
-------
* Internet Explorer v5.0 or newer
* Mozilla/Firefox and any other Gecko based browsers
* Netscape v6.0 or newer

Linux/UNI*X
-----------
* Mozilla/Firefox and any other Gecko based browsers
* Netscape v6.0 or newer

Macintosh
---------
* Mozilla/Firefox and any other Gecko based browsers
* Safari (in development, please help out by submitting bug reports)


[1] http://www.jabber.org/jeps/jep-0025.html
[2] http://www.jabber.org/jeps/jep-0124.html
[3] http://zeank.in-berlin.de/javascript-debug-logger/
Something went wrong with that request. Please try again.