MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

xml2kvp: attribute configurations #234

Closed ghukill closed 6 years ago

ghukill commented 6 years ago

Need a bit more granular control on inclusion of attributes in field name creation.

Currently have these configurations:

"exclude_attributes": []   <-- list of attributes to skip
"include_attributes": true  <-- boolean to turn on/off attributes entirely

Was never happy with their inverse names, but not quite inverse behavior. What is also needed is a list of attributes to include, which might supplant include_attributes. Could call the high level include_all_attributes? But have the behavior be, if that is False, still listen to include_attributes list, the same way the inverse is true for True to all attributes, but exclude_attributes removes?

ghukill commented 6 years ago

Done.