finanzcheck / wheel-of-fortune

https://finanzcheck.github.io/wheel-of-fortune/
MIT License
4 stars 5 forks source link

csv file drop #5

Closed Schubidu closed 8 years ago

Schubidu commented 8 years ago

As a json file we will drop a csv file

aklinkert commented 8 years ago

That csv file has to be in a specific format to ensure correct import. Any ideas how to solve that common csv problem?

Schubidu commented 8 years ago

Let's take the default Excel-export file format with ;-seperator. The first row is reserved for column names. Be flexible in columns order name;spokes is also valide as spokes;names

Do some validation steps

  1. drop a valid json or a csv in valid format, import the file
  2. drop an unkown file-format, show a message to hint which files and formats we support
  3. drop a csv in a not support format, show same message as above