[ejabberd] mod_archive : how to retrieve archived message

Peter Saint-Andre stpeter at stpeter.im
Sat May 10 02:10:39 MSD 2008

On 05/09/2008 7:49 AM, Alexander Tsvyashchenko wrote:
> Hello All,
> Quoting Olivier Goffart <ogoffart at kde.org>:
>>> I have configured the mod_archive module for message archiving in the
>>> server, it uses mysql db to store the messages. But I couldn't figure out
>>> what is the xmpp message I should send from the client to retrieve message
>>> history from the server.
>> Which version of the module are you using?
>> mod_archive.erl implement an old version of the jep and has many bugs.
> In fact mod_archive_odbc is also outdated already with respect to the  
> latest XEP version ;-)
> 2Arup: I believe the problem you have could be related to the XML  
> namespace: while current XEP uses 'urn:xmpp:tmp:archive',  
> mod_archive_odbc still uses  
> 'http://www.xmpp.org/extensions/xep-0136.html#ns' one. Could you try  
> to perform your queries using the old namespace?

Yeah, sorry about that.

> P.S. I do not want to change namespace in implementation right now as  
> it looks like XEP-136 approaches the "draft" stage pretty soon (?),  
> and at that stage namespace will change again; also there are several  
> other changes I'd like to make in mod_archive_odbc to bring it into  
> accordance with the current XEP-136 version, and I'd like to make them  
> in one step rather than producing several "intermediate" versions, so  
> stay tuned - and meanwhile just use the old namespace for some  
> (hopefully short) time.

Yes we should push XEP-0136 forward to Draft soon. I will make sure we
get some votes on that at the next XMPP Council meeting. :)


Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20080509/59ab5208/attachment.bin 

More information about the ejabberd mailing list