[ejabberd] Custom PEP nodes in ejabberd

Eric Cestari eric at ohmforce.com
Thu Sep 11 14:36:05 MSD 2008

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  


[1] http://metajack.im/2008/09/10/xmpp-microblogging-thoughts/
[2] http://www.xmpp.org/extensions/inbox/microblogging.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20080911/638fabe4/attachment.htm>

More information about the ejabberd mailing list