The dot in ... --- ...

Chris Gerhard's Weblog

« Moving to an OpenSol... | Main | Preparing for OpenSo... »

20090923 Wednesday September 23, 2009

purple-url-handler and XMPP URLs

I've finally worked out how to drive purple-url-handler. Strictly John worked it out, so I will stand on his shoulders, but for some reason it would not work for me and I now know why and have a workaround.

First you need an XMPP URI on a web page. Some thing like:

xmpp:chrisg_fans@muc.im.sun.com?join

will when clicked in a browser that has the right helper, something OpenSolaris has had for some time, will take your IM client to that room. However with pidgin that is only the case if that room is available in the first XMPP server listed in your list of accounts. So given that this room is on Sun's IM server with the list of accounts looking like this:


It will try and connect to the first XMPP server listed, which is google and hence fail. Changing the order to be:


and then logging in and out and now the link will work. You can drag and drip the entries in pidgin.


( Sep 23 2009, 11:24:00 AM BST ) Permalink Trackback

   
Comments:

mmm, causes pidgin 2.5.5 to get a glibc malloc erorr "corrupted double-linked list" on my Linux box.

I suppose you can't be held responsible for that :)

Posted by Calum Mackay on September 23, 2009 at 12:52 PM BST #

Upgrade to OpenSolaris 2009.06 and pidgin 2.5.5 works just fine. Upgrade to the dev build and you get pidgin 2.5.8 again a working copy.

Posted by Chris Gerhard on September 23, 2009 at 01:04 PM BST #

yup, indeed; that's the plan. thanks.

Posted by Calum Mackay on September 23, 2009 at 01:22 PM BST #

Post a Comment:

Comments are closed for this entry.

Valid HTML! Valid CSS!

Except where otherwise noted, this site is
licensed under a Creative Commons License 2.0

This is a personal weblog, I do not speak for my employer.