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

Update the ingester to get web resources to use anchor links #215

Open
CathyJinJNCC opened this issue May 4, 2020 · 0 comments
Open

Update the ingester to get web resources to use anchor links #215

CathyJinJNCC opened this issue May 4, 2020 · 0 comments

Comments

@CathyJinJNCC
Copy link
Contributor

CathyJinJNCC commented May 4, 2020

We currently don't have the functionality to point to web resources on an asset page using anchor links, e.g. for a file resource we can link to it like so https://hub.jncc.gov.uk/assets/598a60db-9323-4781-b5a8-dcf0ca3b29f9#UKSACswithMarineComponents-20191105-LIVE-WEB.xlsx

Make changes to the datahub ingester to allow for these links

  • Change the URLs in the index documents of web resources to use anchor links by webifying the web resource title, e.g. Web Map Service Link -> web-map-service-link
  • Potentially save this webified name to dynamo so that the datahub front end does not need to apply the same logic and can just retrieve it from the asset record? This may require a further data patch to populate this field for all the existing records.
  • Reindex datahub records
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant