#445 XML session logging

Fire 2.0 blocker
closed
Graham Booker
5
2004-10-25
2003-03-29
No

Fire now stores sessions as pseudo-HTML files:

<FONT FACE="Lucida Grande" COLOR="#ff0000"
BACK="#ffffff"><B> alex: </B></FONT><FONT FACE="Helvetica"
COLOR="#000000" ABSZ="12">Hello world</FONT><BR>

I'd love to have it store sessions using XML syntax:

<message>
<buddy>alex</buddy>
<text>Hello world</text>
</message>

Discussion

  • Jason Townsend
    Jason Townsend
    2003-04-24

    Logged In: YES
    user_id=457177

    What would this change accomplish?

    It seems to me that we already need our HTML/AIML parsing
    and generation code to be good, and using XML would only add
    bloat to Fire since we would have to add an XML parser.

     
  • Logged In: YES
    user_id=586226

    I just don't like that pseudo-HTML format; I think it's not correct to store all
    those information along with the log (font, size, colors...).
    If you don't want to add an XML parser (I thought you already have, since
    Jabber and .plist files are both XML-based) you could use a pseudo-XML
    format like this:
    <buddy>alex</buddy><text>Hello world</text>\n
    so that you can parse and render it very easily.

     
  • Jason Townsend
    Jason Townsend
    2003-04-24

    Logged In: YES
    user_id=457177

    What we have now was specifically intended to have the same
    formatting, URLs etc. as when it was displayed in the chat
    window to begin with.

    It's true there's an XML parser in the OS for plists, but
    that is not a general parser so would not parse the example
    you show above.

    Jabber has a parser as well but that is not general either I
    don't believe.

    I believe to satisfy this request would mean adding XML
    generation and parsing code. I'll leave this open for now...
    I believe there was also a request to store the old
    unformatted logs like we did before 0.32.a.

     
  • Jason Townsend
    Jason Townsend
    2004-03-27

    • milestone: --> 142756
     
  • Jason Townsend
    Jason Townsend
    2004-03-27

    • assigned_to: nobody --> gbooker
     
  • Jason Townsend
    Jason Townsend
    2004-03-27

    Logged In: YES
    user_id=457177

    Graham is working on something along these lines.

     
  • Graham Booker
    Graham Booker
    2004-03-30

    Logged In: YES
    user_id=508684

    See this thread on the fire-development mailing list:

    http://sourceforge.net/mailarchive/forum.php?
    thread_id=4110779&forum_id=9790

    I have suggested a format there. It still keeps the formatting, but I think
    that is the way it should be.

     
  • Logged In: YES
    user_id=586226

    I can't open your link ("error").

     
  • Graham Booker
    Graham Booker
    2004-03-30

    Logged In: YES
    user_id=508684

    The link is two lines long, and will only work when SF isn't down for
    maintainance. Try it again; it does work.

     
  • Jason Townsend
    Jason Townsend
    2004-10-25

    Logged In: YES
    user_id=457177

    This is implemented for Fire 1.1. We are using XML syntax, and also
    store
    the formatting.

     
  • Jason Townsend
    Jason Townsend
    2004-10-25

    • milestone: 142756 --> Fire 2.0 blocker
    • status: open --> closed