1 <h1>Exporting questions from a Category
</h1>
3 <p>This function allows you to export a complete category (and all its
4 subcategories) of questions to a text file.
</p>
6 <p>Please note that in many file formats some information is lost
7 when the questions are exported. This is because many formats do
8 not possess all the features that exist in Moodle questions. You should
9 not expect to export and import questions and for them to be
10 identical. Also some question types may not export at all.
11 You are advised to check exported data before using
12 it in a production environment.
</p>
14 <p>The format(s) currently supported are:
</p>
18 <p>GIFT is the most comprehensive import/export format available for exporting
19 Moodle quiz questions to a text file. It was designed to be an easy
20 method for teachers writing questions as a text file. It supports Multiple-Choice,
21 True-False, Short Answer, Matching and Numerical questions, as well as insertion
22 of a _____ for the
"missing word" format. Note that Cloze questions are not
23 currently supported. Various question-types can be
24 mixed in a single text file, and the format also supports line comments, question names,
25 feedback and percentage-weight grades. Below are some examples:
</p>
27 Who's buried in Grant's tomb?{~Grant ~Jefferson =no one}
29 Grant is {~buried =entombed ~living} in Grant's tomb.
31 Grant is buried in Grant's tomb.{FALSE}
33 Who's buried in Grant's tomb?{=no one =nobody}
35 When was Ulysses S. Grant born?{#
1822}
38 <p class=
"moreinfo"><a href=
"help.php?file=formatgift.html&module=quiz">More info about the
"GIFT" format
</a></p>
41 <h2>Moodle XML format
</h2>
43 <p>This Moodle specific format exports quiz questions in a simple XML format. They
44 can then be imported into another quiz category or used in some other process such as
45 an XSLT transformation. The XML format will export images attached to questions (encoded
51 <p>Exports in the standard IMS QTI (version
2.0) format. Note that this generates a group of files within
52 a single 'zip' file.
</p>
53 <p class=
"moreinfo"><a href=
"http://www.imsglobal.org/question/" target=
"_qti">More information on the IMS QTI site
</a>
54 (external site in new window)
</p>
59 <p>Exports the category as a single page of 'strict' XHTML. Each question is clearly placed in its own
60 <div
> tag. If you want to use this page as-is, you will need to at least edit the
<form
> tag at the
61 start of the
<body
> section to provide a suitable action (eg, a 'mailto').
</p>
64 <p>Import and Export formats are a pluggable resource. Other optional formats may be available in the
65 Modules and Plugins database.
</p>