[ejabberd] Creating users and roster items via a web app

CGS cgsmcmlxxv at gmail.com
Tue Apr 24 17:22:08 MSK 2012


There are few. One of them is to use a XMPP JS client. Another to use
ejabberdctl. The last I've been using is to use direct module:function, but
that is if you use Yaws. There may be some other solutions (like PHP +
exmpp or others), but this is what came to my mind now.

Good luck!

On Tue, Apr 24, 2012 at 3:11 PM, Vineet Naik <naikvin at gmail.com> wrote:

> Hi,
> I am working on a web application in python (using django). Upon every new
> registration, I want to register 2 new users in ejabberd and add them to
> each other's roster.
> What is an elegant method to achieve this ?
> One way I am thinking of is using mysql based authentication and
> mod_roster_odbc. Then manually inserting into the database everytime a user
> signs up. Although I haven't tried this and not sure if the registered
> users will show immediately or not because of any caching that ejabberd
> might be doing for performance (this is just a guess!)
> Anyway I feel there must be a better alternative than this.
> Thanks,
> Vineet
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20120424/e80b6bfa/attachment.html>

More information about the ejabberd mailing list