For the (rare?) users of Cloze/Embedded type of Quiz questions, I am pleased to announce that it is now possible to export/import question categories containing such Cloze questions.
MOODLE - New XML export/import functionality for Quiz Cloze-type questions
by Philippe Vignoles (and Joseph Rezeau) 28 MAY 2006.
There are 2 different versions: for all 1.5+ (including 1.5.4) versions and for 1.6 version.
NOTE.- The version for 1.6 includes support for Joseph Rézeau's regexp question type. More info here.
Rationale
Standard distributions of Moodle 1.5+ and 1.6 (beta) do NOT include support for exporting/importing Cloze/Embedded type questions. We are providing support for these questions (for the Moodle XML format only). All you have to do is to copy the relevant format.php file to overwrite the format.php file in your current Moodle installation. Please
note that this new functionality does not restrict export/import to Cloze-type questions; it will allow you to export/import question categories containing all types of questions, including Cloze-type questions.
Installation
FOR MOODLE 1.5+
Copy file \15\format.php to overwrite file \moodle\mod\quiz\format\xml\format.php.
FOR MOODLE 1.6
Copy file \16\format.php to overwrite file \moodle\question\format\xml\format.php.
IMPORTANT.- When exporting/importing question categories including Cloze type questions, always select "Moodle XML format" from the export/import File format dropdown list!
It would be helpful if as many Moodlers as possible would test this new functionality so that we could propose to make it part of a future Moodle distribution (maybe 1.7). Please report bugs, etc. in this thread or directly to Joseph Rézeau.
Joseph