openaire / iis

Information Inference Service of the OpenAIRE system
Apache License 2.0
20 stars 11 forks source link

Add application/xml as valid mimetype for importing XML records coming from Springer #1459

Closed marekhorst closed 3 months ago

marekhorst commented 3 months ago

Currently import_content_mimetypes_xml_pmc parameter is set to xml, which was sufficient until now when importing PubMed contents, but every Springer content imported in bulk by PDF Aggregation System has mimetype set to application/xml which means currently Springer contents are discarded during the import as their mimetype is not recognized as eligible for import.

The import_content_mimetypes_xml_pmc parameter can be overridden at runtime but it is better to introduce a permanent solution and update the default value in workflow.xml file.

marekhorst commented 3 months ago

This change was pushed to the master branch but it should be also manually backported to already deployed most recent IIS version to allow importing Springer contents without the need of deploying updated IIS version.

marekhorst commented 3 months ago

The following already deployed apps were patched with application/xml support: