[jdev] Re: Question on XMPP URIs?

Ralph Meijer jabber.org at ralphm.ik.nu
Fri Dec 15 07:03:51 CST 2006


On Fri, 2006-12-15 at 13:38 +0100, Magnus Henoch wrote:
> Ralph Meijer <jabber.org at ralphm.ik.nu> writes:
> 
> > If you wanted to have a specific service to connect to before accessing
> > the resource, you'd do:
> >
> >     xmpp://test@example.org/guest@example.com/Home
> >
> > This means: open an XMPP connection to the server at example.org using
> > account 'test', and then use that connection to access the JID
> > guest at example.com/Home. This is explained in section 2.3.
> 
> Speaking of which, I want to encourage client authors to support the
> form xmpp://test@example.org to mean "set up this account for use".
> That would make an excellent ending for web-based account registration
> forms: "click here to configure your client".

Interesting use case. However, I would expect something more along the
lines of the following:

   xmpp://example.com/test@example.com?register

or
   xmpp://example.com/example.com?register;username=test

or, as I am not too fond of actions inside URIs, using XLink as I
suggested in [1].

[1] http://mail.jabber.org/pipermail/xmppwg/2005-February/002271.html

-- 
Groetjes,

ralphm




More information about the JDev mailing list