35
0
Fork 0
Mainly on GitHub! TOOD: Add Github CI which pushes to Foregejo https://github.com/voc/voctosched
  • Python 81.1%
  • XSLT 18.9%
Find a file
2024-06-26 15:12:31 +02:00
demo Several fixes for Proyektor 2022-07-01 14:29:33 +02:00
fahrplan More fixes 2024 2024-06-26 15:12:31 +02:00
handlers More fixes 2024 2024-06-26 15:12:31 +02:00
helper_scripts remove spaces from slug. voctoweb dont likes spaces 2017-07-12 22:17:34 +02:00
.gitignore main: logging, arguments, basic boilerplate stuff 2017-06-23 17:56:16 +02:00
fake2extended.ini.example working sample config 2017-06-23 20:05:55 +02:00
hacks.py print a pretty warning messgae when noexcept is used wrongly 2017-06-23 22:54:47 +02:00
LICENSE Initial commit 2017-05-15 14:54:37 +02:00
README.md use xsd from schedule repo 2022-07-01 19:46:40 +02:00
requirements.txt WIP on slug generation 2017-06-23 10:42:51 +02:00
schedule.py remove conference metadata override stub 2017-06-24 06:52:58 +02:00
util.py allow piping of input and output 2018-10-06 19:25:40 +02:00

voctosched

Scripts for converting various formats to frab-style fahrplan XML. This also may or may not be useful for users of pentabarf.

This repository implements an object representation of the frab export data model. This can be used to build different im-/exporters or manipulators for the frab schedule export.

There is also a number of application which can display the schedule on mobile devices or infoscreens. Some examples are:

Usage

pip3 install --user -r requirements.txt
./schedule.py -vvd -c ./demo/gpn11.ini

For more information about the input parameters and the generated output have a look at the demo directory, this should be a good starting point.

Currently supported inputs

  • CSV
  • JSON

Currently supported outputs

  • basic XML, frab format
  • extended XML, with additional video_download_url in events

Validator

The generated XML can be validated with the c3voc validator, which can be found here https://github.com/voc/schedule/tree/master/validator

A quick validation can also be done with:

xmllint --noout --schema https://raw.githubusercontent.com/voc/schedule/master/validator/xsd/schedule.xml.xsd schedule.xml