An LTI Tool that Supports Quizzes in the GIFT format
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
export
xml
LICENSE
README.md
ajax-loader.gif
configure.php
convert.php
getzip.php
grade-detail.php
grades.php
index.php
lti_config.php
make_qti.php
make_zip.php
makeassess.php
parse.php
process.php
quiz.php
register.php
sample.php
templates.php
util.php
viewxml.php
waiting.php

README.md

GIFT Quiz Tool

This tool currently contains two pieces of related functionality:

  • It can author and deliver GIFT-authored quizzes using LTI (index.php)
  • It can convert to QTI 1.2 (convert.php)

These two pieces are related because they share a bunch of library code.

Quiz format convertor from GIFT to QTI 1.2

This is a simple converter that lets you paste in GIFT formatted quiz questions like:

// multiple choice with specified feedback for right and wrong answers
::Q2:: What's between orange and green in the spectrum? 
{ =yellow # right; good! ~red # wrong, it's yellow ~blue # wrong, it's yellow }

And get them downloaded as QTI 1.2 for import into lots of systems like Sakai and Canvas.

GIFT seems to be a micro-format invented by the Moodle community - and a pretty cool idea if I do say so myself. I like it because I can put quizzes in GitHub :)

https://docs.moodle.org/28/en/GIFT_format

You can play with my demo server at:

https://lti-tools.dr-chuck.com/tsugi/mod/gift/convert.php

Comments (and Pull requests) welcome.

-- Chuck