[ejabberd] Custom PEP nodes in ejabberd

Stefan Strigler steve at zeank.in-berlin.de
Thu Sep 11 14:43:11 MSD 2008


Hi Eric,

great stuff! Linked this at http://open-birdcage.com

Cheers, Steve

Am Donnerstag, den 11.09.2008, 12:36 +0200 schrieb Eric Cestari:
> Reading Jack Moffit's blog post  [1] and Microbloggling over XMPP  has
> given me quite a bit of inspiration :)
> I submitted this
> patch https://support.process-one.net/browse/EJAB-739, this morning.
> 
> 
> It enables mapping a PEP namespace to a specific node plugin :
> 
> 
> {mod_pubsub, [ % requires mod_caps
> {access_createnode, pubsub_createnode},
> {plugins, ["default", "pep","microblog"]},
> {pep_mapping, [{"urn:xmpp:microblog", "microblog"}]}
> ]},
> 
> 
> A user creating a PEP node in namespace urn:xmpp:microblog would have
> create a node_microblog in ejabberd.
> That would enable us to enforce the XML in the payload, have a
> specific storage solution.
> 
> 
> And yes on the HTTP side, I plan to put the Atom-Pubsub plugin to good
> use.
> 
> 
> Eric
> 
> 
> [1] http://metajack.im/2008/09/10/xmpp-microblogging-thoughts/
> [2] http://www.xmpp.org/extensions/inbox/microblogging.html
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list