Is this right? or is the documentation out of date, or what... any advice appreciated.
In creating the GIFT format and filter, I wrote it so that each feedback is associated with one answer. But with TRUE/FALSE questions, you only write one answer (the correct one). So there's space for only one feedback. We would need to make some changes in the format (plus editing the code) to accomodate two seperate feedbacks for T/F questions.
If you have any ideas, please let us know.
I don't know if you noticed, but I just added a framework to enable export of quizzes. The only format so far complete is GIFT format - I just noticed this along the way and its difficult to think of a backward compatible fix for this (well for me anyway )
The current format for feedback with T/F questions is
Grant is buried in Grant's tomb.{FALSE#wrong answer feedback}
Do you have any ideas for how we can adapt the format to include two feedbacks? How's this:
Grant is buried in Grant's tomb.{FALSE#wrong answer feedback#right answer feedback}
Well, I can't think of anything better for the true/false feedback, so lets go with that!
While we are here, what about adding in 'Cloze' questions and 'Description' questions, then all types would be covered?
Dear Howard Miller,
Wonderful! I have been waiting for the ability to export quizes. I make mistakes. I change the texts on which they are based. I edit them online. And then my GIFT files need editing too. Now I can just export them.
This is in in the CVS I presume.
Tim
Yes - its in CVS. I haven't done a huge amount of testing so far. I would appreciate somebody having a look and pass on any comments.
I have currently only attempted GIFT, which isn't particularly difficult. I am doing some research into QTI format too. I was coming to the conclusion that it is far too complex (ie, *nobody* actually understands it), but I spoke to somebody just yesterday who uses for real, so there might be some progress.
I also have an idea to put together a Moodle specific XML import/export format (ie, I just invent the DTD). I intend to start work on that next. My thinking is that firstly it will comprehensively cover all Moodle question types and secondly you can always write some XSLT to convert to some other format.
Thanks Howard,
I am not sure when this will be but I will try and get testing.
I seem to be so tired that I am getting more tired and behind with my work.
But this is a feature that I have wanted for some time.
There is a guy here at my place that created a xml set for moodle/gift because it was easier to integrate into a database, and as a half-way house when converting between the format that one of our teachers used on his quizzes and GIFT. Here an example file, but it contains Japanese.
Here is a translation of the format the is using.
<problem id="question ID" type="Question type" answer="answer"> <group name="Group Name" name2="2nd Level Group Name" name3="3rd Level Group Name" /> <comment> Comment </comment> <text> Test text Test text </text> </problem> <problem id="Question ID" type="selection"> <group ... /> <text> Question text <answer eval="correct"> multiple choice answer </answer> <answer eval="wrong"> multiple choice answer </answer> Question Text
</text> </problem> <problem id="question ID" type="yes-no"> <group ... /> <text> Question Type </text> </problem>
Tim