[JDEV] URL form of JID?

DJ Adams dj.adams at pobox.com
Mon Sep 24 00:56:03 CDT 2001


On Fri, Sep 21, 2001 at 11:13:56PM -0700, Jens Alfke wrote:
>  
> I'd much rather add a query to the URL indicating the action: 
> 
> jabber:snej at jabber.org?action=message   # send IM (default action) 
> jabber:snej at jabber.org?action=roster   # add to roster 
> 
> jabber:jdev at conference.jabber.org?action=chat   # join a chat room 

I think this makes a lot of sense, as it doesn't muddy the 
JID part of the URL and is a clean and flexible way of doing
things. And it's also a format we're familiar with (HTTP GET URLs).

Ironically, I guess the achilles heel is the flexibility:

jabber:jdev at conference.jabber.org?action=chat   # join a chat room 

vs

jabber:jdev at conference.jabber.org?action=join   # join a chat room 

?

dj






More information about the JDev mailing list