jhu-digital-manuscripts / rosa2

4 stars 2 forks source link

Linked search service on collections may have incorrect ID #453

Closed jabrah closed 3 years ago

jabrah commented 4 years ago

Looks like one of the linked search services may have an incorrect ID. Here we have an example of the Rose collection, currently on JDM: https://jdm.library.jhu.edu/iiif-pres-dlmm/rose/collection

"service": [
    {
      "@context": "http://manuscriptlib.org/jhiff/search/context.json",
      "@id": "https://jdm.library.jhu.edu/iiif-pres-dlmm/rose/collection/jhsearch",
      "profile": "http://iiif.io/api/search/0/search",
      "label": "Roman de la Rose Digital Library"
    },
    {
      "@context": "http://manuscriptlib.org/jhiff/search/context.json",
      "@id": "https://jdm.library.jhu.edu/iiif-pres-dlmm/dlmm/collection",
      "profile": "http://iiif.io/api/search/0/search",
      "label": "Digital Library of Medieval Manuscripts"
    }
  ]

The first search service looks fine, but the associated DLMM search service doesn't have the /jhsearch at the end of the path.

The DLMM collection object itself does link to the correct URL for its own search service, though.