[jdev] Implementing XEP

Matthew Wild mwild1 at gmail.com
Tue Sep 17 13:47:11 UTC 2013


On 17 September 2013 13:39, Bhagavan Prasad <bhagavansprasad at gmail.com> wrote:
> Matthew, Thank you very much for quick response.
>
>>> Requirements : Every Jabber client shares with buddys about the "Movies watched by the client".
>> You're looking for something like http://xmpp.org/extensions/xep-0197.html I think.
>
> Yes, this matches with matches my requirements.
> In order to use XEP 197, server should support PubSub feature.
> Q1.  Can you give me some link where I can download server which is
> written in C with PubSub and XEP197.
> In my googling I found almost zero results about server (free source
> code in C ) having PubSub.  I felt I need to implement myself from
> scratch.

For a C XMPP server, I think jabberd2 is probably the best option I know of.

> Q2.  Are there any guidelines available to implementing a new XEP?

That really depends on the library or framework you are using.

>> The server only needs to support XEP-0197, and practically all of the
>> actively-developed server software does. The catch is that some large
>> services don't, such as Google and Facebook - there isn't much you can
>> do about that (there are some solutions, but they are either more
>> complex or inefficient).
>
> Q3. Can you please send me some links above free source in C

https://github.com/jabberd2/jabberd2/blob/0c95a2a4f7b8a4bcd775144694766426ef45852b/sm/mod_pep.c

Regards,
Matthew


More information about the JDev mailing list