This is a plugin for pretalx that builds a yaml file that can be consumed by the fosdem website nanoc build.
Note this is a first version/proof of concept. Bug reports and pull requests are highly appreciated.
Features not yet implemented are:
- ordering of tracks (may need a change/plugin in pretalx?)
- track type (eg main track/keynote)
- some fields have a default value - check the code for TODO
- logo for talks/images for speaker - check need for resizing
- Make sure that you have a working pretalx development setup.
- Clone this repository, eg to
local/pretalx-nanoc-yaml-exporter
. - Activate the virtual environment you use for pretalx development.
- Execute
pip install -e .
within this directory to register this application with pretalx's plugin registry. - Restart your local pretalx server. You can now use the plugin from this repository for your events by enabling it in the 'plugins' tab in the settings.
- If you have a running pretalx setup, either create a conference from scratch or create a dummy conference by running
./manage.py create_test_event
- Ensure the plugin is installed (as mentioned above) and activated for the conference
- From a checked out version of the FOSDEM website in the pretalx branch , run
curl http://localhost:8000/democon/schedule/export/NanocExporter -o export/pentabarf.yaml
nanoc
nanoc view
replace democon with the name of the conference.
- To export the static files (attachments/logo/...) run
./manage.py export_schedule_html $confname
This will export a static html version of the pretalx schedule with all its media assets to the folder you configured in your pretalx.cfg file under filesystem.data. $data/htmlexport/.
Copyright 2023 Johan Van de Wauw
Released under the terms of the Apache License 2.0