Page 1 of 1

Importing history from Miranda?

Posted: Mon Jun 19, 2006 8:00 am
by timadler
Hey everbody!

Today is the big day that I switch over from Windows to a Mac. I was using Miranda up til now, and of course will be using Adium from now on.

Is there a way that I can import my history from Miranda into Adium so that I can still have it available?

Tim

Posted: Mon Jun 19, 2006 6:06 pm
by evands
I'm not aware of an existing Miranda import script or program. If you could post a sample log file (does Miranda log chats separately? Or to a database?) perhaps someone on the forums could help you in creating one.

Posted: Mon Jun 19, 2006 8:47 pm
by timadler
Well as far as I know, there is a one-file database with all chats and contacts in Miranda. I could provide you with one, but that is pretty much it. Miranda is written in C++ and only available under Windows.

Posted: Mon Jun 19, 2006 10:04 pm
by evands
Hm. If you'll email me the file(s) you have (evan at adiumx dot com) I'll take a look. It might also be worthwhile to drop a line to the Miranda folks and see if they have some easy way to export the data to an easily-read format, such as XML or the like.

Posted: Wed Jun 21, 2006 11:00 am
by timadler
Hey evands,

I've send you a mail, with different infos about the subject. There is several ways of exporting a miranda history to XML and text. Perhaps just take a look and give me feedback, if you'd need more info or how I can be of help.

Posted: Sun Jul 30, 2006 1:18 pm
by wflorian
I will also switch from Windows with Miranda to Mac with Adium...and I would also need to import my history from Miranda to Adium.

I can export the history of each contact to xml, html or text...

But how can I import these files in Adium?? :???:

Posted: Mon Aug 07, 2006 3:31 pm
by wflorian
is there nobody wo can help me??

We need script or any app to import Miranda's history to Adi

Posted: Thu Apr 12, 2007 4:00 pm
by plr
I'm donate who made script or any app to import Mirandas history to Adium!

Posted: Thu Apr 12, 2007 4:46 pm
by The_Tick
Miranda keeps almost all settings and logs in some dat files, from what I remember from #miranda on irc. This includes usernames and passwords I think.

We're still working on getting importing from mac clients to Adium officially, but you could probably look at scripts yourself to get this fixed up.

2 The Tick

Posted: Thu Apr 12, 2007 5:03 pm
by plr
2 The_Tick:

Thank you for your answer.

You (as developer) don't need to understand format of the Mirandas dat-file, becouse it's so difficult. I know, that exists some addon to Export history (per each contact) into file (such as XML-format).


Addon (for example): http://addons.miranda-im.org/details.ph ... ile&id=254

--
with best regards
http://www.odnokasanie.ru

Re: Importing history from Miranda?

Posted: Mon Apr 28, 2008 5:50 pm
by Fantomas
hey,

i am a foreigner so i didnt understand the discussion quite well.

So, is it possible to import Miranda history to adium?

Thanks

Re: Importing history from Miranda?

Posted: Mon Apr 28, 2008 9:31 pm
by Dimmuxx
Yeah is this possible yet? I have like 6 years of history in miranda.

Re: Importing history from Miranda?

Posted: Sun May 04, 2008 9:40 am
by Fantomas
anyone? do you guys have any ideas? pleeeease

Re: Importing history from Miranda?

Posted: Sun Nov 02, 2008 1:05 pm
by bluestar
There doesn't seem to be a clear answer yet, so I'll just add my request.

I've noticed that adium can import from iChat and Fire, but there's no other method to import from either txt or xml, so the addon to export history from miranda is useless until adium can import from such files. Unless there's an adium addon atm that can do so? or perhaps via an import into iChat or Fire first?

I would very much like this, have been using miranda for years, but making the switch to mac next week

Re: Importing history from Miranda?

Posted: Fri Jan 09, 2009 4:24 pm
by YtseJam
Hi!
I too am switching to Mac (getting my Macbook next week!) and would love to import my Miranda history over to Adium.
I am surprised to see that it's been over three yeas with no change.

One of the ways to export history is via a History plug-in for Miranda-IM called History++ (http://addons.miranda-im.org/details.ph ... le&id=2995), this plug-in allows exporting user history to four formats: XML, TXT, RTF and HTML.

I'm not sure if it can export the entire IM history of all users into one big gigantic file, I do know it can do so on a per-contact basis, which I think is good enough...

It would be GREAT if Adium developers or other capable parties (although an official stance would be more than welcomed) could produce a script or add-on to help make the transition for us Miranda-IM users from Windows to Mac ever smoother.

We will be grateful. :)

This is the XML structure:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE IMHISTORY [
<!ELEMENT IMHISTORY (EVENT*)>
<!ELEMENT EVENT (CONTACT, FROM, TIME, DATE, PROTOCOL, ID?, TYPE, FILE?, URL?, MESSAGE?)>
<!ELEMENT CONTACT (#PCDATA)>
<!ELEMENT FROM (#PCDATA)>
<!ELEMENT TIME (#PCDATA)>
<!ELEMENT DATE (#PCDATA)>
<!ELEMENT PROTOCOL (#PCDATA)>
<!ELEMENT ID (#PCDATA)>
<!ELEMENT TYPE (#PCDATA)>
<!ELEMENT FILE (#PCDATA)>
<!ELEMENT URL (#PCDATA)>
<!ELEMENT MESSAGE (#PCDATA)>
<!ENTITY ME "YtseJam">
<!ENTITY MSG "Message">
<!ENTITY URL "Link">
<!ENTITY FILE "File transfer">
<!ENTITY SYS "System message">
<!ENTITY ICQCNT "Contacts">
<!ENTITY SMS "SMS message">
<!ENTITY ICQWP "Webpager message">
<!ENTITY ICQEX "EMail Express message">
<!ENTITY STATUSCNG "Status changes">
<!ENTITY SMTP "SMTP Simple Email">
<!ENTITY OTHER "Other events (unknown)">
<!ENTITY NICKCNG "Nick changes">
<!ENTITY AVACNG "Avatar changes">
<!ENTITY WATRACK "WATrack notify">
<!ENTITY STATUSMSGCHG "Status message changes">
<!ENTITY VCALL "Voice call">
<!ENTITY UNK "UNKNOWN">
]>
<IMHISTORY>
<EVENT>
	<CONTACT>Snoopa</CONTACT>
	<FROM>&ME;</FROM>
	<TIME>19:17:18</TIME>
	<DATE>2008-11-03</DATE>
	<PROTOCOL>MSN</PROTOCOL>
	<ID>idan16@bezeqint.net</ID>
	<TYPE>&MSG;</TYPE>
	<MESSAGE>blah blah blah blah</MESSAGE>
</EVENT>
<EVENT>
...
...
</EVENT>
...
...
</IMHISTORY>