IATI / D-Portal

http://d-portal.org/
Other
30 stars 23 forks source link

Feature: Link d-portal to the IATI Validator #636

Closed amy-silcock closed 3 months ago

amy-silcock commented 2 years ago

Use case: Publishers often check d-portal to ensure their data is displaying correctly. To further this, a link from each activity to it's file's validation page could be added.

Design: Link to the IATI Validator results page to be added to the following bar: image

E.g. this activity XM-DAC-41121-2021-EHGL should link to the following Validator results page (this page is for the file UNHCR-Activities-2022.xml)

Note, that the URL for the validator page changes each time the file is updated and the hash changes in the IATI Registry.

notshi commented 2 years ago

Hi @amy-silcock - this feature is now live on d-portal.

Note, that the URL for the validator page changes each time the file is updated and the hash changes in the IATI Registry.

The number used in the url is not a hash (or a checksum). It is an internal CKAN id that does not change when the files content changes.

We are not sure why the validator is using this CKAN id as opposed to the dataset slug that is already currently being used for the Registry.

As such, we have had to create an additional lookup table so that we can change the dataset slug into this new validator id link.

We suggest the validator team to take a look at this and use the actual hash since that seems to be the original intention. If that is no longer the case, please use the dataset slug.

amy-silcock commented 2 years ago

Great to see this implemented! I'll pass your feedback over to our devs to have a look at