The format of the QTI file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attempting to create an QTI export feature in some php code I am working on. I would like it to be readable by the Canvas import feature. I pretty much reverse-engineered a file and get Canvas to read the ZIP file, but there are still a few bugs. It will read the question steps for MCQs, but not the possible answers. Does Canvas or the community have some example QTI files I could see or better yet the import code, so I could figure out where it's going wrong? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Question and Test Interoperability format is an IMS standard and is documented on their website. There is not a need to reverse engineer, although that is sometimes easier than reading the specs.
Canvas supports the QTI 1.2 and 2.1 specifications.
Asking someone for example QTI files is unlikely to get one that has the issues you're struggling with.
While writing your own code is always more fun, there is something to be said for using an already-existing library. I found one for PHP on GitHub called qti-sdk.