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

How to handle records that have no landing page #104

Closed
jmckenna opened this issue Oct 24, 2023 · 4 comments
Closed

How to handle records that have no landing page #104

jmckenna opened this issue Oct 24, 2023 · 4 comments

Comments

@jmckenna
Copy link
Contributor

jmckenna commented Oct 24, 2023

related to #39
related to iodepo/odis-arch#337

@jmckenna
Copy link
Contributor Author

  • is it possible to somehow catch this in the front-end, and include a note inside the record, that this record does not have a landing page? (maybe we'd have to catch this instead at the graph level, and include a flag in Solr)

@jmlord
Copy link

jmlord commented Oct 27, 2023

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
Copy link
Collaborator

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
Copy link
Collaborator

image

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

3 participants