Post History
In a month or two I will have a book out on how to do things like this (Structured Writing: Rhetoric and Process, from XML Press). The big question is, what are you going to use to do the selecti...
Answer
#4: Attribution notice removed
Source: https://writers.stackexchange.com/a/35458 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/35458 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision
In a month or two I will have a book out on how to do things like this (_Structured Writing: Rhetoric and Process_, from XML Press). The big question is, what are you going to use to do the selections based on the metadata and publish to the various output formats? Are you willing/able to write any code to do this? Since you are dealing with custom metadata, so degree of coding/configuration is going to be required to make this work. If so you can code you can probably pull together something workable from various open source tools. DITA is one choice. It is horribly overweight for this kind of thing, but you can probably make it all work with a ton of configuration and maybe a little coding. Writing in DITA will not be easy in a plain text file, however. Something like ASCII doc (a version of DocBook in lightweight syntax) might suit you for editing, but you will have to come up with a metadata solution to go with it. My book would show you various ways to approach this, but describing them here would take far too much space.