Skip to content

Instantly share code, notes, and snippets.

@viniroger
Last active May 3, 2018 11:15
Show Gist options
  • Save viniroger/ce754ce45c95bbcac6620c96fd7c8fbd to your computer and use it in GitHub Desktop.
Save viniroger/ce754ce45c95bbcac6620c96fd7c8fbd to your computer and use it in GitHub Desktop.
Quiz on XML exported (and indented) from WP-Pro-Quiz plugin with 1 quiz containing 2 questions | model ready to import
<?xml version="1.0" encoding="UTF-8"?>
<wpProQuiz>
<header version="0.37" exportVersion="1" />
<data>
<quiz>
<title titleHidden="false"><![CDATA[Título do questionário]]></title>
<text><![CDATA[Breve descrição do questionário]]></text>
<category>Bloco 1</category>
<resultText gradeEnabled="false"><![CDATA[Comentário no fim dos resultados]]></resultText>
<btnRestartQuizHidden>false</btnRestartQuizHidden>
<btnViewQuestionHidden>false</btnViewQuestionHidden>
<questionRandom>false</questionRandom>
<answerRandom>false</answerRandom>
<timeLimit>0</timeLimit>
<showPoints>false</showPoints>
<statistic activated="false" ipLock="1440" />
<quizRunOnce type="1" cookie="false" time="0">false</quizRunOnce>
<numberedAnswer>false</numberedAnswer>
<hideAnswerMessageBox>false</hideAnswerMessageBox>
<disabledAnswerMark>false</disabledAnswerMark>
<showMaxQuestion showMaxQuestionValue="1" showMaxQuestionPercent="false">false</showMaxQuestion>
<toplist activated="false">
<toplistDataAddPermissions>1</toplistDataAddPermissions>
<toplistDataSort>1</toplistDataSort>
<toplistDataAddMultiple>false</toplistDataAddMultiple>
<toplistDataAddBlock>1</toplistDataAddBlock>
<toplistDataShowLimit>1</toplistDataShowLimit>
<toplistDataShowIn>0</toplistDataShowIn>
<toplistDataCaptcha>false</toplistDataCaptcha>
<toplistDataAddAutomatic>false</toplistDataAddAutomatic>
</toplist>
<showAverageResult>false</showAverageResult>
<prerequisite>false</prerequisite>
<showReviewQuestion>false</showReviewQuestion>
<quizSummaryHide>false</quizSummaryHide>
<skipQuestionDisabled>false</skipQuestionDisabled>
<emailNotification>0</emailNotification>
<userEmailNotification>false</userEmailNotification>
<showCategoryScore>false</showCategoryScore>
<hideResultCorrectQuestion>false</hideResultCorrectQuestion>
<hideResultQuizTime>false</hideResultQuizTime>
<hideResultPoints>false</hideResultPoints>
<autostart>false</autostart>
<forcingQuestionSolve>false</forcingQuestionSolve>
<hideQuestionPositionOverview>false</hideQuestionPositionOverview>
<hideQuestionNumbering>true</hideQuestionNumbering>
<sortCategories>false</sortCategories>
<showCategory>false</showCategory>
<quizModus questionsPerPage="0">2</quizModus>
<startOnlyRegisteredUser>false</startOnlyRegisteredUser>
<adminEmail>
<to />
<form />
<subject>Wp-Pro-Quiz: Um usuário completou um questionário</subject>
<html>false</html>
<message><![CDATA[Wp-Pro-Quiz
O usuário "$username" completou "$quizname" o questionário.
Pontuação: $points
Resultado: $result]]></message>
</adminEmail>
<userEmail>
<to>-1</to>
<toUser>false</toUser>
<toForm>false</toForm>
<form />
<subject>Wp-Pro-Quiz: Um usuário completou um questionário</subject>
<html>false</html>
<message><![CDATA[Wp-Pro-Quiz
O usuário "$username" completou "$quizname" o questionário.
Pontuação: $points
Resultado: $result]]></message>
</userEmail>
<forms activated="false" position="0" />
<questions>
<question answerType="single">
<title><![CDATA[Prova 1 - Pergunta 1]]></title>
<points>1</points>
<questionText><![CDATA[1. TEXTO DA PERGUNTA]]></questionText>
<correctMsg><![CDATA[Acertô miseravi!]]></correctMsg>
<incorrectMsg><![CDATA[BIRL!]]></incorrectMsg>
<tipMsg enabled="false" />
<category />
<correctSameText>false</correctSameText>
<showPointsInBox>false</showPointsInBox>
<answerPointsActivated>false</answerPointsActivated>
<answerPointsDiffModusActivated>false</answerPointsDiffModusActivated>
<disableCorrect>false</disableCorrect>
<answers>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[a) alternativa a]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[b) alternativa b]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="true">
<answerText html="true"><![CDATA[c) alternativa c]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[d) alternativa d]]></answerText>
<stortText html="false" />
</answer>
</answers>
</question>
<question answerType="single">
<title><![CDATA[Prova 1 - Pergunta 2]]></title>
<points>1</points>
<questionText><![CDATA[2. TEXTO DA PERGUNTA]]></questionText>
<correctMsg />
<incorrectMsg />
<tipMsg enabled="false" />
<category />
<correctSameText>false</correctSameText>
<showPointsInBox>false</showPointsInBox>
<answerPointsActivated>false</answerPointsActivated>
<answerPointsDiffModusActivated>false</answerPointsDiffModusActivated>
<disableCorrect>false</disableCorrect>
<answers>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[a) alternativa a]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="true">
<answerText html="true"><![CDATA[b) alternativa b]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[c) alternativa c]]></answerText>
<stortText html="false" />
</answer>
<answer points="1" correct="false">
<answerText html="true"><![CDATA[d) alternativa d]]></answerText>
<stortText html="false" />
</answer>
</answers>
</question>
</questions>
</quiz>
</data>
</wpProQuiz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment