[jdev] Archive or save chat messages
Sergey Dobrov
binary at jrudevels.org
Thu Apr 26 17:20:44 UTC 2012
On 04/27/2012 12:00 AM, Matthew Wild wrote:
> 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.
Sure, but I don't see a reason to use extra HTTP connections when you
already established XMPP session which can use stable persistent
connection (e.g. via web socket) lower cost connection :)
>
> Regards,
> Matthew
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
--
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.
More information about the JDev
mailing list