This document was successfully checked as XHTML 1.0 Strict!

Result: Passed
:
Modified:(undefined)
Server:Apache
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://aulas.esec-acf.pt/help.php?module=lesson&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%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%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="pt" xml:lang="pt">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles.php" />
  6. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/formal_white/styles.php" />
  7. <!--[if IE 7]>
  8. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles_ie7.css" />
  9. <![endif]-->
  10. <!--[if IE 6]>
  11. <link rel="stylesheet" type="text/css" href="http://aulas.esec-acf.pt/theme/standard/styles_ie6.css" />
  12. <![endif]-->
  13. <meta name="keywords" content="moodle, Ajuda " />
  14. <title>Ajuda</title>
  15. <link rel="shortcut icon" href="http://aulas.esec-acf.pt/theme/formal_white/favicon.ico" />
  16. <!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(http://aulas.esec-acf.pt/lib/csshover.htc);} /*]]>*/</style>-->
  17. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/javascript-static.js"></script>
  18. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/javascript-mod.php"></script>
  19. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/overlib/overlib.js"></script>
  20. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/overlib/overlib_cssstyle.js"></script>
  21. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/cookies.js"></script>
  22. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/ufo.js"></script>
  23. <script type="text/javascript" src="http://aulas.esec-acf.pt/lib/dropdown.js"></script>
  24. <script type="text/javascript" defer="defer">
  25. //<![CDATA[
  26. setTimeout('fix_column_widths()', 20);
  27. //]]>
  28. </script>
  29. <script type="text/javascript">
  30. //<![CDATA[
  31. function openpopup(url,name,options,fullscreen) {
  32. fullurl = "http://aulas.esec-acf.pt" + url;
  33. windowobj = window.open(fullurl,name,options);
  34. if (fullscreen) {
  35. windowobj.moveTo(0,0);
  36. windowobj.resizeTo(screen.availWidth,screen.availHeight);
  37. }
  38. windowobj.focus();
  39. return false;
  40. }
  41. function uncheckall() {
  42. void(d=document);
  43. void(el=d.getElementsByTagName('INPUT'));
  44. for(i=0;i<el.length;i++) {
  45. void(el[i].checked=0);
  46. }
  47. }
  48. function checkall() {
  49. void(d=document);
  50. void(el=d.getElementsByTagName('INPUT'));
  51. for(i=0;i<el.length;i++) {
  52. void(el[i].checked=1);
  53. }
  54. }
  55. function inserttext(text) {
  56. text = ' ' + text + ' ';
  57. if ( opener.document.forms['theform'].message.createTextRange && opener.document.forms['theform'].message.caretPos) {
  58. var caretPos = opener.document.forms['theform'].message.caretPos;
  59. caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
  60. } else {
  61. opener.document.forms['theform'].message.value += text;
  62. }
  63. opener.document.forms['theform'].message.focus();
  64. }
  65. function getElementsByClassName(oElm, strTagName, oClassNames){
  66. var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
  67. var arrReturnElements = new Array();
  68. var arrRegExpClassNames = new Array();
  69. if(typeof oClassNames == "object"){
  70. for(var i=0; i<oClassNames.length; i++){
  71. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));
  72. }
  73. }
  74. else{
  75. arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));
  76. }
  77. var oElement;
  78. var bMatchesAll;
  79. for(var j=0; j<arrElements.length; j++){
  80. oElement = arrElements[j];
  81. bMatchesAll = true;
  82. for(var k=0; k<arrRegExpClassNames.length; k++){
  83. if(!arrRegExpClassNames[k].test(oElement.className)){
  84. bMatchesAll = false;
  85. break;
  86. }
  87. }
  88. if(bMatchesAll){
  89. arrReturnElements.push(oElement);
  90. }
  91. }
  92. return (arrReturnElements)
  93. }
  94. //]]>
  95. </script>
  96. </head>
  97. <body class=" course-1 notloggedin dir-ltr lang-pt_utf8" id="help">
  98. <div id="page">
  99. <!-- END OF HEADER -->
  100. <div id="content"><div class="box generalbox generalboxcontent"><h1>Importing new questions</h1>
  101. <p>This function allows you to import questions from
  102. external text files, uploaded through a form. </p>
  103. <p>A number of file formats are supported:</p>
  104. <h2>GIFT format</h2>
  105. <div class="indent">
  106. <p>GIFT is the most comprehensive import format available for importing
  107. Moodle quiz questions from a text file. It was designed to be an easy
  108. method for teachers writing questions as a text file. It supports Multiple-Choice,
  109. True-False, Short Answer, Matching and Numerical questions, as well as insertion
  110. of a _____ for the "missing word" format. Various question-types can be
  111. mixed in a single text file, and the format also supports line comments, question names,
  112. feedback and percentage-weight grades. Below are some examples:</p>
  113. <pre>
  114. Who's buried in Grant's tomb?{~Grant ~Jefferson =no one}
  115. Grant is {~buried =entombed ~living} in Grant's tomb.
  116. Grant is buried in Grant's tomb.{FALSE}
  117. Who's buried in Grant's tomb?{=no one =nobody}
  118. When was Ulysses S. Grant born?{#1822}
  119. </pre>
  120. <p class="moreinfo"><a href="help.php?file=formatgift.html&amp;module=quiz">More info about the "GIFT" format</a></p>
  121. </div>
  122. <h2>Aiken format</h2>
  123. <div class="indent">
  124. <p>The Aiken format is a very simple way of creating multiple choice questions using a very clear human-readable format. Here is an example of the format:</p>
  125. <pre>
  126. What is the purpose of first aid?
  127. A. To save life, prevent further injury, preserve good health
  128. B. To provide medical treatment to any injured or wounded person
  129. C. To prevent further injury
  130. D. To aid victims who may be seeking help
  131. ANSWER: A
  132. </pre>
  133. <p class="moreinfo"><a href="help.php?file=formataiken.html&amp;module=quiz">More info about the "Aiken" format</a></p>
  134. </div>
  135. <h2>Missing Word</h2>
  136. <div class="indent">
  137. <p>This format only supports multiple choice questions.
  138. Each answer is separated with a tilde (~), and the correct answer is
  139. prefixed with an equals sign (=). Here is an example:</p>
  140. <blockquote><p>As soon as we begin to explore our body parts as infants
  141. we become students of {=anatomy and physiology ~reflexology
  142. ~science ~experiment}, and in a sense we remain students for life.</p>
  143. </blockquote>
  144. <p class="moreinfo"><a href="help.php?file=formatmissingword.html&amp;module=quiz">More info about the "Missing Word" format</a></p>
  145. </div>
  146. <h2>AON</h2>
  147. <div class="indent">
  148. <p>This is the same as Missing Word Format, except that after importing
  149. the questions all Short-Answer questions are converted four at a time
  150. into Matching Questions.</p>
  151. <p>Additionally, the answers of multiple-choice questions are randomly
  152. shuffled during the import.</p>
  153. <p>It's named after an organisation that sponsored the development of many
  154. quiz features</p>
  155. </div>
  156. <h2>Blackboard</h2>
  157. <div class="indent">
  158. <p>This module can import questions saved in Blackboard's export
  159. format. It relies on XML functions being compiled into your PHP.</p>
  160. <p class="moreinfo"><a href="help.php?file=formatblackboard.html&amp;module=quiz">More info about the "Blackboard" format</a></p>
  161. </div>
  162. <h2>Course Test Manager</h2>
  163. <div class="indent">
  164. <p>This module can import questions saved in a Course Test Manager test bank.
  165. It relies on different ways of accessing the test bank, which is in a Microsoft Access
  166. database, depending on whether Moodle is running on a Windows or Linux web server.</p>
  167. <p>On Windows it lets you upload the access database just like any other data import file.</p>
  168. <p>On Linux, you must set up a windows machine on the same network with the Course Test
  169. Manager database and a piece of software called the ODBC Socket Server, which uses XML
  170. to transfer data to moodle on the Linux server.</p>
  171. <p>Please read the full help file below before
  172. using this import class.</p>
  173. <p class="moreinfo"><a href="help.php?file=formatctm.html&amp;module=quiz">More info about the "CTM" format</a></p>
  174. </div>
  175. <h2>Custom</h2>
  176. <div class="indent">
  177. <p>If you have your own format that you need to import, you can
  178. implement it yourself by editing mod/quiz/format/custom.php</p>
  179. <p>The amount of new code needed is quite small - just enough
  180. to parse a single question from given text.</p>
  181. <p class="moreinfo"><a href="help.php?file=formatcustom.html&amp;module=quiz">More info about the "Custom" format</a></p>
  182. </div>
  183. <p>More formats are yet to come, including WebCT, IMS QTI and whatever else
  184. Moodle users can contribute! </p>
  185. </div><div class="closewindow">
  186. <form action="#"><div><input type="button" onclick="self.close();" value="Fechar esta janela" /></div></form></div>
  187. <p class="helpindex"><a href="help.php?file=index.html">Índice de todos os ficheiros de ajuda</a></p></div><div id="footer"><p class="helplink"></p><hr /> <div class="validators"><ul>
  188. <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dimport.html">Validate HTML</a></li>
  189. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dimport.html">Section 508 Check</a></li>
  190. <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=http%3A%2F%2Faulas.esec-acf.pt%2Fhelp.php%3Fmodule%3Dlesson%26file%3Dimport.html">WCAG 1 (2,3) Check</a></li>
  191. </ul></div>
  192. </div>
  193. </div>
  194. </body>
  195. </html>

↑ Top