[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [kopete-devel] is there a tool that convers MSN chat history to
From: Martijn Klingens <klingens () kde ! org>
Date: 2007-05-22 8:24:44
Message-ID: 200705221024.44884.klingens () kde ! org
[Download RAW message or body]
On Tuesday 22 May 2007 02:05, CHEN,Zizhao wrote:
> is there a tool that convers MSN chat history to Kopete chat history?
Not that I am aware of, if there is anything like that, it's not part of
Kopete and we haven't been informed about its existence.
> if not, i want to do it.and could you give me guide about Kopete chat
> history?
It's a pretty simple XML format, if you take an existing chat log as an
example most of it should explain itself. Here at work I have no logs to
copy/paste from, but basically you need to specify the person from and to
(nickname and MSN address), whether it's incoming or outgoing ("in=...") and
the time stamp.
Time stamp is the most special, it is in the format "DD HH:MM:SS" if I'm not
mistaken, so it has the day number (e.g. 22 for May 22nd) before the time,
but NOT the month number. The month is stored in the file name instead, as is
the year.
The header and footer of the XML are pretty much constant and can be
copy/pasted from an existing file.
To avoid encoding and other syntactic problems it's of course safest to use a
true XML library for writing out the file, but for a simple sequential
conversion that is also quite some overhead.
Hope this helps. Let us know if there are any questions, and please send us a
link to the converter when it works (or the source code) :)
Cheers,
--
Martijn
No matter what happens, someone will find a way to take it too seriously.
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic