On Jun 19, 2009, at 3:28 PM, Stephen Kelly wrote: > Hi, > > Matt Rogers emailed me wondering about how Grantlee relates to > Kopete. I really should have talked to you guys about it before, but > it was all just ideas stage until recently. > > Grantlee is a string templating system which uses the syntax and > design of the Django template system. It is designed to keep the > data being presented separate from the way it is presented. > > http://www.grantlee.org > > One thing that this should make easier is theming for applications, > taking the structure and appearance of exported data out of the > hands of application developers and into the hands of artists and > users. I'll probably be porting KMail, KJots and other KDE PIM > applications to it in the next few months. > > I noticed a while ago that Kopete has it's own theming system, and > made a note that it's something that can probably be replaced by > Grantlee if you guys want that (and not if you don't). The way it > would work would probably be similar to the way the dbus-chat > example in the git repo works. > > http://www.grantlee.org/apidox/examples.html > > To try it out, clone and build grantlee. > > git clone git://gitorious.org/grantlee/grantlee.git > cd grantlee && cmakekde > > then build the example > > cd examples/dbus-chat > mkdir build > cmake .. > make > ./dbus-chat (multiple times) > > I realise that the 'theme' names are hardcoded. That's just my lack > of time to make it better. Hopefully you can see that it would be > easy to write additional themes for it. > > If you're interested, Kopete could be ported to this system after > Grantlee v0.1 is released. > > Any thoughts? > > Steve.
The chat window themes are based on themes created for the Adium IM client (www.adiumx.com) and it is becoming sort of the de facto standard for instant messengers that have customizable chat windows. Would it be possible to implement those themes, keeping the syntax, and using Grantlee as the backend, so to speak? We're currently using the KHTML DOM API to manipulate all that stuff. Might be nice if we could clean that up a little bit. :) Thanks for the info! -- Matt _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel