strophe

What is strophe and how to use it with JQuery?

Can somebody explain what strophe is? I believe it has something to do with XMPP? How can I incorporate it into a site using Jquery? ...

How to call jquery trigger from gwt?

public static native void doConnect() /*-{ $wnd.jQuery(document).trigger('connect', { jid: 'sss', password: 'sss' } ); }-*/; i tried the above ,but there is no error in firebug or gwt hosted mode console(so i cannot know ...

run javascript at serverside

Is there any way to run one same instance of JavaCcript(jQuery) on the server side and call it from a Java method? :) I am interested to know whether it is possible to run it on the server side (not clientside), like Google app engine. ...

Strophe javascript prevent disconnection on some delay

Hello, I am developing javascript XMPP application which uses Strophe library to connect to Jabber server. I need to engage the thread for about 5-10 seconds when Strophe connects to the server. Thread is engaged by running java applet and after it releases the thread it goes back to handle XMPP events, however at the moment I cannot man...

Session resume problem with Strophe attach and Ejabberd

I'm having a lot of difficulty getting strophe's 'attach()' function working. I am working on a social network where users will be surfing pages and at the same time keep their chat connection on. I don't want to reconnect/reauthorize on every page so as per this link (http://groups.google.com/group/strophe/browse_thread/thread/430da5e...

Is it right that Strophe.addHandler reads only first node from response?

I'm starting to learn strophe library usage and when i use addHandler to parse response it seems to read only first node of xml response so when i receive a xml like that : <body xmlns='http://jabber.org/protocol/httpbind'&gt; <presence xmlns='jabber:client' from='test2@localhost' to='test2@localhost' type='avaliable' id='5593:sendIQ'...

Ejabberd and Strophe problem: "terminate: Deleting session"

Hi everyone, I'm "fighting" with this problem for more than 3 days and have googled just everything related that can come to my mind. So, I want to setup Strophe and Ejabberd in order to create a basic chat application. The problem I'm facing is that whenever I try to connect with Strophe to the XMPP server - it stays with status CONNE...

real time notifications using xmpp

Hi, I am looking to include two features in my app using xmpp. The first one is a one-to-one chat which is almost complete (using strophe) and the second one is real time notifications just the way it works in facebook. I tried to understand the pubsub system in xmpp but dont feel that it will suit this particular problem. Please correc...

In Openfire, how can I get who have subscribed a node?

Some client subscribe a node, I want to know how to get the subscriber. Is there some plugins in the Openfire can do this? ...

Need guidence to start working on Openfire through strophe.

HI Guys; My objective is to get communication started on openfire through strophe. But have a few q's like What is the language that strophe will be written in? how and where are the connections written? Just some basic guidence or a good link to a starter tutorial will be very helpful. Thanks ...

Facebook with Strophe and punjab

Hi, I am new to xmpp.I created my own ejabberd server and tried to implement facebook chat through it, but it is giving the response as " remote connection failed". I also tried with punjab but not successful. Can anyone please tell me the configuration settings to be modified or added in ejabberd or punjab. I tried using "chat.facebook...

XMPP: how to request server for presence status of a user's contacts ?

We have a site and we developed a chat system for it using strophe.js library and ejabberd XMPP server. We use session attachment that was initiated with PHP (using an in-house library). What we do is get the RID and SID from the PHP script, then use strophe's session attachment. The said RID and SID is stored on a cookie and the RID val...

XMPP web chat: how to resolve multiple tabs/windows?

We have a site and we developed a chat system for it using strophe.js library and ejabberd XMPP server. We use session attachment that was initiated with PHP (using an in-house library). What we do is get the RID and SID from the PHP script, then use strophe's session attachment. The said RID and SID is stored on a cookie and the RID val...