Export generated timetable data

Started by mbarsan, September 27, 2010, 09:24:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mbarsan

Hi Liviu and all,
   for administrative purpose, an office needs timetable data in a text file with this record layout:

SUBGROUP  DAY      START     END    SUBJECT     SURNAME      NAME      ROOM
               
1AIGEA    LUNEDI    7.55    8.50    ITALIANO    COGNOME A    NOME A
1AIGEA    LUNEDI    8.50    9.45    ITALIANO    COGNOME A    NOME A
1AIGEA    LUNEDI    9,45   10,40    SCIENZE     COGNOME B    NOME B
1AIGEA    LUNEDI   10.50   11.45    SCIENZE     COGNOME B    NOME B
1AIGEA    LUNEDI   11.45   12.40    INGLESE     COGNOME C    NOME C
1AIGEA    LUNEDI   12.40   13.35    RELIGIONE   COGNOME D    NOME D
        ...       
1AIGEA    MARTEDI   7.55    8.50    ECON.AZ.    COGNOME E    NOME E
1AIGEA    MARTEDI   8.50    9.45    SCIENZE     COGNOME B    NOME B
1AIGEA    MARTEDI   9,45   10,40    ITALIANO    COGNOME A    NOME A
1AIGEA    MARTEDI   9,45   10,40    ITALIANO    COGNOME Z    NOME Z
1AIGEA    MARTEDI  10.50   11.45    FRANCESE    COGNOME F    NOME F
1AIGEA    MARTEDI  11.45   12.40    ITALIANO    COGNOME A    NOME A
1AIGEA    MARTEDI  12.40   13,35    ED.FISICA   COGNOME G    NOME G    PALESTRA
        ...
        ...
2E GEOM   GIOVEDI   7.55    8.50    DISEGNO     COGNOME H    NOME H
2E GEOM   GIOVEDI   8.50    9.45    DISEGNO     COGNOME H    NOME H
2E GEOM   GIOVEDI   9,45   10,40    COSTRUZ.    COGNOME I    NOME I
2E GEOM   GIOVEDI  10.50   11.45    INGLESE     COGNOME L    NOME L
2E GEOM   GIOVEDI  10.50   11.45    INGLESE     COGNOME X    NOME X
2E GEOM   GIOVEDI  11.45   12.40    DIRITTO     COGNOME M    NOME M
2E GEOM   GIOVEDI  12.40   13,35    FISICA      COGNOME N    NOME N
               
2E GEOM   VENERDI   7.55   8.50     FISICA      COGNOME N    NOME N
2E GEOM   VENERDI   8.50   9.45     ED.FISICA   COGNOME O    NOME O    PALESTRA


One subactivity -> one row.
Multiple (duplicate) rows for subactivities with more teachers or more students.
The output file can be a normal text file (csv ...)

Can you allow FET directly handle such a facility?

Can anyone suggest an easy script to extract these infos from the output .fet file, using an xml editor?

Thank you!


Liviu Lalescu

I would not like to add such export into FET, because there are very many possible formats like that and we cannot add each of them. But making a program to generate such an output is easy. I recommend using the activities.xml output file and the .fet input file, as they contain all needed information. Or using subgroups.xml, but I am not sure it contains all the needed information.

Chafik Graiguer

You can export timetables to csv
Then import it with a spreadsheet program OpenOffice or Ms office
You shall find every subactiviy
Unfortunately, the duration info is not exported