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 medium to "related" #1090

Closed
acka47 opened this issue Dec 4, 2020 · 2 comments
Closed

Add medium to "related" #1090

acka47 opened this issue Dec 4, 2020 · 2 comments

Comments

@acka47
Copy link
Contributor

acka47 commented Dec 4, 2020

Requested by NWBib editors via mailing list in thread "Fwd: Re: Feedback zur NWBib, aktuelle URL test.nwbib.de/search?person=Hanekamp%2C+Marietta", 15.-17.06.2020.

Some resources exist both as print and online resources and there are two separate records. Example:

Print version vs. Online version

Currently, there is now hint for people looking at the print resource to see that an online version exists. We want to add this in the UI.

NWBib editors asked us to use in the NWBib UI the value in 776.n as link text and the related resource URI as link. From the source:

<datafield tag="776" ind1="-" ind2="1">
  <subfield code="i">Erscheint auch als</subfield>
  <subfield code="n">Online-Ausgabe, PDF</subfield>
  <subfield code="a">Hübner, Carina</subfield>
  <subfield code="t">
  Der Prozess der Berufsorientierung aus der Perspektive der Schülerschaft mit sonderpädagogischem Unterstützungsbedarf im   Bereich Lernen an Förderschulen im Land Nordrhein-Westfalen
  </subfield>
  <subfield code="9">HT020163372</subfield>
</datafield>

However, we alreay have the online resource linked from the print resource via related:

  "related": [
    {
      "id": "http://lobid.org/resources/HT020163372#!",
      "label": "Der Prozess der Berufsorientierung aus der Perspektive der Schülerschaft mit sonderpädagogischem Unterstützungsbedarf im Bereich Lernen an Förderschulen im Land Nordrhein-Westfalen"
    }
  ]

Thus, we should go on from there. I assume, we could implement this UI-wise as soon as we add the medium to the related resource:

{
   "related":[
      {
         "id":"http://lobid.org/resources/HT020163372#!",
         "label":"Der Prozess der Berufsorientierung aus der Perspektive der Schülerschaft mit sonderpädagogischem Unterstützungsbedarf im Bereich Lernen an Förderschulen im Land Nordrhein-Westfalen",
         "medium":[
            {
               "id":"http://rdaregistry.info/termList/RDACarrierType/1018",
               "label":"Online-Ressource"
            }
         ]
      }
   ]
}

We could add the medium field for realted online resources based on the value in 776.n, so whenever it contains the value "online" we would add the medium information.

@acka47
Copy link
Contributor Author

acka47 commented Dec 4, 2020

We could also make it simpler without the nested object (on the other hand, we could use the "label" for display of the link...):

{
   "related":[
      {
         "id":"http://lobid.org/resources/HT020163372#!",
         "label":"Der Prozess der Berufsorientierung aus der Perspektive der Schülerschaft mit sonderpädagogischem Unterstützungsbedarf im Bereich Lernen an Förderschulen im Land Nordrhein-Westfalen",
         "medium":"http://rdaregistry.info/termList/RDACarrierType/1018"
      }
   ]
}

@acka47
Copy link
Contributor Author

acka47 commented Aug 26, 2021

Duplicate of #1090. Closing.

@acka47 acka47 closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant