[jdev] Best ways for a JID to advertise what services it uses?

Dave Cridland dave at cridland.net
Tue Sep 21 09:07:25 CST 2010


On Tue Sep 21 15:56:09 2010, Tuomas Koski wrote:
> Hi,
> 
> On 21 September 2010 16:15, Dave Cridland <dave at cridland.net> wrote:
> > On Tue Sep 21 14:34:54 2010, Stephen Pendleton wrote:
> >>
> >> The answer to this is key to interoperability for pubsub. If I  
> can't
> >> discover the location your nodes I cannot interoperate with you.
> >
> > Right, and the ideal answer is to use PEP - or rather,  
> pubsub-onna-jid.
> 
>  Yes ... but ...
> 
> 
> On 21 September 2010 16:15, Dave Cridland <dave at cridland.net> wrote:
> > But in some cases you don't want to (because your PEP service is  
> minimal) or
> > can't (because you have no PEP at all).
> 
> Exactly. The above is my limitation.
> 
> 
> On 21 September 2010 16:15, Dave Cridland <dave at cridland.net> wrote:
> > It's not yet clear to me that a solution is possible.
> 
> Yeah. I will do a demo using the LRDD. It will not be beautiful but  
> I
> think it'll get us started.

What we need is a case of fallbacks.

So we expect to find a microblog in the pubsub service rooted at the  
user's bare jid.

Failing that, we expect to find a pointer advertised over PEP (Not  
ideal, since this would mean every time I come online, I'll get a  
copy of your advertisment).

Failing that, we try webfinger/LRDD.

Failing that, we see if the user's client(s) support some discovery  
method, and use that. (A special disco node?). This is really not  
ideal, as we need to catch the user online.

Failing that, we assume that the user has no microblog unless  
configured.

Dave.
-- 
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade


More information about the JDev mailing list