Skip to content

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

@CathyJinJNCC

Description

@CathyJinJNCC

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions