IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

Feature Request: Request identifier support for OAI_DC harvesting #10982

Open stevenferey opened 3 weeks ago

stevenferey commented 3 weeks ago

Overview of the Feature Request

When harvesting in OAI_DC, it is possible that the identifier compatible with Dataverse is not entered in the metadata part. It is possible in this case that it is in the header and in the request tag of the response, example with this DOI:

<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH
  xmlns="http://www.openarchives.org/OAI/2.0/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
  http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2024-10-30T14:31:17.227Z</responseDate>
  <request
    verb="GetRecord"
    identifier="doi:10.13144/lil-1266"
    metadataPrefix="oai_dc">https://data.progedo.fr/oai</request>
  <GetRecord>
    <record>
      <header>
        <identifier>doi:10.13144/lil-1266</identifier>
        <datestamp>2024-10-30</datestamp>
      </header>
      <metadata>
        <oai_dc:dc
          xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"
          xmlns:dc="http://purl.org/dc/elements/1.1/"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
          <dc:title>International Social Survey Programme - Enquête France - Relations sociales III - 2017</dc:title>
          <dc:identifier>https://data.progedo.fr/codebooks/doi/10.13144/lil-1266</dc:identifier>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>

The purpose of this issue is to add the identifier of the request tag to the list of identifiers retrieved in the metadata part in order to increase the harvesting success rate.

Any open or closed issues related to this feature request?

10909

Are you thinking about creating a pull request for this feature?
A PR is planned