Skip to content

Site Usage

S0Ale edited this page Jan 28, 2025 · 6 revisions

Here's the link to the Live Demo. Below you can find a brief tutorial about the tool.

Usage

Input

To generate your questions, you need two files:

  • a template question, written with the Moodle XML format (you can write the question from scratch, or write it in Moodle an then export it. Make sure not to check the "Write category to file" option before exporting your question.)
  • a CSV file.

The template question must contain parameters. There are different type of parameters:

Type Format
Basic parameter (string) [*[[parameter]]*]
Dowloadable file parameter (MS Word, Excel...) [*[[FILE-parameter]]*]
Image parameter [*[[IMAGE-parameter]]*]

The CSV file must contain the values for the parameters. The first row of the CSV file must contain the name of the parameters.

Example

XML template:

CSV file:

State Capital
Italy Rome
France Paris
Spain Madrid

File-type parameters

To use parameters in the format [*[[IMAGE-parameter]]*], ensure that the uploaded file names exactly match the values of their corresponding parameter names.

Example

If the parameter is [*[[IMAGE-number]]*], and the CSV file looks like this:

State IMAGE-number Capital
Italy Image1.png Rome
France Image2.png Paris
Spain Image3.png Madrid

Then we need to upload 3 files with the names Image1.png, Image2.png and Image3.png.


You can find more information about the two files at the Tutorial page of the demo.

If you need to test the output of the tool, you can use the Moodle Sandbox and try to import your questions.

Clone this wiki locally