Hi @bertfrees and @PaulRambags
As we discussed in our meeting, I propose we add some metadata to handle specific processing instructions that we only can add as parameters to the tooling today.
All parameters added in the metadata definition below using prefix proc (processing instructions) can be found in https://github.com/mtmse/dotify.api/blob/master/src/org/daisy/dotify/api/formatter/FormatterConfiguration.java
<meta xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:proc="http://www.daisy.org/ns/2020/dotify/processing-instruction">
<dc:title>Competitive Marketing via Subtle Messaging</dc:title>
<dc:creator>Persson, Daniel</dc:creator>
<dc:language>sv</dc:language>
<dc:publisher>MTM</dc:publisher>
<dc:source>DTB31337</dc:source>
<proc:translationMode>uncontracted</proc:translationMode>
<proc:locale>sv-SE</proc:locale>
<proc:allowsTextOverflowTrimming>false</proc:allowsTextOverflowTrimming>
<proc:allowsEndingVolumeOnHyphen>true</proc:allowsEndingVolumeOnHyphen>
<proc:hyphenating>true</proc:hyphenating>
<proc:markCapitalLetters>true</proc:markCapitalLetters>
<proc:ignoredStyles>em,strong</proc:ignoredStyles>
</meta>
In the current implementation, only the mode, locale, markCapitalLetters, and ignoredStyle are variables added in Studio via code, configurable by the user, and available in different output templates.
This change ensures that the dotify library can produce a PEF document anytime later, just using the OBFL as input, which will improve the usefulness of the OBFL document.
My suggestion for the implementation later is to use these variables as the default variables but enable the option to override them during execution if you want to change the output after you've created the OBFL document.
Best regards
Daniel
Hi @bertfrees and @PaulRambags
As we discussed in our meeting, I propose we add some metadata to handle specific processing instructions that we only can add as parameters to the tooling today.
All parameters added in the metadata definition below using prefix proc (processing instructions) can be found in https://github.com/mtmse/dotify.api/blob/master/src/org/daisy/dotify/api/formatter/FormatterConfiguration.java
In the current implementation, only the mode, locale, markCapitalLetters, and ignoredStyle are variables added in Studio via code, configurable by the user, and available in different output templates.
This change ensures that the dotify library can produce a PEF document anytime later, just using the OBFL as input, which will improve the usefulness of the OBFL document.
My suggestion for the implementation later is to use these variables as the default variables but enable the option to override them during execution if you want to change the output after you've created the OBFL document.
Best regards
Daniel