[Kolab-devel] Declaring a new folder type and format for Horde preferences

Thomas Jarosch thomas.jarosch at intra2net.com
Thu Mar 13 09:31:39 CET 2008


Hello Gunnar,

On Thursday, 13. March 2008 08:36:12 Gunnar Wrobel wrote:
> <?xml version=3D"1.0"?>
> <prefs version=3D"1.0">
>   <uid>7bba75ca0aa90a23f9e099c4b1a4407d</uid>
>   <body></body>
>   <categories>mnemo</categories>
>   <creation-date>2008-03-04T13:23:14Z</creation-date>
>   <last-modification-date>2008-03-04T13:23:14Z</last-modification-date>
>   <sensitivity>public</sensitivity>
>   <product-id>Horde::Kolab</product-id>
>   <prefs>show_notepad:MA=3D=3D</prefs>
>   <prefs>show_panel:MQ=3D=3D</prefs>
>   <prefs>sortby:MA=3D=3D</prefs>
>   <prefs>sortdir:MA=3D=3D</prefs>
>   <prefs>memo_categories:</prefs>
>   <prefs>memo_colors:</prefs>
>  
> <prefs>display_notepads:YToxOntpOjA7czoyMDoid3JvYmVsQGRldi5wYXJkdXMuZGUiO3=
> 0=3D</prefs>
>   <prefs>delete_opt:MQ=3D=3D</prefs>
> </prefs>

The IMAP prefs driver is great news! Will try it next week once
I've finished my -secret project- for Kolab ;-)

Might I suggest a little change in the format: The root node is called <prefs> 
and the childs are called <prefs>, too. We might run into trouble
if we want to specify f.e. attributes in a DTD. IMHO it would be better if the 
child nodes are called <pref> like this:

<prefs>
    <pref>memo_categories:</pref>
    <pref>memo_colors:</pref>
</prefs>

What do you think?

Cheers,
Thomas




More information about the devel mailing list