Aiken format import fails

Aiken format import fails

Mike Brinkman -
回帖数:12
I did a search through the forums and found that other people were having problems with the Aiken format. I believe my file is formatted correctly (UTF-8), all of the questions and answers are in their places, etc. We are using Moodle 1.9.3. Can somebody please tell me what could be the problem with this file?
回复Mike Brinkman

Re: Aiken format import fails

Neil Spurgeon -

I've had all sorts of problems with this recently - suggest you upload the file into the standard Moodle file area and then import the questions from it there into your question bank - that has sorted 99% of my staff's issues with this - most of which seem to be related to recent versions of Notepad and other 'simple' Windows based editors, obviuously many of us are not Linux folks and still stick with Microsoft

Regards

Neil

回复Neil Spurgeon

Re: Aiken format import fails

Mike Brinkman -
Yeah, I tried that too, but it doesn't seem to make a difference. By the way, while the document was created on a Windows machine, I uploaded it from a Mac after I used TextWrangler to clean it up (zap gremlin ascii chars, etc.), and then saved it as UTF8.
回复Mike Brinkman

Re: Aiken format import fails

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
The word ANSWER *must* be in capital letters. Simple as that 微笑
回复Howard Miller

Re: Aiken format import fails

Mike Brinkman -
Gratzi! That is WAY TOO EASY to overlook!
回复Mike Brinkman

Re: Aiken format import fails

Chad Parmentier -
Moodle docs are usually spot on, hence answer is in caps: http://docs.moodle.org/en/Aiken_format.

What would be nice is if Moodle could export questions in Aiken format. Many k-12 departments require a hard copy final exam for distribution and records purposes. anyone have any thoughts on Moodle quiz export and human readability?
回复Chad Parmentier

Re: Aiken format import fails

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
It would be easy enough to do. I was actually working on a new version of Aiken anyway (the file is in a post in this forum somewhere) that tidied things up a bit and added general feedback.

I haven't added it to core as it is not quite backward compatible - it requires a blank line between questions and the current one doesn't.

Adding export would be reasonably trivial. However, it would only properly export multiple choice questions with a single correct answer, nothing else. Is that really much use?

A useful little project might be a bit of XSLT to format the XML export into something readable if it's just for a record.
回复Howard Miller

Re: Aiken format import fails

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
By the way Howard, I have done some Aiken changes in core recently, to use regular expressions to make it more robust, since someone filed a bug that looked easy to fix. Just so you know.
回复Tim Hunt

Re: Aiken format import fails

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Ha.. I did exactly the same thing!! As it did a load of other stuff too, it never got committed!!
回复Howard Miller

Re: Aiken format import fails

Chad Parmentier -
I think it would be pretty useful because i normally will have multiple choice and Essay questions. The essays do not have a key so having the ability to export the multiple choice portion would be handy for US 9-12 Schools that have to submit a hard copy for curriculum alignment.
回复Howard Miller

Re: Aiken format import fails

Steve Peters -
Howard, Tim, et al.,

It looks like the Aiken import has since evolved in the current release. Would it be possible to incorporate what you've already done to the source and then get it committed?

It looks like there is even a stub for "Feedback" though it's not parsed.

I am trying to do exactly what you've already discussed and solved, so this would be very useful to me.

My alternative is to try and find an Aiken -> GIFT conversion so that the feedback could be imported via another route.

-Steve Peters


回复Steve Peters

Re: Aiken format import fails

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
I did a whole load of changes that allowed feedback and stuff. However, it wasn't quite backwards compatible so I didn't want to commit it. It's easy enough to change the one file if you can find the original discussion.