[JDEV] URL form of JID?

Michael Brown michael at aurora.gen.nz
Mon Sep 24 04:44:21 CDT 2001


> > 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

jabber:jdev at conference.jabber.org?action=chat joining a chatroom could get
confusing.  I would have assumed it would have started a line-by-line
private chat (as opposed to sending a "normal" message- see
http://docs.jabber.org/jpg/html/main.html#REFMESSAGE for details).

Having two "chat" types in Jabber does confuse things a little...

Michael.




More information about the JDev mailing list