diff --git a/main/gradebook/docs/example_csv.html b/main/gradebook/docs/example_csv.html index e97ad41ca9..4ec3af89ed 100755 --- a/main/gradebook/docs/example_csv.html +++ b/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.

Complete CSV score importation file

-user_id;official_code;lastname;firstname;score;date
-1;bgate;Gate;Bill;2;02/25/09 12:24 PM
-2;ltorvald;Torvald;Linus;10;02/25/09 12:24 PM
-3;;Smith;John;3;
+username;official_code;lastname;firstname;score;date
+bgate;bgate;Gate;Bill;2;02/25/09 12:24 PM
+ltorvald;ltorvald;Torvald;Linus;10;02/25/09 12:24 PM
+jsmith;;Smith;John;3;


Minimal CSV score importation file

This is possible to use a minimal file if you choose the "Ingnore error option" :

-user_id;score
-1;2
-2;10
-3;3
+username;score
+bgate;2
+ltorvald;10
+jsmith;3

Presence score importation file

For the presence this is the same file except the score fied which is "0" for absent and "1" for present :

-user_id;official_code;lastname;firstname;score;date
-1;bgate;Gate;Bill;0;02/25/09 12:24 PM
-2;ltorvald;Torvald;Linus;1;02/25/09 12:24 PM
-3;;Smith;John;0;
+username;official_code;lastname;firstname;score;date
+bgate;bgate;Gate;Bill;0;02/25/09 12:24 PM
+ltorvald;ltorvald;Torvald;Linus;1;02/25/09 12:24 PM
+jsmith;;Smith;John;0;
diff --git a/main/gradebook/docs/example_xml.html b/main/gradebook/docs/example_xml.html index 2f162bb546..ab64678cc0 100755 --- a/main/gradebook/docs/example_xml.html +++ b/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

<?xml version="1.0" encoding="ISO-8859-1"?>

<XMLResults>

<Result>

-

<user_id>1</user_id>

+

<username>bgate</username>

<official_code>bgate</official_code>

<lastname>Gate</lastname>

<firstname>Bill</firstname>

@@ -34,7 +34,7 @@ The date and offical_code fiels aren't mandatory and can be omitted without any

<date>2009-2-25 12:28</date>

</Result>

<Result>

-

<user_id>2</user_id>

+

<username>ltorvald</username>

<official_code>ltorvald</official_code>

<lastname>Torvald</lastname>

<firstname>Linus</firstname>

@@ -42,7 +42,7 @@ The date and offical_code fiels aren't mandatory and can be omitted without any

<date>2009-2-25 12:28</date>

</Result>

<Result>

-

<user_id>3</user_id>

+

<username>jsmith</username>

<official_code></official_code>

<lastname>Smith</lastname>

<firstname>John</firstname>

@@ -57,15 +57,15 @@ This is possible to use a minimal file if you choose the "Ingnore error option"

<?xml version="1.0" encoding="ISO-8859-1"?>

<XMLResults>

<Result>

-

<user_id>1</user_id>

+

<username>bgate</username>

<score>2</score>

</Result>

<Result>

-

<user_id>2</user_id>

+

<username>ltorvald</username>

<score>10</score>

</Result>

<Result>

-

<user_id>27</user_id>

+

<username>jsmith</username>

<score>3</score>

</Result>

</XMLResults>

@@ -76,7 +76,7 @@ For the presence this is the same file except the score fied which is "0" for ab

<?xml version="1.0" encoding="ISO-8859-1"?>

<XMLResults>

<Result>

-

<user_id>1</user_id>

+

<username>bgate</username>

<official_code>bgate</official_code>

<lastname>Gate</lastname>

<firstname>Bill</firstname>

@@ -84,7 +84,7 @@ For the presence this is the same file except the score fied which is "0" for ab

<date>2009-2-25 12:28</date>

</Result>

<Result>

-

<user_id>2</user_id>

+

<username>ltorvald</username>

<official_code>ltorvald</official_code>

<lastname>Torvald</lastname>

<firstname>Linus</firstname>

@@ -92,7 +92,7 @@ For the presence this is the same file except the score fied which is "0" for ab

<date>2009-2-25 12:28</date>

</Result>

<Result>

-

<user_id>3</user_id>

+

<username>jsmith</username>

<official_code></official_code>

<lastname>Smith</lastname>

<firstname>John</firstname>