This document was successfully checked as XHTML 1.0 Strict!

Result: Passed
:
Modified:(undefined)
Server:Apache/2.2.16 (Debian)
Size:(undefined)
Content-Type:text/html
: utf-8
: XHTML 1.0 Strict
Root Element: html
Root Namespace: http://www.w3.org/1999/xhtml
Options

Help on the options is available.

Congratulations

The document located at <http://www.di.uevora.pt/moodle/help.php?module=quiz&file=import.html> was successfully checked as XHTML 1.0 Strict. This means that the resource in question identified itself as "XHTML 1.0 Strict" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

"valid" Icon(s) on your Web page

To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:

Valid XHTML 1.0 Strict
  <p>
    <a href="http://validator.w3.org/check?uri=referer"><img
      src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
  </p>
  

A full list of icons, with links to alternate formats and colors, is available: If you like, you can download a copy of the icons to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server.

Linking to this result

If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <http://validator.w3.org/check?uri=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dimport.html;ss=1;verbose=1> (or you can just add the current page to your bookmarks or hotlist).

Validating CSS Style Sheets

If you use CSS in your document, you can check it using the W3C CSS Validation Service.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles.php" />
  6. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standardwhite/styles.php" />
  7. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/yahoo/yahoo-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/event/event-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/yui/connection/connection-min.js"></script><script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/swfobject/swfobject.js"></script><script type="text/javascript">
  8. //<![CDATA[
  9. var flashversion = swfobject.getFlashPlayerVersion();
  10. YAHOO.util.Connect.asyncRequest('GET','http://www.di.uevora.pt/moodle/login/environment.php?sesskey=1m82WDoAHx&flashversion='+flashversion.major+'.'+flashversion.minor+'.'+flashversion.release);
  11. //]]>
  12. </script>
  13. <!--[if IE 7]>
  14. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles_ie7.css" />
  15. <![endif]-->
  16. <!--[if IE 6]>
  17. <link rel="stylesheet" type="text/css" href="http://www.di.uevora.pt/moodle/theme/standard/styles_ie6.css" />
  18. <![endif]-->
  19. <meta name="keywords" content="moodle, Help " />
  20. <title>Help</title>
  21. <link rel="shortcut icon" href="http://www.di.uevora.pt/moodle/theme/standardwhite/favicon.ico" />
  22. <!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(http://www.di.uevora.pt/moodle/lib/csshover.htc);} /*]]>*/</style>-->
  23. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/javascript-static.js"></script>
  24. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/javascript-mod.php"></script>
  25. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/overlib/overlib.js"></script>
  26. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/overlib/overlib_cssstyle.js"></script>
  27. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/cookies.js"></script>
  28. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/ufo.js"></script>
  29. <script type="text/javascript" src="http://www.di.uevora.pt/moodle/lib/dropdown.js"></script>
  30. <script type="text/javascript" defer="defer">
  31. //<![CDATA[
  32. setTimeout('fix_column_widths()', 20);
  33. //]]>
  34. </script>
  35. <script type="text/javascript">
  36. //<![CDATA[
  37. function openpopup(url, name, options, fullscreen) {
  38. var fullurl = "http://www.di.uevora.pt/moodle" + url;
  39. var windowobj = window.open(fullurl, name, options);
  40. if (!windowobj) {
  41. return true;
  42. }
  43. if (fullscreen) {
  44. windowobj.moveTo(0, 0);
  45. windowobj.resizeTo(screen.availWidth, screen.availHeight);
  46. }
  47. windowobj.focus();
  48. return false;
  49. }
  50. function uncheckall() {
  51. var inputs = document.getElementsByTagName('input');
  52. for(var i = 0; i < inputs.length; i++) {
  53. inputs[i].checked = false;
  54. }
  55. }
  56. function checkall() {
  57. var inputs = document.getElementsByTagName('input');
  58. for(var i = 0; i < inputs.length; i++) {
  59. inputs[i].checked = true;
  60. }
  61. }
  62. function inserttext(text) {
  63. text = ' ' + text + ' ';
  64. if ( opener.document.forms['theform'].message.createTextRange && opener.document.forms['theform'].message.caretPos) {
  65. var caretPos = opener.document.forms['theform'].message.caretPos;
  66. caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
  67. } else {
  68. opener.document.forms['theform'].message.value += text;
  69. }
  70. opener.document.forms['theform'].message.focus();
  71. }
  72. function getElementsByClassName(oElm, strTagName, oClassNames){
  73. var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
  74. var arrReturnElements = new Array();
  75. var arrRegExpClassNames = new Array();
  76. if(typeof oClassNames == "object"){
  77. for(var i=0; i<oClassNames.length; i++){
  78. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));
  79. }
  80. }
  81. else{
  82. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));
  83. }
  84. var oElement;
  85. var bMatchesAll;
  86. for(var j=0; j<arrElements.length; j++){
  87. oElement = arrElements[j];
  88. bMatchesAll = true;
  89. for(var k=0; k<arrRegExpClassNames.length; k++){
  90. if(!arrRegExpClassNames[k].test(oElement.className)){
  91. bMatchesAll = false;
  92. break;
  93. }
  94. }
  95. if(bMatchesAll){
  96. arrReturnElements.push(oElement);
  97. }
  98. }
  99. return (arrReturnElements)
  100. }
  101. //]]>
  102. </script>
  103. </head>
  104. <body class=" course-1 dir-ltr lang-en_utf8" id="help">
  105. <div id="page">
  106. <!-- END OF HEADER -->
  107. <div id="content" class=" clearfix"><div class="box generalbox generalboxcontent"><h1>Importing new questions</h1>
  108. <p>This function allows you to import questions from
  109. external text files, uploaded through a form,
  110. or by choosing a suitable file already in the
  111. course Files area. </p>
  112. <h2>A note about character encodings</h2>
  113. <p>If your file contains non-ascii characters then it must use UTF-8 encoding.
  114. You may be able to select or convert to UTF-8 using your favourite editor,
  115. or it may be an option in the exporting software.
  116. Be particularly cautious with files generated by Microsoft Office applications,
  117. as these commonly use special encoding which will not be handled correctly.
  118. XML based import formats will be handled
  119. automatically provided your Moodle server is running PHP 5.</p>
  120. <p>A number of file formats are supported:</p>
  121. <h2>GIFT format</h2>
  122. <p>GIFT is the most comprehensive import format available for importing
  123. Moodle quiz questions from a text file. It was designed to be an easy
  124. method for teachers writing questions as a text file. It supports Multiple-Choice,
  125. True-False, Short Answer, Matching and Numerical questions, as well as insertion
  126. of a _____ for the "missing word" format. Various question-types can be
  127. mixed in a single text file, and the format also supports line comments, question names,
  128. feedback and percentage-weight grades. Below are some examples:</p>
  129. <pre>
  130. Who's buried in Grant's tomb?{~Grant ~Jefferson =no one}
  131. Grant is {~buried =entombed ~living} in Grant's tomb.
  132. Grant is buried in Grant's tomb.{FALSE}
  133. Who's buried in Grant's tomb?{=no one =nobody}
  134. When was Ulysses S. Grant born?{#1822}
  135. </pre>
  136. <p class="moreinfo"><a href="help.php?file=formatgift.html&amp;module=quiz">More info about the "GIFT" format</a></p>
  137. <h2>Aiken Format</h2>
  138. <p>This is a simple format for importing multiple choice questions from a text file.</p>
  139. <p class="moreinfo"><a href="help.php?file=formataiken.html&amp;module=quiz">More info about the "Aiken" format</a></p>
  140. <h2>Moodle XML format</h2>
  141. <p>This Moodle specific format imports quiz questions that have previously been
  142. exported in the same format. The format is straightforward and is best demonstrated
  143. by exporting a category in the Moodle XML format. The XML format is capabable of
  144. importing image files.
  145. </p>
  146. <p class="moreinfo"><a href="help.php?file=formatxml.html&amp;module=quiz">More info about the "Moodle XML" format</a></p>
  147. <h2>Missing Word</h2>
  148. <p>This format only supports multiple choice questions and
  149. short answer question, depending on the number of answers. One
  150. answer generates a short answer question, two or more answers
  151. generate a multiple choice question.
  152. Each answer is separated with a tilde (~), and the correct answer is
  153. prefixed with an equals sign (=). Here is an example of a multiple
  154. choice question:</p>
  155. <blockquote><p>As soon as we begin to explore our body parts as infants
  156. we become students of {=anatomy and physiology ~reflexology
  157. ~science ~experiment}, and in a sense we remain students for life.
  158. </p></blockquote>
  159. <p>Here is an example of a short answer question:</p>
  160. <blockquote><p>As soon as we begin to explore our body parts as infants
  161. we become students of {=anatomy and physiology},
  162. and in a sense we remain students for life.
  163. </p></blockquote>
  164. <h2>Blackboard</h2>
  165. <p>This module can import questions saved in Blackboard's "POOL" type export
  166. format. It relies on XML functions being compiled into your PHP.
  167. Note that you must first unpack the exported zip file and provide Moodle
  168. with the appropriate .dat file.
  169. Note that this version <strong>does not</strong> work with Blackboard
  170. Version 6 and newer.</p>
  171. <h2>Blackboard V6+</h2>
  172. <p>This module can import questions saved in Blackboard's export
  173. format. It provides limited support for Blackboard Version 6 and
  174. 7. It relies on XML functions being compiled into your PHP. You
  175. must upload the zip file exported from Blackboard.</p>
  176. <h2>WebCT</h2>
  177. <p>This module can import questions saved in WebCT's text-based format.</p>
  178. <p class="moreinfo"><a href="help.php?file=formatwebct.html&amp;module=quiz">More info about the "WebCT" format</a></p>
  179. <h2>Course Test Manager</h2>
  180. <p>This module can import questions saved in a Course Test Manager test bank.
  181. It relies on different ways of accessing the test bank, which is in a Microsoft Access
  182. database, depending on whether Moodle is running on a Windows or Linux web server.</p>
  183. <p>On Windows it lets you upload the access database just like any other data import file.</p>
  184. <p>On Linux, you must set up a windows machine on the same network with the Course Test
  185. Manager database and a piece of software called the ODBC Socket Server, which uses XML
  186. to transfer data to moodle on the Linux server.</p>
  187. <p>Please read the full help file below before
  188. using this import class.</p>
  189. <p class="moreinfo"><a href="help.php?file=formatctm.html&amp;module=quiz">More info about the "CTM" format</a></p>
  190. <h2>Embedded answers (Cloze)</h2>
  191. <p>This special purpose format imports just one type of question, the
  192. Embedded Answers (also known as Cloze) format.
  193. </p>
  194. <p class="moreinfo"><a href="help.php?file=multianswer.html&amp;module=quiz">More info about the "Cloze" format</a></p>
  195. <h2>Learnwise format</h2>
  196. <p>This format can import multiple choice questions saved in Learnwise's XML
  197. format.</p>
  198. <h2>Examview format</h2>
  199. <p>This format can import from Examview 4 XML files. Note that the older
  200. versions of Examview are not supported.</p>
  201. <p>Import and Export formats are a pluggable resource. Other optional formats may be available in the
  202. Modules and Plugins database.</p>
  203. </div><div class="closewindow">
  204. <form action="#"><div><input type="button" onclick="self.close();" value="Close this window" /></div></form></div>
  205. <p class="helpindex"><a href="help.php?file=index.html">Index of all help files</a></p></div><div id="footer"><hr /><p class="helplink"></p> <div class="validators"><ul>
  206. <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dimport.html">Validate HTML</a></li>
  207. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dimport.html">Section 508 Check</a></li>
  208. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=http%3A%2F%2Fwww.di.uevora.pt%2Fmoodle%2Fhelp.php%3Fmodule%3Dquiz%26file%3Dimport.html">WCAG 1 (2,3) Check</a></li>
  209. </ul></div>
  210. </div>
  211. </div>
  212. </body>
  213. </html>

↑ Top