add option to set default replacement field value

Missing or undefined keywords will now be replaced with the value
set for 'keywords-default'. The default is Python's 'None', which
is equivalent to setting this option to JSON's 'null'.
This commit is contained in:
Mike Fährmann
2018-02-21 23:18:21 +01:00
parent ac3da8115e
commit e1e0668ca8
3 changed files with 27 additions and 8 deletions

View File

@@ -383,6 +383,16 @@ Description Additional key-value pairs to be added to each metadata dictionary.
=========== =====
extractor.*.keywords-default
----------------------------
=========== =====
Type any
Default ``"None"``
Description Default value used for missing or undefined keyword names in
format strings.
=========== =====
extractor.*.archive
-------------------
=========== =====