[JDEV] URL form of JID?

Emswiler, Mike mikee at protrader.com
Fri Sep 21 16:26:22 CDT 2001


It might be messy and infinite, but should they all be "jabber:"  ?

I think it would make more sense as:

chat://room@conference.server.org
msg://user@server.org

etc.


-----Original Message-----
From: DJ Adams [mailto:dj.adams at pobox.com]
Sent: Friday, September 21, 2001 3:38 PM
To: jdev at jabber.org
Subject: Re: [JDEV] URL form of JID?

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



More information about the JDev mailing list