Project

General

Profile

Bug #6868

Question exportation / numerous tag missing xml file

Added by serge bayol over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Exercises
Target version:
Start date:
13/12/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Challenging
SCRUM pts - complexity:
?

Description

The exercices exportation tool ignore some tags like the images and some type of answers. The XML file produced is not complete.
i'm looking for some helps debugging this functionnality which can be very usefull.


Files

qti2export_3.xml (2.47 KB) qti2export_3.xml serge bayol, 13/12/2013 16:24
testFile.zip (1.3 KB) testFile.zip serge bayol, 23/12/2013 10:09

History

#1

Updated by Yannick Warnier over 5 years ago

Hi Serge,

Could you post here an example of exercise (you can export it with the course export feature selecting only the exercise component) and the resulting XML + the XML you would expect?

The code for XML export in IMS/QTI2 of exercises is available in the main/exercice/expot/qti2/ folder in your Chamilo installation. The reason why images are not exported at the moment (I guess) is because the images themselves cannot be stored in the XML without using base64 strategies or something like that. Any suggestion on how we should do it (based on something written in the standard) would help make it better.

#2

Updated by serge bayol over 5 years ago

Hi Yannick,
First thanks for answering. In fact i'm facing a problem of importing lots of exercises from simple choice to multiple choice from quiz manager which export an xml document. In this xml file the image path is written in the <choiceInteraction .. image="pathToTheImage.jpg> tag. I also found there is some problems with questions appariment which is not well export as well. this exercice is avalaible in beeznest.com with the name benoit test. This exercice exportation give the xml file join. there is no tag for the image path and the appariment tags are empty.

I'm already looking in the folder you gave me and i try to look at the solution but i'm new to Chamilo and i'm still lost in the working class !
I understand the transfer of the images is a real problem but maybe can we simply transfer the to the appropriate folder, time to check a more user friendly solution using base64 encoding.
Thanks a lot for your response.
Serge

#3

Updated by serge bayol over 5 years ago

Bonjour Yannick,
Voila un exemple de fichier xml issu d'une question à choix unique de quizmanger. J'arrive maintanant à récupérer le path de l'image, mettre à jour la BDD de chamillo avec cette info => c_quiz_question => description
Serge

#4

Updated by Yannick Warnier over 5 years ago

  • Target version changed from 1.9.8 to 2.0

This task has to move to 1.10. It is a high weight task, so not easy to include. Sorry.

Also available in: Atom PDF