Closed lucagiovannini7 closed 7 months ago
This issue more or less duplicates #13. To paraphrase: the XSL transformation already creates the textClass/classCode
markup. It omits the keywords
element because this is currently not used by the API and is kind of redundant. The remaining question is do we want to somehow map the sub genres occurring in the EarlyPrint sources to the textClasses currently recognised and supported by DraCor (which are the one defined in https://github.com/dracor-org/dracor-api/blob/0fe102e735708e4f3cfe3e736d54b23a3a1a9514/modules/config.xqm#L77).
See also https://github.com/dracor-org/dracor-schema/issues/52.
Thanks! This also answers a point we were discussing today with @peertrilcke: the <normalizedGenre>
in the metadata table is actually generated from the Wikidata items via mapping.
Let's discuss remaining questions in #13.
Plays where the textual genre is indicated follow this simpler markup
instead of the DraCor standard
Should we reintroduce the
keywords
element?