/timetable2db

Application for inserting a new or a changed timetable into the database

Primary LanguageHaskell

This is a project for translating a existing time table structure in a new structure.

TODO:
 - add long names of a lecture
 - add ics export
 - add lecture fhs and pseudo request for mongodb

Build it with:
> cabal configure
> cabal build
or
> cabal install

For building the documentation use:
> cabal haddock --executables

For Testing:
> cabal install test-framework-hunit test-framework
> cabal configure --enable-tests
> cabal build
> cabal test

A example is in the /vorlage/s_bai6_unix.html

The programm needs two files: 
 - mongodb_bkp_fhsdozent.json -> lecturer wiht details
 - MultiLecturer.txt          -> pseudo lecturer and lecturer lists

For example use ghci.
> cd src
> ghci
Prelude> :l main.hs
*Main> :main "../vorlage/s_bai1.html" "bai1" "./"

Please think about the utf8 encoding.


*Bugs:
 - In the programm is a bug for the block events.
   When a day description have more then one lines.