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.

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 05:52 AM 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 06:04 AM BST #

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

Posted by Calum Mackay on September 23, 2009 at 06:22 AM BST #

Post a Comment:
Comments are closed for this entry.
About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today