MOODLE - New XML export/import functionality for Quiz Cloze-type questions by Philippe Vignoles (and Joseph Rezeau) 28 MAY 2006.
ATTACHED FILE cloze_format.zip
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.
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
\moodle\ means the folder where your moodle installation is.
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!