Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41

Thread: Porting ICQ 6 logs to Pidgin.

  1. #21
    yu210148 NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    Ugg (again). Okay, could you post a sample from the ICQ log?


    --
    yu210148
    ------------------------------------------------------------------------
    yu210148's Profile: http://forums.opensuse.org/member.php?userid=19157
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  2. #22
    Purpur NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    What do you mean with "example"? Pidgin obviously stores messages in
    *.html-files.
    Inside a file you will find only text (e.g. the following):

    Code:
    --------------------
    <html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Conversation with 654321 at Fr 16 Jan 2009 19:43:55 CET on 123456 (icq)</title></head><body><h3>Conversation with 654321 at Fr 16 Jan 2009 19:43:55 CET on 123456 (icq)</h3>
    <font color="#16569E"><font size="2">(19:44:00)</font> <b>123456:</b></font> moin. ^^<br/>
    </body></html>
    --------------------


    In basic terms if you open that file via your browser it just shows:


    Code:
    --------------------
    Conversation with 654321 at Fr 16 Jan 2009 19:43:55 CET on 123456 (icq)
    (19:44:00) 123456: moin. ^^
    --------------------


    Whoa... and imagine porting all the small pieces of conversation into
    html and saving the bits with appropriate date and time as well as a
    separate folder for its corresponding icq number.
    You know what's really weird? The guys over there at pidgin irc told me
    today that NOONE ever thought about porting icq messages. I mean...
    c'mon - ICQ once was the worlds most used IM-client.

    ___
    TM


    --
    Purpur
    ------------------------------------------------------------------------
    Purpur's Profile: http://forums.opensuse.org/member.php?userid=20078
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  3. #23
    yu210148 NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    True, if we end up with something that works the pidgin people may be
    interested in it.

    Um by example I mean the layout of the html file that pidgin's using.

    If the icq number and date/time is in the original log (the one that
    was cut and pasted from the log viewer) from icq then we should be able
    to use that in the file name for our converted pidgin log output.


    --
    yu210148
    ------------------------------------------------------------------------
    yu210148's Profile: http://forums.opensuse.org/member.php?userid=19157
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  4. #24
    Purpur NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    Right. The date and time are just the same from the original file. Um...
    I'm not sure if pidgin will write into that same file, or if it makes a
    new one for every conversation.

    Wait I'll try.


    --
    Purpur
    ------------------------------------------------------------------------
    Purpur's Profile: http://forums.opensuse.org/member.php?userid=20078
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  5. #25
    Purpur NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    *//CONFIRMED. NEW FILE.*


    --
    Purpur
    ------------------------------------------------------------------------
    Purpur's Profile: http://forums.opensuse.org/member.php?userid=20078
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  6. #26
    yu210148 NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    With yahooIM pidgin writes a log file for each user that I've had an IM
    conversation with then appends further conversations with that user to
    that file. But don't know if it handles ICQ the same way.


    --
    yu210148
    ------------------------------------------------------------------------
    yu210148's Profile: http://forums.opensuse.org/member.php?userid=19157
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  7. #27
    Purpur NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    Looks like I've messed up some things in my above posts. To clarify
    things:
    Messages are stored in
    ~.purple/logs/icq/*[my-own-number]*/*[contact-number]*/all-messages-with-contact.html
    ---> ALL MESSAGES IN ONE FILE FOR THAT CONTACT.

    (where the 'all-messages-with-contact.html has a format of
    yyyy-mm-dd.*194317+0100CET*.html) ---> I'm not quite sure what the red
    marked areas represent though... and it seems like the filename is
    created upon date-day-and-time of first contact with someone.

    -Hold your head up high!-

    TM.


    --
    Purpur
    ------------------------------------------------------------------------
    Purpur's Profile: http://forums.opensuse.org/member.php?userid=20078
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  8. #28
    yu210148 NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    Looks like the red marked areas are a timestamp of some kind as
    "+0100CET" seems to be a timezone offset and that would fit with the
    file name convention that I'm seeing in my yahooIM logs for pidgin.

    For example, I've got a directory called
    ~/.purple/logs/yahoo/yu210148/jimvoz and in that directory I've got:

    2008-12-11.144416-0500EST.txt 2009-01-09.115322-0500EST.txt
    2008-12-11.153853-0500EST.txt 2009-01-09.125220-0500EST.txt
    2008-12-17.094606-0500EST.txt 2009-01-09.143414-0500EST.txt


    Seeing as I'm in the eastern time zone the =-0500EST makes sense.


    Yes, just checked, if I do cat 2009-01-09.143414-0500EST.txt here I
    get:

    Conversation with jimvoz at Fri 09 Jan 2009 14:34:14 EST on yu210148
    (yahoo)
    (14:34:22) Jim Voz: Ready when you are
    (14:37:03) Kevin: okay one sec


    so the '143414' in the file name would correspond to the time that the
    conversation was initiated--in this case 14:34:14.

    Now, correct me if I'm wrong but I'm understanding that we've got the
    old ICQ log in one big text file right? With the all the user's ICQ
    conversations.

    If that's the case, do we have the user that they were talking to as a
    field in the old log? If so, we can start splitting the old log out
    based on that.

    Say for example, the log has several conversations with someone with
    the ICQ number 66115544. We can use the command:

    cat old_icq_log.txt | grep 66115544 > conversations_with_66115544.txt

    Where old_icq_log.txt is that file we copied and pasted from the ICQ
    log reader earlier.

    What's happening in the command is we're using the cat command to
    display the contents of the text file then piping (|) the output to grep
    which is searching for lines that have 66115544 in them and finally
    outputting the results to a new file with "> filename.txt"


    --
    yu210148
    ------------------------------------------------------------------------
    yu210148's Profile: http://forums.opensuse.org/member.php?userid=19157
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  9. #29
    TheMask NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    I forgot one more thing: In Pidgin, users have the choice to log
    messages in HTML (obviously default) or plain text format.

    Darn. I'd love to help you creating a plugin or some kind of converter
    - if I only would know how...


    --
    TheMask
    ------------------------------------------------------------------------
    TheMask's Profile: http://forums.opensuse.org/member.php?userid=20078
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


  10. #30
    yu210148 NNTP User

    Default Re: Porting ICQ 6 logs to Pidgin.


    Not a problem, there's lots of stuff I don't know. For example, I
    don't know enough about the inner workings of pidgin to do a plug in but
    some kind of converter may be a possibility.

    Am I right about the original log from ICQ now being in one big text
    file?


    --
    yu210148
    ------------------------------------------------------------------------
    yu210148's Profile: http://forums.opensuse.org/member.php?userid=19157
    View this thread: http://forums.opensuse.org/showthread.php?t=405081


Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •