LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   What's a good html/js-based jabber client out there? (https://www.linuxquestions.org/questions/programming-9/whats-a-good-html-js-based-jabber-client-out-there-4175415257/)

eantoranz 07-06-2012 11:00 AM

What's a good html/js-based jabber client out there?
 
Hi!

I was asked to look into html/js jabber clients so that we can add chat support for a web-based applications.

I have been looking into some of them but when I try to start any of them I always get some kind of freaking JS.

- ajaxbber
- ijab
- jwchat

Any ideas?

dugan 07-06-2012 11:55 AM

"Some kind of freaking JS"? Are you having trouble installing them?

eantoranz 07-06-2012 11:58 AM

No no.... I mean that when I try to test any of them I get JS errors:

For example, on jwchat I get this:

Code:

[11:47:10.101] loc is not defined @ http://localhost/ijab/jwchat-1.0/src/:249
And the code in question is
Code:

function init() {
  var welcome = loc("Welcome to JWChat at [_1]", SITENAME);
  document.title = welcome;
  document.getElementById("welcomeh1").innerHTML = welcome;

Where is loc defined? So.... all the solutions I've tested so far give one JS error or the other.

dugan 07-06-2012 12:04 PM

Uhm, I just downloaded jwchat 1.0 and looked at the included index.html.en file. What I saw was:

Code:

function init() {
  var welcome = "Welcome to JWChat at "+SITENAME;
  document.title = welcome;
  document.getElementById("welcomeh1").innerHTML = welcome;

No loc.

eantoranz 07-06-2012 01:41 PM

Damn! Is it 1.0? Let me take a look at that version (I think I got some beta).

eantoranz 07-06-2012 01:47 PM

I got it the way I said from jwchat-1.0-src.tar.gz. What file did you download?

dugan 07-06-2012 01:48 PM

jwchat-1.0.tar.gz. Not the -src tarball.

eantoranz 07-06-2012 01:56 PM

I'm checking the one you have and I don't see the same error (but others) but I think it's much more closer to actually work. Thanks!

eantoranz 07-06-2012 02:33 PM

It did work. Thanks, dude!


All times are GMT -5. The time now is 05:09 PM.