Skip to content

Feature Request: Request identifier support for OAI_DC harvesting #10982

@stevenferey

Description

@stevenferey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions