I've been taking a look at the logs Adium writes in order to see how to convert my Gaim logs to Adium ones; however, I was wondering a couple of things.
First, do the first three bytes mean anything? I was taking a look at one log, and it starts with three bytes (EF BB BF) before beginning the log itself. If they do, what do they mean?
Secondly, does Adium read inside the logs? In other words, do I need to change the name formatting (with capitals, as Gaim writes) and time formatting (24-hour) to Adium's formatting, or can I safely leave it as it is? As well, I saw a thread a few weeks ago about Adium always writing in 12-hour time - has that been resolved and can Adium write 24-hour time?
Thank you for reading, and I appreciate any answers you may be able to give!
~ Vlčice
Adium log format
We already have a gaim log importer in the SVN repository. Why reinvent the wheel? (does it not work?)
Try my software!
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Still a good starting point most likely 
Try my software!
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
How to convert
I've worked out a couple of quickie grep find/replace strings for use in the free TextWrangler from bare bones. Open up the find/replace dialog box, choose multi-file search (make sure the recursive option is checked in the options button), drag in your gaim logs, make sure the "use grep" button is checked, and run the following 4 find/replace strings:
find 1: replace 1:
find 2:replace 2:
find 3:replace 3:
find 4:replace 4:
find 5:replace 5:
find 6:replace 6:
find 7:replace 5:
hope this helps! it worked great with me
http://trac.adiumx.com/browser/trunk/Ut ... m2adium.pl
EDIT: heh heh this thread was in January '05, not '06. I hope someone finds it useful eventually though...
find 1:
Code: Select all
<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>.*</title></head><body>Code: Select all
<!-- gaim log export -->\rCode: Select all
\r</body></html>Code: Select all
\r<!-- end gaim log export -->\rCode: Select all
<font color="#16569E"><font size="2">(.*)</font> <b>(.*)</b></font> <font sml="AIM/ICQ">(.*)</font><br/>\rCode: Select all
<div class="send"><span class="timestamp">\1</span> <span class="sender">\2</span><pre class="message">\3</pre></div>\rCode: Select all
<font color="#A82F2F"><font size="2">(.*)</font> <b>(.*)</b></font> <font sml="AIM/ICQ"><html><span style='background: #ffffff;'>(.*)</span></span></html></font><br/>\rCode: Select all
<div class="receive"><span class="timestamp">\1</span> <span class="sender">\2</span><pre class="message">\3</pre></div>\rCode: Select all
<font color="#A82F2F"><font size="2">(.*)</font> <b>(.*)</b></font> <html><span style='font-family: Arial><FONT; font-size: x-small; '><span style='font-size: x-small; '><body>(.*)</body></span></span></html><br/>\rCode: Select all
<div class="receive"><span class="timestamp">\1</span> <span class="sender">\2</span><pre class="message">\3</pre></div>\rCode: Select all
<font color="#16569E"><font size="2">(.*)</font> <b>(.*)</b></font> <span style='font-size: small; '>(.*)</span><br/>\rCode: Select all
<div class="send"><span class="timestamp">\1</span> <span class="sender">\2</span><pre class="message">\3</pre></div>\rCode: Select all
<font color="#A82F2F"><font size="2">(.*)</font> <b>(.*)</b></font> <html><span style='background: #ffffff;'>(.*)</span></span></html><br/>\rCode: Select all
<div class="receive"><span class="timestamp">\1</span> <span class="sender">\2</span><pre class="message">\3</pre></div>\rhttp://trac.adiumx.com/browser/trunk/Ut ... m2adium.pl
EDIT: heh heh this thread was in January '05, not '06. I hope someone finds it useful eventually though...