Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Header ID support for OAI_DC harvesting #10982

Open
stevenferey opened this issue Oct 30, 2024 · 0 comments
Open

Feature Request: Header ID support for OAI_DC harvesting #10982

stevenferey opened this issue Oct 30, 2024 · 0 comments
Labels
Type: Feature a feature request

Comments

@stevenferey
Copy link
Contributor

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 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 header identifier 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

@stevenferey stevenferey added the Type: Feature a feature request label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature a feature request
Projects
None yet
Development

No branches or pull requests

1 participant