diff --git a/main/gradebook/docs/example_csv.html b/main/gradebook/docs/example_csv.html new file mode 100644 index 0000000000..81a965d4b0 --- /dev/null +++ b/main/gradebook/docs/example_csv.html @@ -0,0 +1,38 @@ + + +CSV file example + + +

CSV example for certificate importation

+This is an example file and this data can't be imported on your platform. The user id must correspond to users existing on your platform.
+ +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;
+

+ + +

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
+ +

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;
+ + + + + diff --git a/main/gradebook/docs/example_xml.html b/main/gradebook/docs/example_xml.html new file mode 100644 index 0000000000..328c5fac30 --- /dev/null +++ b/main/gradebook/docs/example_xml.html @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + +

XML example for certificate importation

+This is an example file and this data can't be imported on your platform. The user id must correspond to users existing on your platform.
+ +The date and offical_code fiels aren't mandatory and can be omitted without any error. If you want to overwrite the scores, you must choose the "Overwrite score" option.
+ +

Complete XML score importation file

+

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

+

<XMLResults>

+

<Result>

+

<user_id>1</user_id>

+

<official_code>bgate</official_code>

+

<lastname>Gate</lastname>

+

<firstname>Bill</firstname>

+

<score>2</score>

+

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

+

</Result>

+

<Result>

+

<user_id>2</user_id>

+

<official_code>ltorvald</official_code>

+

<lastname>Torvald</lastname>

+

<firstname>Linus</firstname>

+

<score>10</score>

+

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

+

</Result>

+

<Result>

+

<user_id>3</user_id>

+

<official_code></official_code>

+

<lastname>Smith</lastname>

+

<firstname>John</firstname>

+

<score>3</score>

+

<date></date>

+

</Result>

+

</XMLResults>

+ +

Minimal XML score importation file

+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>

+

<score>2</score>

+

</Result>

+

<Result>

+

<user_id>2</user_id>

+

<score>10</score>

+

</Result>

+

<Result>

+

<user_id>27</user_id>

+

<score>3</score>

+

</Result>

+

</XMLResults>

+ +

Complete XML presence importation file

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

+

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

+

<XMLResults>

+

<Result>

+

<user_id>1</user_id>

+

<official_code>bgate</official_code>

+

<lastname>Gate</lastname>

+

<firstname>Bill</firstname>

+

<score>0</score>

+

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

+

</Result>

+

<Result>

+

<user_id>2</user_id>

+

<official_code>ltorvald</official_code>

+

<lastname>Torvald</lastname>

+

<firstname>Linus</firstname>

+

<score>1</score>

+

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

+

</Result>

+

<Result>

+

<user_id>3</user_id>

+

<official_code></official_code>

+

<lastname>Smith</lastname>

+

<firstname>John</firstname>

+

<score>0</score>

+

<date></date>

+

</Result>

+

</XMLResults>

+ +

+You could also use a minimal XML file for the presence. + +