Kpairs Theme Schema

Marco Calignano marco.calignano at web.de
Wed Aug 31 21:46:20 UTC 2011



On 08/31/2011 11:23 PM, Peter Hedlund wrote:
> On Aug 31, 2011, at 2:17 PM, Albert Astals Cid wrote:
>
>> A Dimecres, 31 d'agost de 2011, Peter Hedlund vàreu escriure:
>>> On Aug 31, 2011, at 1:56 PM, Marco Calignano wrote:
>>>> On 08/31/2011 10:29 PM, Peter Hedlund wrote:
>>>>> On Aug 31, 2011, at 1:11 PM, Bina Meusl wrote:
>>>>>> Hmmm ... there is a format called kvtml2 - not that it would make
>>>>>> sense to use that format? At least there would be only one …>>
>>>>> Yes, that's what I was wondering too. Is this new schema only for
>>>>> overall interface appearance or also for the actual data of the game
>>>>> task?
>>>>>
>>>>> If the second, what is lacking in kvtml that prevents you from using
>>>>> it? Maybe it would be better to extend the kvtml format if more tags
>>>>> are needed for the data. Text, image and sound are already supported,
>>>>> as well as well as tags for scoring. I see that you have included
>>>>> video, which would need to be added to kvtml.
>>>>>
>>>>> Thanks,
>>>>> Peter
>>>> I don't know kvtml maybe give me some indication or a link so i check it
>>>> out, please.
>>> It's the file format used by most kdeedu apps that handle some kind of
>>> vocabulary data, parley, kwordquiz, khangman, kanagram, and possibly more.
>>>
>>> https://projects.kde.org/projects/kde/kdeedu/libkdeedu/repository/revisions/
>>> master/show/keduvocdocument
>> I'm somehow worried about this one ring to rule them out, what's the point in
>> using the same file format in Pairs than in Kanagram? What is Kanagram going
>> to do with files meant for Pairs? Even if they are "technically" the same
>> format, they are probably "practically" incompatible so in my opinion it does
>> not really make much sense, but i am not implementing Pairs nor any of the
>> other programs so take my opinion with a grain of salt ;-)
>>
>> Albert
> Well, they would have a parser ready to use and can focus on other things like a slick interface.
>
> Also, in KWordQuiz you can currently do flashcards, multiple choice and Q&A. Somewhat similar in Parley. There is a wish list item to integrate a Hangman mode in KWQ and I have long thought that a memory/pairs mode would be of interest. All (potentially) possible because of a shared file format.
>
> So, no I would not say "practically" incompatible. But then again, I am also not going to write this new program.
>
> Thanks,
> Peter
>
Ok i read a bit the specific of the kvtml format and i don't think that 
could be applied to kpairs for the theme.
But of course I am no expert so I would like to see the same example in 
kvtml  so I can get convinced and use it.
Can anyone "translate" ( <- :) ) that to kvtml
Thanks
Marco

>>> Peter
>>>
>>>>>> On Wed, Aug 31, 2011 at 8:57 PM, Marco
>>>>>> Calignano<marco.calignano at web.de>   wrote: Hello everyone,
>>>>>>
>>>>>> 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:
>>>>>> 	•<?xml version="1.0"?>
>>>>>>>>>>>> 	•<pairs>
>>>>>> 	•<title>Zoo</title>
>>>>>> 	•<description>Little zoo</description>   <!--todo: we'll have to
>>>>>> 	figure out how to get this translated-->  •<author>Marco
>>>>>> 	Calignano</author>
>>>>>> 	•<date>21/03/2012</date>   <!-- can be useful for versioning?-->
>>>>>>>>>>>> 	•<!-- we can use the same semantics as in the elements -->
>>>>>> 	•<sound type='missed' src='missed.ogg' />
>>>>>> 	•<sound type='found' src='found.ogg' />
>>>>>> 	•<image type='back' src='zoo.svg' />
>>>>>>>>>>>> 	•<main type='image' />
>>>>>>>>>>>> 	•<!-- now come the list of the elements -->
>>>>>> 	•<element>
>>>>>> 	•<sound src='lion.ogg' />
>>>>>> 	•<video src='lion.ogv' />
>>>>>> 	•<image src='lion.svg' pref='1'/>
>>>>>> 	•<image src='baby_lion.svg' pref='2'/>
>>>>>> 	•<word lang='en'>lion</word>
>>>>>> 	•</element>
>>>>>> 	•</pairs>
>>>>>>
>>>>>> We wanted to open the discussion with everyone in the list.
>>>>>>
>>>>>> Greetings
>>>>>> Marco
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> kde-edu mailing list
>>>>>> kde-edu at mail.kde.org
>>>>>> https://mail.kde.org/mailman/listinfo/kde-edu
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> kde-edu mailing list
>>>>>> kde-edu at mail.kde.org
>>>>>> https://mail.kde.org/mailman/listinfo/kde-edu
>>>>> _______________________________________________
>>>>> kde-edu mailing list
>>>>> kde-edu at mail.kde.org
>>>>> https://mail.kde.org/mailman/listinfo/kde-edu
>>>> Marco
>>>> _______________________________________________
>>>> kde-edu mailing list
>>>> kde-edu at mail.kde.org
>>>> https://mail.kde.org/mailman/listinfo/kde-edu
>>> _______________________________________________
>>> kde-edu mailing list
>>> kde-edu at mail.kde.org
>>> https://mail.kde.org/mailman/listinfo/kde-edu
>> _______________________________________________
>> kde-edu mailing list
>> kde-edu at mail.kde.org
>> https://mail.kde.org/mailman/listinfo/kde-edu
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>


More information about the kde-edu mailing list