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

Add direct link to main file in oai_dc export (OAI-PMH) #800

Closed
pronguen opened this issue Mar 10, 2022 · 4 comments · Fixed by #833
Closed

Add direct link to main file in oai_dc export (OAI-PMH) #800

pronguen opened this issue Mar 10, 2022 · 4 comments · Fixed by #833
Assignees
Labels
effort: minor Solved quickly enhancement Enhancement of an existing feature f: data About data model, importation, transformation, exportation of data, specific for bibliographic data p-High To set a high priority!

Comments

@pronguen
Copy link
Contributor

pronguen commented Mar 10, 2022

The need

To generate thumbnails, the harvester needs the direct link to the file. It is currently not part of the oai_dc (Dublin Core) export.

To do

  • structure the dc:identifier field as follows:
    • the first occurrence contains the record's permalink
    • the following occurrences contain the URLs of the main file (and ev. of the other files)
  • document this in the SONAR help, as it is not conform to the OpenAIRE guidelines

Linked to #661

@pronguen pronguen added effort: minor Solved quickly enhancement Enhancement of an existing feature f: data About data model, importation, transformation, exportation of data, specific for bibliographic data p-High To set a high priority! needs info labels Mar 10, 2022
@pronguen
Copy link
Contributor Author

@mmo Could you have a look and clarify the specification?

@Garfield-fr Garfield-fr self-assigned this Apr 25, 2022
Garfield-fr added a commit to Garfield-fr/sonar that referenced this issue Apr 27, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes rero#800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Garfield-fr added a commit to Garfield-fr/sonar that referenced this issue Apr 27, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes rero#661.
* Closes rero#800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Garfield-fr added a commit to Garfield-fr/sonar that referenced this issue Apr 27, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes rero#661.
* Closes rero#800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Garfield-fr added a commit to Garfield-fr/sonar that referenced this issue May 2, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes rero#661.
* Closes rero#800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Garfield-fr added a commit that referenced this issue May 2, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes #661.
* Closes #800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
PascalRepond pushed a commit that referenced this issue May 5, 2022
* Adds files into the `dc:identifier`.
* Adds attributes `xml:lang` on the descriptions, subjects
  and titles fields.
* Closes #661.
* Closes #800.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
@pronguen
Copy link
Contributor Author

I reopen it since it is not corrected in v1.7.0

@Garfield-fr
Copy link
Contributor

I reopen it since it is not corrected in v1.7.0

Currently only local files are present. Should I include links to external files?

@pronguen
Copy link
Contributor Author

pronguen commented Jun 8, 2022

This is an example of a document imported with the file staying on RERO DOC:
https://sonar.ch/usi/documents/51589 / RERO DOC record

To investigate: why this file/record and not all? Should we correct this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: minor Solved quickly enhancement Enhancement of an existing feature f: data About data model, importation, transformation, exportation of data, specific for bibliographic data p-High To set a high priority!
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants