Importing logs from other AIM plugins.

Discuss anything related to middle_man in here. Questions, comments and feedback are welcomed. Please search before you post.

Moderator: Moderators

Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Importing logs from other AIM plugins.

Post by Gena01 »

Is there a way to import logs from other addins? The two that I used before are aimutation and deadaim.

Gena01
Portfolioso
Posts: 981
Joined: Tue Dec 30, 2003 1:54 pm
Location: Columbus, OH
Contact:

Post by Portfolioso »

There is no feature to automatically import logs yet (I'm not sure if there will be)

What is the structure of the logs. You can manually move them, or use a program called flash renamed to mass rename and move a bunch of files. It may be a little complicated though.
Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Post by Gena01 »

Well aimutation which I used before with AIM 5.5 is open source (but looks like development has stopped and the author is working on commercial addon now..) the files are also quite similar to what Middle_Man produces.

I also noticed that Middle_Man uses MM tags?

Gena01
Harry
Posts: 162
Joined: Wed Feb 18, 2004 7:34 pm
Contact:

Post by Harry »

MM tags will reveal their use later...
Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Post by Gena01 »

Mmm.. so i think i managed to rename and move some files and it looks like Middle_man is reading them just fine. :)

Aimutation logs are quite similar to how middle_man does it. The only difference is that here is the layout:
<profile>\<buddy>\ELog <- this is the events file
<profile>\<buddy>\*.htm <- this is IM history.

The event log format is different, which looks something like:

[ Tue May 03 14:50:06 2005 ] xxx has signed on
[ Tue May 03 18:04:27 2005 ] xxx has signed off

The filenames follow unix timestamp convention (something like 1162247054.htm ) . And are usually 1 file per chat session.

I don't think Middle_man knows about chat sessions. Does it?


Gena01
Harry
Posts: 162
Joined: Wed Feb 18, 2004 7:34 pm
Contact:

Post by Harry »

Define chat sessions?

If by session you mean, whenever you open a new IM window to a person you start a new "session"... then the answer is middle_man does not log when the session ends "yet"; however, we do know about them.

If by chat sessions you mean a chat room conversation, then yes middle_man also knows about this.

If something else, please define...
Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Post by Gena01 »

I mean opening and closing IM window during conversation.

So would it be possible to add a little tool to do this sort of conversion? For now I got a scripted hack.... I also got logs for both DeadAIM and Aimutation to play with. I can make copies and run tests. This would simplify conversion of people from other addons, since the history is preserved. And also the log viewer in middle_man is quite nice.

Thank you,

Gena01
Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Post by Gena01 »

Another small question: Shouldn't the logs be in My Documents under my profile? If there's >1 user on a PC then it might not be the best thing to put it in a shared path.
Gena01
Posts: 7
Joined: Fri Nov 03, 2006 2:08 pm
Contact:

Post by Gena01 »

Ok. Here is the info on the DeadAIM Logs.

The files are under My Documents\AIM Logs\<profile>\<buddy>
2006-10-27 [Friday].htm
events.txt

Events are of the form:
10/27/2006 8:21:24 PM - Signed on
10/27/2006 9:19:23 PM - Signed off
10/27/2006 9:19:29 PM - Signed on
10/27/2006 9:38:59 PM - Signed off

Should be quite easy to do some sort of conversion to Middle_man.

Gena01
runelord999
Posts: 4
Joined: Wed Nov 01, 2006 9:37 pm

Post by runelord999 »

or you could ask the reciprical, how can you convert middle_man logs into deadaim type or another messengers type?

hope you guys work on this!
Post Reply