[JDEV] URL form of JID?
dj.adams at pobox.com
Fri Sep 21 15:37:34 CDT 2001
On Fri, Sep 21, 2001 at 11:48:52AM -0700, Jens Alfke wrote:
> Is there a standard way to represent a JID as a URL (analogous to a
> mailto: URL)? The most basic form would be something like
> "jabber:user at host/resource" and the default action when clicked would be
> to send an IM to that user.
I do remember seeing examples of this in very old docu,
it was something like your example, it could have been
jabber://user@host/resouce but then I might be going mad.
> It occurs to me that a second form would be useful for conferences /
> chat-rooms, since the behavior of clicking the URL would be different
> (joining the room.) AIM, I believe, uses a "?" attribute on the "aim:"
> URL to distinguish between these things.
This is certainly an idea, but when you consider a conference
room is just one of almost an infinite variety of types of
things, each with their own "default" action, to attempt to make
a distinction within the format is futile.
That said, perhaps in a browsing situation, the type of thing that
a particular JID represents may be easier to discern because of
its context within an iq:browse structure...
More information about the JDev