0.0.2 • Published 10 years ago

csveat v0.0.2

Weekly downloads
3
License
GPL v3
Repository
github
Last release
10 years ago

CSVeat

Build an Adapt course structure from a CSV file.

Installation

Note: requires Node.js to be installed.

From the command line, run:

npm install -g csveat

Usage

  • The JSON will be written in the directory you run this command from:
csveat <file>
  • A CSV should be exported from Excel in the following style, where co-05 is a sub-menu and co-10, co-15 & co-20 are pages:

    CourseContent ObjectContent ObjectArticleBlockComponentType
    p101co-05co-10a-05b-05c-05text
    b-10c-10graphic
    b-15c-15hotgraphic
    co-15a-10b-20c-20narrative
    b-25c-25accordion
    c-30blank
    a-15b-30c-35media
    co-20a-20b-35c-40mcqsingle
    c-45mcqmultiple2
    b-40c-50mcqmultiple1
    c-55matching
    b-45c-60textinput
    b-50c-65gmcq
    b-55c-70slider
  • The first row needs to be the headers.

  • You may have 1 to ∞ content object columns.
  • Please see here for the snippets referenced. Use the tab triggers in the type column.