mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 12:03:12 +01:00
66 lines
2.6 KiB
HTML
66 lines
2.6 KiB
HTML
<p align="center"><b>Exporting questions from a Category</b></p>
|
|
|
|
<p>This function allows you to export a complete category of questions to
|
|
a text file. </p>
|
|
|
|
<p>Please note that in many file formats some information is lost
|
|
when the questions are exported. This is because many formats do
|
|
not possess all the features that exist in Moodle questions. You should
|
|
not expect to export and import questions and for them to be
|
|
identical. Also some question types may not export at all.
|
|
You are advised to check exported data before using
|
|
it in a production environment.</p>
|
|
|
|
<p>The format(s) currently supported are:</p>
|
|
|
|
<p><b>GIFT format</b></p>
|
|
<ul>
|
|
<p>GIFT is the most comprehensive import/export format available for exporting
|
|
Moodle quiz questions to a text file. It was designed to be an easy
|
|
method for teachers writing questions as a text file. It supports Multiple-Choice,
|
|
True-False, Short Answer, Matching and Numerical questions, as well as insertion
|
|
of a _____ for the "missing word" format. Note that Cloze questions are not
|
|
currently supported. Various question-types can be
|
|
mixed in a single text file, and the format also supports line comments, question names,
|
|
feedback and percentage-weight grades. Below are some examples:</p>
|
|
<pre>
|
|
Who's buried in Grant's tomb?{~Grant ~Jefferson =no one}
|
|
|
|
Grant is {~buried =entombed ~living} in Grant's tomb.
|
|
|
|
Grant is buried in Grant's tomb.{FALSE}
|
|
|
|
Who's buried in Grant's tomb?{=no one =nobody}
|
|
|
|
When was Ulysses S. Grant born?{#1822}
|
|
</pre>
|
|
|
|
<p align="right"><a href="help.php?file=formatgift.html&module=quiz">More info about the "GIFT" format</a></p>
|
|
</ul>
|
|
|
|
|
|
<p><b>Moodle XML format</b></p>
|
|
<ul>
|
|
<p>This Moodle specific format exports quiz questions in a simple XML format. They
|
|
can then be imported into another quiz category or used in some other process such as
|
|
an XSLT transformation</p>
|
|
</ul>
|
|
|
|
<p><b>IMS QTI</b></p>
|
|
<ul>
|
|
<p>Exports in the standard IMS QTI format. Note that this generates a group of files within
|
|
a single 'zip' file.</p>
|
|
<p align="right"><a href="http://www.imsglobal.org/question/" target="_qti">More information on the IMS QTI site</a>
|
|
(external site in new window)</p>
|
|
</ul>
|
|
|
|
<p><b>XHTML</b></p>
|
|
<ul>
|
|
<p>Exports the category as a single page of 'strict' XHTML. Each question is clearly placed in its own
|
|
<div> tag. If you want to use this page as-is, you will need to at least edit the <form> tag at the
|
|
start of the <body> section to provide a suitable action (eg, a 'mailto').</p>
|
|
</ul>
|
|
|
|
<p>More formats are yet to come, including WebCT and whatever else
|
|
Moodle users can contribute! </p>
|