Open luddaniel opened 3 months ago
Oh, a parser. Yes, sure. Actually @philippconzett @qqmyers and I (and others) talked about the need for this just this morning (among other things) in the context of #10677.
Basically, all parsing of incoming formats is hard-coded. Right now, you'd have to make a pull request to add a new parser. Yes, it would be nice if these parsers could be added as a jar file (much more modular).
So, this feature (#10699) could be part of the solution of #10677?
As many want to add new harvesting protocols to the 3 existing protocols : OAI DC, OAI DDI + dataverse_json; What about having the capability to add a Java Service Provider Interface (SPI) plugin to support a new harvesting protocol parser (like Installing External Metadata Exporters) ? The community could have an easier time adding to the harvesting feature. This have been mentioned in the code back in 2016 : https://github.com/IQSS/dataverse/blob/8c99a74f854a62050d850dccf30246c2fb06a5b9/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportServiceBean.java#L219