Kpairs Theme Schema

Albert Astals Cid aacid at kde.org
Wed Aug 31 20:12:13 UTC 2011


A Dimecres, 31 d'agost de 2011, Marco Calignano vàreu escriure:
> Hello everyone,

Hi

> Aleix and I discussed a bit the scheme for a theme in kpairs (the new
> name of kmemory due to trademark problem).
> The suggestion is the following:
> 
> 
>  1.
>     <?xml version="1.0"?>
>  2.
>  3.
>     <pairs>
>  4.
>     <title>Zoo</title>
>  5.
>     <description>Little zoo</description> <!--todo: we'll have to figure
>     out how to get this translated-->
>  6.
>     <author>Marco Calignano</author>
>  7.
>     <date>21/03/2012</date> <!-- can be useful for versioning?-->
I suggest using  ISO 8601 for the dates.

> 8.
>  9.
>     <!-- we can use the same semantics as in the elements -->
> 10.
>     <sound type='missed' src='missed.ogg' />
> 11.
>     <sound type='found' src='found.ogg' />
> 12.
>     <image type='back' src='zoo.svg' />
> 13.
> 14.
>     <main type='image' />
What does the main tag mean? what are the acceptable values of type?

> 15.
> 16.
>     <!-- now come the list of the elements -->
> 17.
>     <element>
> 18.
>     <sound src='lion.ogg' />
> 19.
>     <video src='lion.ogv' />
> 20.
>     <image src='lion.svg' pref='1'/>
> 21.
>     <image src='baby_lion.svg' pref='2'/>
What does pref mean here?

> 22.
>     <word lang='en'>lion</word>
> 23.
>     </element>
> 24.
>     </pairs>

Albert


More information about the kde-edu mailing list