[Adium-devl] [Adium-feedback] Saved Log Files

Andreas Monitzer soc at monitzer.com
Wed Feb 14 05:40:22 UTC 2007


On Feb 14, 2007, at 06:25, Evan Schoenberg wrote:

> On Feb 13, 2007, at 10:39 PM, Peter Hosey wrote:
>
>> And has anybody created a XSLT style-sheet that this user could use?
>
> This isn't the first (or the last, I'm sure) user to ask (usually  
> without knowing what one is) about a transform for the XML logs.   
> It'd be nice to have one available as part of the unified logging  
> format, actually.  Any takers? :)

I'm working on it right now, actually. However, there is one broken  
and one incomplete spec on it, plus Adium's implementation is broken,  
so don't expect anything useful...

broken spec: http://soc.hbar.us/XMLLogFormat-0.4-02.html
* four different ways to show the sender name -> way too complicated
* HTML tags in attributes -> WTF
That can't be handled by plain XSLT.

incomplete spec: http://trac.adiumx.com/wiki/XMLLogFormat
* Doesn't mention formatting in message content.

broken implementation: http://www.adiumx.com
* Messages contain html-like formatting in messages, but those tags  
aren't neither in the xhtml namespace, nor are they escaped.
I'd have to convert every tag of the html-like formatting there to  
real xhtml in my xslt. I don't know if xslt is able to handle that  
(or any other automated processing).

andy





More information about the devel mailing list