Importing HotPot questions in Moodle 2.0

Re: Importing HotPot questions with images in Moodle 2.0

by Gordon Bateson -
Number of replies: 3
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Francois,
it is difficult to import images and audio in the question bank, because historically a single question in the question bank could only have one image associated with it. I have not tried importing multimedia questions recently though, so maybe things have changed.

Are you able to create a question with an image or audio when you create the question through the normal Moodle question-bank interface?

regards
Gordon

In reply to Gordon Bateson

Re: Importing HotPot questions with images in Moodle 2.0

by Asim Sheeraz -

Hi Gordon

I am having difficulty importing Hotpot xml file with images to a moodle question bank. Considering it's been a year since your last message here, I was wondering if anything has changed.


Regards

Asim

In reply to Asim Sheeraz

Re: Importing HotPot questions with images in Moodle 2.0

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi Asim

nothing's changed - as far as I can remember wink

Could you you upload a copy of your HotPot file and images with your next post to this forum, so that I have something to test on if and when I find time to investigate this issue?

thanks
Gordon 

Average of ratings: Useful (1)
In reply to Gordon Bateson

Re: Importing HotPot questions with images in Moodle 2.0

by Asim Sheeraz -

Thanks for the quick response. I am attaching it with this post, since I am currently testing this as a way of bulk importing questions to moodle there are only 3 questions in that file.

I managed to get it working under HotPot activity like many have suggested here (upload the entire zip file and then unzip). However, it doesn't seem to be possible with the moodle's question bank import function. I like the Moodle's Quiz module better.

In the meanwhile I found a workaround, here's what I did.

  • Created the quiz with images present in the local folder.
  • Uploaded the folder containing all images onto the moodle server.
  • Pasted  the URL location of the folder on my server with the html tag. Something like from <img src="1.png" alt="1.png" ></img> to <img src="10.0.2.115/test/1.png" ></img>. One could directly use "insert picture from web URL" but I found this easier in my case.
  • Did a standard moodle question bank import of the HotPot xml file.
This doesn't seem to be too tedious at the moment. However, if moodle's import feature could work for the questions with images out of the box, it would be fantastic.

Regards

Asim