iodepo / oih-ui

source code for the Ocean InfoHub (OIH) website
https://oceaninfohub.org/
MIT License
5 stars 4 forks source link

url/id link for Vessel results from IOCAfrica node #39

Open pbuttigieg opened 1 year ago

pbuttigieg commented 1 year ago

@fils @jmckenna

On the UI, results pointing back to vessels coming from the Africa node (here) link directly to the JSON-LD, rather than an landing page in the partner's site.

I think this is because the @id is used correctly, or perhaps the url is the same as the @id to the JSON-LD.

The expected behaviour is that clicking on the result's main link will take you to the partner's landing page for that vessel.

jmckenna commented 1 year ago

The issue is that the AfricaIOC node does not have a dedicated landing page for each resource in their catalogue (it does not exist). So, how do we handle this (in the frontend search) for partners that do not have dedicated landing pages for each resource? (in this case, each vessel)

See an example JSON-LD for vessel at https://ioc-africa.org/dbs/jsonld/researchVessels.php?id=72

jmckenna commented 1 year ago

More info:

jmckenna commented 11 months ago

@dilianadineva at our next meeting, will explain that all of your JSON-LD records should include a url parameter, pointing to: https://ioc-africa.org/dbs/displayData.php

jmckenna commented 10 months ago

Updates: