When writing a quiz using GIFT what is the best way of specifying the path to the files that the quiz references?
1) Is it better to use the "localhost" annotation
or the absolute address annotation
http://mydomain.com/moodle/file.php/3/filename
I would rather use the former if it is okay, since I will be importing the GIFT to more than one site.
2) I heard a rumour (that I have repeated on these forums) that the "=" in the <a href="...>click</a> needs to be escaped using "\=" but a GIFT export does not include that escape character. I have also heard a rumour that the lack of escape characters in GIFT exports may be a GIFT export problem. I seem to have been able to import GIFT's without the escape characters but I am wondering if the lack of escape characters before the
3) Lets say I am writing GIFT using an editor and I am planning to upload to more than one course. That means I do not know which course id to put into the URL (e.g. 3 in the example below)
*
Do I have to change the 3 to the id of each course that I upload to?
Where are the files kept if they are used by multiple courses (if the category is made public)?
Is there a way of specificing "coursefiles" in the url e.g.
or
coursefiles/filename.mp3
Is it better to put the files in the site files?
Or perhaps off site somewhere?
Tim