[Adium-devl] [kopete-devel] Kopete Message styles and Adium

Colin Barrett timber at lava.net
Sat Sep 2 04:48:02 UTC 2006


On Sep 1, 2006, at 2:08 PM, Michaël Larouche wrote:

> Sure, we did spoked one day to try to standardise the format between  
> the
> Kopete, Adium and Google Talk team but it never took off. We are  
> open to
> discussion on this matter.

I wasn't aware they used a format similar to ours (shows how much I  
know :D)—anyone know who to forward this discussion to so it reaches  
them? I'd like to get this ball rolling. I know Skype and I think  
Gizmo also use a similar format. Once things are a little further we  
may want to pull them into the discussion as well.

> We created Action template to matcht the action template we were  
> using for
> action messages in IRC.

Cool—we currently do processing on action messages similar to Gaim  
(converting /me smiles to *smiles*). I would be up for doing things  
your way in a post-1.0 verison.
>
> Currently for the history viewer, we translate our XML format into a
> Kopete::Message object and we show in a HTML page. XSLT processing  
> is slow
> and costly. We should compare the both way to see which one is  
> faster and
> conclule if we should try to join the ULF logging format and the  
> message view
> style format.

Perhaps a SAX parsing of the XML, and then have the SAX event handlers  
insert the templates into the documents? That sounds like a straight- 
forward way to me.

Something else I'd like to bring up is microformats. They're  
attempting to create a standard format for HTML snippets of things  
like contact information (vCards), calendars (iCalendar), but they're  
using XHTML so it's easily displayable on the web, but yet parsable by  
a machine as well. They're starting one called hChat[1][2]. I don't  
think we should abandon ULF—raw log files are not generally meant to  
be read by a human. But it would be neat if we could support, say,  
copy paste out of the log viewer into hChat format, and possibly  
accept incoming pastes in hChat format.

Not really related or actionable, but it's just something to keep an  
eye on.

-Colin

[1] http://microformats.org/wiki/chat-brainstorming
[2] http://microformats.org/wiki/chat-examples



More information about the devel mailing list