EventFahrplan / voctosched

Tools for generating and manipulating Frab-style Fahrplan. Forked from:

Home Page:https://github.com/voc/voctosched

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Tools for generating and manipulating Frab-style Fahrplan. Forked from:

https://github.com/voc/voctosched

License:GNU General Public License v3.0


Languages

Language:Python 81.0%Language:XSLT 19.0%