Hi!
We are leading a project in Balearic Islands to try to introduce new tecnologies in education centers. One of our goals is to improve the use of free software as much as possible, so FET fits on our project perfectly.
What we are planning to implement (or asking whether it's possible to implement) is an import/export module for FET to be able to share data with Gestib, a school administration software used in all schools in Balearic Islands.
Both import and export data is made through XML files, so I'm sure it would be easily done by FET. Specs on that files are unknown yet, but as soon as I can get them I'll start working on that.
I would like to start looking at FET code to see how importing/exporting is done, and also to know if we will get some help on that goal.
Many thanks in advance and kind regards to all you!
Jaume Obrador.
Hallo,
have a look into the /src/engine/timetableexport.cpp and maybe also into /scr/engine/export.cpp.
Ask more detailed if you need more help. Of course we can help.
Thanks a lot Volker.
I'll look into that files. I don't have yet a detailed specs of import/export XML file, but I asked and presented our project just to start looking at the code, now that we are on holidays and I have some time to.
Regards.
Jaume.
Quote
have a look into the /src/engine/timetableexport.cpp and maybe also into /scr/engine/export.cpp.
I forgot to say: That are the export files of timetable result export and csv export.
Loading a fet file is in /src/engine/rules.cpp function bool Rules::read(...)
But you can read that maybe later. I think it is unneded to understand the xml file format.
And one more i forgot. Writing the fet xml file (so not only result, also constraints, ...) is done also in rules.cpp function rules::write(...).
Many thanks Volker, I was looking now at rules.cpp. Where are the "Import->csv values..." function done?
Regards!
Jaume.
QuoteMany thanks Volker, I was looking now at rules.cpp. Where are the "Import->csv values..." function done?
in src/engine/import.cpp
:o of course!! :)
To import the FET obtained timetable into another application is very easy this way: use ttt_activities.xml from the generated timetables folder. This has the time for each activity in an xml file.
If your school application is based on databases, I think the better solution is to use the csv file (File > Export )