<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hello Darrin,<DIV><BR><DIV><DIV>Le 13 déc. 06 à 04:57, Darrin Thompson a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'd like to access ejabberd from a web app.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The options I've seen so far include jabberlang, and writing some kind</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">of ejabberd module.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I require anonymous logins, and ability to run on amd64 and x86.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is jabberlang up to the client side of this? If so, where are the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">official binaries? Jabberlang is broken in cean. The build system in</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">svn seems incomplete. Where are all those shared objects coming from?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Jabberlang for now rely on ejabberd. You need ejabberd to use it. The shared object you are mentionning comes from ejabberd.</DIV><DIV>That said Jabberlang is a client library that rely on a server implementation which seems strange.</DIV><DIV>That's why we are currently doing some code refactoring.</DIV><DIV>Our target is to have:</DIV><DIV>- exmpp: A common XMPP library that is used by ejabberd and Jabberlang</DIV><DIV>- Jabberlang: Relying on exmpp.</DIV><DIV>- ejabberd: Relying on exmpp.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We are in the middle of this refactoring currently.</DIV><DIV>A partner/customer has contributed a reworked exmpp module that we are integrating into both Jabberlang and ejabberd.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The Jabberlang API will not change in the first step, but once this has been done we will work on improving it.</DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Another possibility would be just writing an ejabberd module which can</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">bridge for clients. Is there some example code for this somewhere?</DIV></BLOCKQUOTE><BR></DIV><DIV>Yes, there are plenty of example:</DIV><DIV>- in ejabberd itself. ejabberd is modular and many parts are developed as module.</DIV><DIV>- in the brand new ejabberd-modules repository that we have opened to allow contributors to work together.</DIV><DIV>See Process-one forge: <A href="https://forge.process-one.net/browse/ejabberd-modules">https://forge.process-one.net/browse/ejabberd-modules</A></DIV><DIV>and SVN: <A href="https://svn.process-one.net/ejabberd-modules/">https://svn.process-one.net/ejabberd-modules/</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If your module if of general interest, it might be relevant at the end to put it in the ejabberd-modules SVN.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I hope this helps,</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Mickaël Rémond</DIV><DIV> <A href="http://www.process-one.net">http://www.process-one.net</A>/</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>