[JDEV] URL form of JID?

Thomas Parslow (PatRat) patrat at rat-software.com
Mon Sep 24 10:47:40 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.

jabber:jdev at conference.jabber.org?action=join
or
jabber:jdev at conference.jabber.org?action=conference

maybe?

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying





More information about the JDev mailing list