Open pbuttigieg opened 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
More info:
id=72
(also notice no url
, in either the Solr index or the JSON-LD, that could point to something like their main catalogue home https://ioc-africa.org/dbs/displayData.php ) :
"id":"https://ioc-africa.org/dbs/jsonld/researchVessels.php?id=72",
"type":"Vehicle",
"txt_identifier":["72"],
"name":"RV Meiring Naudé",
"txt_payload":["360"],
"txt_countryOfOrigin":["South Africa"],
"txt_image":["http://app01.saeon.ac.za/sadcofunstuff/Images/image142.jpg"],
"txt_bodyType":["ship"],
"txt_countryOfAssembly":["South Africa"],
"txt_region":["Africa",
"Sub-Saharan Africa"],
"txt_countryOfLastProcessing":["South Africa"],
"id_provider":["https://oceaninfohub.org/.well-known/org/africaioc"],
"txt_provider":["IOC Africa Data Portal"],
@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
Updates:
url
property will be set to their viewer home: https://ioc-africa.org/dbs/displayData.php
@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.