[Kss-devel] Java implementation KSS
Jeroen Vloothuis
jeroen.vloothuis at xs4all.nl
Tue Dec 18 22:26:28 CET 2007
Godefroid Chapelle wrote:
> Duco Dokter wrote:
>
>> I'll most probably be starting on a Java implementation of KSS shortly.
>>
>
> That would be great !!
>
Good stuff indeed :-)
>
>> Is there any documenation whatsoever already on non-Plone implementations? Can't
>> find any, really...
>>
>
> Well, documentation about what is needed for server-side support is missing.
>
There is however a pure Python version. This might be easier to use as a
reference point since it has less Zope specific stuff. You can find it at:
http://codespeak.net/svn/kukit/kss.base/trunk/
> kukit.js
>
> You should be able to produce it by using a tool.
> (Laurent, can you recall us how to do it ? )
>
If you install kss.base you will get a kssconcatjs commandline utility.
> * setup a link for your kinetic stylesheet
>
> <link rel="kinetic-stylesheet" type="text/css"
> href="commands.kss" />
>
Should this not be; type="text/kss"?
> The server-side actions need to produce xml payload similar to the
> following :
>
> <kukit xmlns="http://www.kukit.org/commands/1.1">
> <commands>
> <command selector="div#copy" name="copyChildNodesTo"
> selectorType="">
> <param name="html_id">demo</param>
> </command>
> <command selector="div#copy" name="clearChildNodes"
> selectorType="">
> </command>
> </commands>
> </kukit>
I will write up a small text explaining the current protocol since we
need this anyway.
More information about the Kss-devel
mailing list