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

Import publications from swisscovery #610

Closed
pronguen opened this issue Jul 26, 2021 · 2 comments · Fixed by #630
Closed

Import publications from swisscovery #610

pronguen opened this issue Jul 26, 2021 · 2 comments · Fixed by #630

Comments

@pronguen
Copy link
Contributor

pronguen commented Jul 26, 2021

Expected workflow

  1. From the deposit form, it is possible to import the data from the PDF, but also from Swisscovery (in the future: Past a DOI and import from Crossref). This should be possible even if no file was uploaded in SONAR.
    • [Nice to have] the import feature is also available in the document editor
      image
  2. This open a modal window with title "Import metadata from swisscovery"
    • It has one dropdown where the search input can be chosen: Everywhere / DOI / ID swisscovery (MARC 001) / ISBN / ISSN
      • Everywhere is the default value
    • Next to the dropdown there is an input field for the search
    • Below, the following text is displayed: "If data has been entered in the form, it will be overwritten."
  3. The first result given by SRU is automatically imported in the form.

Spec
SRU (explain): https://swisscovery.slsp.ch/view/sru/41SLSP_NETWORK?version=1.2&operation=explain
SRU (query example): https://swisscovery.slsp.ch/view/sru/41SLSP_NETWORK?operation=searchRetrieve&version=1.1&query=(all_for_ui=9783495491713)&recordSchema=marcxml&maximumRecords=1&startRecord=1
MARC21 of swisscovery: https://access.rdatoolkit.org/Document/Document?documentId=09adb0ac-f0bb-404c-aaba-0606c0fd0c19

Search

  • Everywhere: all_for_ui (it should be possible to enter various search terms)
  • DOI: digital_object_identifier (example)
  • ID swisscovery (MARC 001): mms_id (example)
  • ISBN: isbn
  • ISSN: issn
@pronguen
Copy link
Contributor Author

pronguen commented Aug 17, 2021

Mapping:

  • contribution.role not correct. Examples "991011495419705501" and "991110414609705501" should have the person as creator, not as contributor
  • Fields contentNote, notes, partOf seem not mapped
  • Field provisionActivity should in some cases respect the 2 different dates (one in 008, the other in 264). Try example "991116551209705501". Currently the wrong date is taken for field provisionActivity.statement.value[type=bf:Date]
  • I just added the mapping for series if you can add it 😅

Search

  • Search Everywhere does work only within one field. Should work even if you search a term from the title combined the author name for example.
    image
  • In any case, the system should display the number of results found.
    • [nice to have] Ideally in the very best case, we have the number of results and the 5 firsts of them displayed with title and link to the swisscovery detailed view (opened in a new tab). The user can choose which one he/she wants to import.
  • When clicking on "Import from swisscovery", the pointer should be automatically placed on the field "Scope" to facilitate keyboard navigation.

@sebdeleze
Copy link
Contributor

Search

  • Search Everywhere does work only within one field. Should work even if you search a term from the title combined the author name for example.
    image

  • In any case, the system should display the number of results found.

    • [nice to have] Ideally in the very best case, we have the number of results and the 5 firsts of them displayed with title and link to the swisscovery detailed view (opened in a new tab). The user can choose which one he/she wants to import.
  • When clicking on "Import from swisscovery", the pointer should be automatically placed on the field "Scope" to facilitate keyboard navigation.

I propose to create another issue for handling that.

@mmo mmo closed this as completed in #630 Sep 7, 2021
mmo pushed a commit that referenced this issue Sep 7, 2021
* Adds an endpoint to search for swisscovery records.
* Adds a loader to transform swisscovery record to document record.
* Adds a serializer to transform document record to deposit record.
* Closes #610.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants