[JDEV] URL form of JID?

Julian Missig julian at jabber.org
Fri Sep 21 16:08:14 CDT 2001

Whenever I represent a JID as a URI, I use jabber:user at host/resource - 
this was sort of agreed upon as a standard (originally you had to have 
jabberids like that, but they decided jabber: is not needed when within 
the protocol)


DJ Adams wrote:

> 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...
> dj 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

email: julian at jabber.org
jabber:julian at jabber.org

More information about the JDev mailing list