iodepo / oih-ui

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

How to handle records that have no landing page #104

Closed jmckenna closed 2 weeks ago

jmckenna commented 11 months ago

related to https://github.com/iodepo/oih-ui/issues/39 related to https://github.com/iodepo/odis-arch/issues/337#

jmckenna commented 11 months ago
jmlord commented 11 months ago

Not sure how we could catch this, it would mean not trusting the metadata and searching for content on the page?

In the specific case of IOC Africa, they could change the JSON-LD to lead to the country page, which would at least include the project: Example: https://ioc-africa.org/dbs/advancedSearch.php?action=browse&project_country=1

pbuttigieg commented 10 months ago

Well, if there's no landing page, the url property should not be filled.

If that's the case, the UI can render a very basic page (similar to what the schema.org validator renders) that at least displays the metadata clearly. We can add a note at the top of that page stating that no webpage is provided for that record, but its metadata is below.

ODIS partners should be encouraged to produce landing pages on their side, where possible.

pbuttigieg commented 2 weeks ago

image