importing kopete logs

Alin Marin Elena alinm.elena at gmail.com
Wed Mar 21 15:28:57 UTC 2012


On 21 March 2012 14:36, David Edmundson <david at davidedmundson.co.uk> wrote:

> Nicely done. I'm up for going down this route.
>
> TODO List:
>
> As this is a bodge, we should probably talk to Tp upstream.
> Check it all loads in the log viewer (I'm thinking it might not (if
> your account names don't match))
> We need prevention for "double imports". (i.e running your script twice)
> We need a UI. I'm thinking maybe a first run wizard on the log viewer.
>


Hi David,

I added a sanitised version wrote by Luca (einar).

My test was simple... I run the script on the xml log file of kopete and
got a folder for the contact with whom I spoke...
copied it manually in the right account (so I did not have to worry about
different schemes for naming accounts)
started ktp view logger and the messages were there...

Personally I will like to see two more things added... I will have a look
with Luca tonight to them
1. being able to convert multiple files in one go... it is simple to do..
2. import group chats... I know how tp-logger stores them... I just need an
example from kopete...

Personally once these are done I will write a small how to and that is
all... Automatic imports, bullet proof, may take too much time and I do not
know if it is really worthy of all that effort.

for convenience we can ship it with one of our components... if upstream
does not want to take it.

Alin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120321/6704212d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log2log.py
Type: text/x-python
Size: 3251 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120321/6704212d/attachment.py>


More information about the KDE-Telepathy mailing list