Ferronier-yaml¶
A Ferronier plugin to parse YAML data.
Download and Install¶
ferronier-yaml is published on Pypi:
python3 -m pip install ferronier-yaml
Source code is hosted on the Forge des communs numériques éducatifs.
Load plugin¶
This plugin is loaded by adding the (empty) section [plugins.yaml] in your configuration file:
data = "foobar.yaml"
[plugins.yaml]
Use plugin¶
This plugin has no options. If your data file or url ends with .yaml, it is parsed as YAML data:
data = "foobar.yaml"
[plugins.yaml]
Disregarding file or URL extension, you can also explicitely set YAML as the file format:
[data]
source = "remote"
path = "https://example.com/data.txt"
format = "yaml"