From: thepurpleblob When the question is processed, the backslash is removed and is not saved in Moodle. It is possible to change the category into which the questions are added within the GIFT file.
+You can change the category as many times as you wish within the file. All questions after the modifier
+up to the next modifier or the end of the file will be added to the specified category. Up to the first
+category modifier the category specified on the import screen will be used. Note that for this to work
+the from file: box must be ticked on the import screen. To include a category modifier include a line like this:
+
+Specifying Categories
+
+
+$CATEGORY: tom/dick/harry
+
+
+or simply
+
+
+$CATEGORY: mycategory
+
+
+...the first example specifies a path of nested categories. In this cae the questions will go into harry. The
+categories are created if they do not exist.
Other Options:
Short Answer questions can be made case sensitive by changing "0" to "1" in the following line:
$question->usecase = 0; // Ignore case
Import Category
+ +The Category: drop-down is used to select the +category into which the imported questions +will go.
+ +Some import formats (GIFT and XML Format) permit the category +to be specified inside the import file. In order for this to +happen the from file box must be ticked. If it is not, +the questions will go into the selected category regardless +of any instructions in the file.
+ +When categories are specified inside an import file, if they +do not exist they will be created.