Managing student list by spreadsheet (Feature #45)


Added by Hiroto Kagotani over 12 years ago. Updated over 12 years ago.


Status:Closed Start date:04/05/2012
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:1.1.0

Description

Teachers often manage student lists using spreadsheet software such as Excel/OpenOffice, they will be happy if AMC accepts "proper" CSV files generated by such software. Here, "proper" means that fields may be enclosed in double-quotes (" "), double-quote itself is escaped by another double-quote, and fields may include commas and line-breaks (CRLF or LF? or CR?). Also some software precede zero-padded numbers with single-quote for text format.

AMC seems to remove enclosing double-quotes, but does not handle special characters in fields.

I am not a perl expert, but I think most of the process may be done by Text::CSV module.

Further, column names for student names will vary in such lists on the spreadsheet, for example, firstname, lastname, fullname, and even in other languages. Is it possible to specify the column names representing student names, which is used in the manual association window?


History

Updated by Alexis Bienvenüe over 12 years ago

  • Target version set to 1.1.0

Updated by Alexis Bienvenüe over 12 years ago

they will be happy if AMC accepts "proper" CSV files

This should be OK since revision r1009 (use of Text::CSV as suggested): please try.

Updated by Alexis Bienvenüe over 12 years ago

Is it possible to specify the column names representing student names

Since revision r1012, this should be possible (Edit/Preferences/Internationalization/CSV (sur)name headers).
Please try a complete process (with annotation) to test.

  • Status changed from New to Feedback

Updated by Hiroto Kagotani over 12 years ago

Both r1009 and r1012 work very well.
Thank you very much!

Updated by Alexis Bienvenüe over 12 years ago

  • Status changed from Feedback to Resolved

Updated by Alexis Bienvenüe over 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF