indra83 / divitool

Tool for content creation
2 stars 0 forks source link

Add Question type - match the following #15

Closed indra83 closed 11 years ago

indra83 commented 11 years ago

Standard match the following question. e.g. http://www.neok12.com/quiz/NERSYS05

User inputs:

  1. Title (string)
  2. Multiple 'matches' - each match is two HTML units.

XML:

<?xml version="1.0" encoding="UTF-8"?>
<question id="q1" type="match">
    <title>Match the following:</title>
    <matches>
        <match>
            <left>
                <data><![CDATA[<p>Paris</p>]]></data>
            </left>
            <right>
                <data><![CDATA[<p>capital of France</p>]]></data>
            </right>
        </match>
        <match>
            <left>
                <data><![CDATA[<p>Paris</p>]]></data>
            </left>
            <right>
                <data><![CDATA[<p>capital of France</p>]]></data>
            </right>
        </match>
    </matches>
</question>