Le 08/02/2013 08:48, Tim a écrit :
>The idea here is to use PEP to store a list of pubsub nodes and
> allowing a user to notify its contacts when he wants to share some of
> theses.

Quite like the idea of making this information available on a pep node,
but I think you would need to consider differentiating by service. For
example I may be subscribed to several nodes for a non-movim based pubsub
service, but movim doesn't care a jot about those, and would have to go
through a lengthy discovery process to find out that they're meaningless
to it.

There's nothing to stop you adding your own namespace as a pep node,
specific to movim, and just storing this in there. This also wouldn't need
any changes to the spec either.


Something like:

<iq type='set' from='u...@server.tld' id='1'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'
xmlns:m="http://movim.eu/movims-awesome-namespace";>
    <publish node='urn:movim:pubsubpublic'>
      <items>
         <item><m:subscription server='pubsub.jabber.org'
node='spongebobfanclub' /></item>
         <item><m:subscription server='pubsub.xmpp.eu' node='news'
/></item>
      </items>
    </publish>
  </pubsub>
</iq>


Just a thought

--
Ash


Reply via email to