[jdev] Archive or save chat messages
Matthew Wild
mwild1 at gmail.com
Thu Apr 26 17:00:20 UTC 2012
On 26 April 2012 17:51, Sergey Dobrov <binary at jrudevels.org> wrote:
> On 04/26/2012 10:07 PM, Dave Cridland wrote:
>> On Thu Apr 26 15:47:19 2012, Sergey Dobrov wrote:
>>> You should write a module for your jabber server which will save
>>> messages for you. (some servers already has modules for xep-136 support)
>>
>> There is also XEP-0313, now, which is experimental (and therefore
>> subject to change), but I'd think it would be OK for private usage at
>> least.
>
> Actually, in the elementary stupid way they can just save messages in
> any storage and then extract messages by simple ajax query. :) Bad
> solution but easy and working.
>
Indeed. There's nothing to stop a server providing access to an
archive via HTTP, either in a machine or human-readable form. We just
don't have any specification for it.
There is nothing preventing a XEP being written that allows you to
query an archive over XMPP for alternative access methods (e.g. to get
a HTTP URL), and even specifying what format the request and response
should be.
Regards,
Matthew
More information about the JDev
mailing list