Browse Source

minor - changed examples of import mark learners in gradebook - partial CT#462

Cristian Fasanando 15 years ago
parent
commit
6dc712a3dd
2 changed files with 21 additions and 21 deletions
  1. 12 12
      main/gradebook/docs/example_csv.html
  2. 9 9
      main/gradebook/docs/example_xml.html

+ 12 - 12
main/gradebook/docs/example_csv.html

@@ -9,28 +9,28 @@ This is an example file and this data can't be imported on your platform. The us
 The mandatory fields are emphasized. The other fields can be omitted. The separator is always the ";". If you want to overwrite the scores, you must choose the "Overwrite score" option.</br>
 
 <h2>Complete CSV  score importation file</h2>
-<b>user_id</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date</br>
-<b>1</b>;bgate;Gate;Bill;<b>2</b>;02/25/09 12:24 PM</br>
-<b>2</b>;ltorvald;Torvald;Linus;<b>10</b>;02/25/09 12:24 PM</br>
-<b>3</b>;;<b>Smith</b>;<b>John</b>;<b>3</b>;</br>
+<b>username</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date</br>
+<b>bgate</b>;bgate;Gate;Bill;<b>2</b>;02/25/09 12:24 PM</br>
+<b>ltorvald</b>;ltorvald;Torvald;Linus;<b>10</b>;02/25/09 12:24 PM</br>
+<b>jsmith</b>;;<b>Smith</b>;<b>John</b>;<b>3</b>;</br>
 </br></br>
 
 
 <h2>Minimal CSV score importation file</h2>
 This is possible to use a minimal file if you choose the "Ingnore error option" :
 </br></br>
-user_id;score</br>
-1;2</br>
-2;10</br>
-3;3</br>
+username;score</br>
+bgate;2</br>
+ltorvald;10</br>
+jsmith;3</br>
 
 <h2>Presence score importation file</h2>
 For the presence this is the same file except the score fied which is "0" for absent and "1" for present :
 </br></br>
-<b>user_id</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date</br>
-<b>1</b>;bgate;Gate;Bill;<b>0</b>;02/25/09 12:24 PM</br>
-<b>2</b>;ltorvald;Torvald;Linus;<b>1</b>;02/25/09 12:24 PM</br>
-<b>3</b>;;<b>Smith</b>;<b>John</b>;<b>0</b>;</br>
+<b>username</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date</br>
+<b>bgate</b>;bgate;Gate;Bill;<b>0</b>;02/25/09 12:24 PM</br>
+<b>ltorvald</b>;ltorvald;Torvald;Linus;<b>1</b>;02/25/09 12:24 PM</br>
+<b>jsmith</b>;;<b>Smith</b>;<b>John</b>;<b>0</b>;</br>
 
 
 

+ 9 - 9
main/gradebook/docs/example_xml.html

@@ -26,7 +26,7 @@ The date and offical_code fiels aren't mandatory and can be omitted without any
 <p class="PreformattedText">&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;</p>
     <p class="PreformattedText"> &lt;XMLResults&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;1&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;bgate&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;bgate&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Gate&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;Bill&lt;/firstname&gt;</p>
@@ -34,7 +34,7 @@ The date and offical_code fiels aren't mandatory and can be omitted without any
     <p class="PreformattedText">  &lt;date&gt;2009-2-25 12:28&lt;/date&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;2&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;ltorvald&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;ltorvald&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Torvald&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;Linus&lt;/firstname&gt;</p>
@@ -42,7 +42,7 @@ The date and offical_code fiels aren't mandatory and can be omitted without any
     <p class="PreformattedText">  &lt;date&gt;2009-2-25 12:28&lt;/date&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;3&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;jsmith&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Smith&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;John&lt;/firstname&gt;</p>
@@ -57,15 +57,15 @@ This is possible to use a minimal file if you choose the "Ingnore error option"
 <p class="PreformattedText">&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;</p>
     <p class="PreformattedText"> &lt;XMLResults&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;1&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;bgate&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;score&gt;2&lt;/score&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;2&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;ltorvald&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;score&gt;10&lt;/score&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;27&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;jsmith&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;score&gt;3&lt;/score&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;/XMLResults&gt;</p>
@@ -76,7 +76,7 @@ For the presence this is the same file except the score fied which is "0" for ab
 <p class="PreformattedText">&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;</p>
     <p class="PreformattedText"> &lt;XMLResults&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;1&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;bgate&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;bgate&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Gate&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;Bill&lt;/firstname&gt;</p>
@@ -84,7 +84,7 @@ For the presence this is the same file except the score fied which is "0" for ab
     <p class="PreformattedText">  &lt;date&gt;2009-2-25 12:28&lt;/date&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;2&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;ltorvald&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;ltorvald&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Torvald&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;Linus&lt;/firstname&gt;</p>
@@ -92,7 +92,7 @@ For the presence this is the same file except the score fied which is "0" for ab
     <p class="PreformattedText">  &lt;date&gt;2009-2-25 12:28&lt;/date&gt;</p>
     <p class="PreformattedText"> &lt;/Result&gt;</p>
     <p class="PreformattedText">&lt;Result&gt;</p>
-    <p class="PreformattedText">  &lt;user_id&gt;3&lt;/user_id&gt;</p>
+    <p class="PreformattedText">  &lt;username&gt;jsmith&lt;/username&gt;</p>
     <p class="PreformattedText">  &lt;official_code&gt;&lt;/official_code&gt;</p>
     <p class="PreformattedText">  &lt;lastname&gt;Smith&lt;/lastname&gt;</p>
     <p class="PreformattedText">  &lt;firstname&gt;John&lt;/firstname&gt;</p>