Thank you Daniel for the quick response. It is working fine now after adding the message command.
However I had another problem. If the body has a space, nothing come after the space. For ex: I created a bookmark as the following : javascript:(function(){window.location='xmpp:user.n...@oracle.com?message;body=SR 12345';;})();; This successfully open the chat window for user.name with a body as "SR" and any text after the space is ignored. Regards Mohamed Sayed | Principal Analyst Phone: +202 3535 0342 | Fax: +202 3535 0342 | Mobile: +2010 7215722 Oracle Global Customer Support | Fusion Applications | Application Technology - AppsDev ORACLE Egypt | KM 28 Cairo-Alex. Desert Road | Oracle building | Smart Village | 12577 Giza Oracle is committed to developing practices and products that help protect the environment -----Original Message----- From: Daniel Atallah [mailto:datal...@pidgin.im] Sent: Wednesday, August 29, 2012 4:44 PM To: Mohamed Hamed Cc: support@pidgin.im Subject: Re: URI protocol for invoking pidgin On Wed, Aug 29, 2012 at 7:04 AM, Mohamed Hamed <mohamed.sa...@oracle.com> wrote: > > Hi Support. > > I need to develop html hyperlink to invoke pidgin and open chat window > for specific body. > > By searching the net. I found that pidgin on my pc has registered the > xmpp protocol. > > I have used the following : > > xmpp: u...@domain.com > > > > first time, when I clicked the hyper link, I was asked to confirm > pidgin application, and I did, but nothing happen after that, and the > pidgin did not open. > > In regedit , this is the configuration of the xmpp protocol > > > > C:\Program Files\Pidgin\pidgin.exe --protocolhandler=%1 > > > > For debuggin, I tried to run this from command prompt and it did not work. > It seems that pidgin.exe does not accept any parameter to open a buddy > chat window. > > > > Please help how I can implement that. The URI handling for XMPP accounts follows XEP-0147 (http://xmpp.org/extensions/xep-0147.html). You need to specify that you want to send a message - the URI handler can also be used to add buddies and join MUCs: xmpp:u...@domain.com?message You can optionally specify the account for the case where you have multiple XMPP accounts (this is not part of the XEP because the XEP doesn't consider the case for several accounts) , and an optional value to pre-populate the message window with: xmpp:u...@domain.com?account=myusern...@domain.com;message;body=Hi Note that these will only work if Pidgin is currently running, Pidgin will not be launched based on a URI handling attempt. -D _______________________________________________ Support@pidgin.im mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support