OPENDAP / Website

template repo for website project management
0 stars 0 forks source link

Links from the Hyrax server's web form are broken. #39

Open jgallagher59701 opened 2 months ago

jgallagher59701 commented 2 months ago

While looking at this old site https://nosc.go.kr/opendap/ (https://nosc.go.kr/main.do) running 1.16.3, I found that links to the help items are dead (e.g., https://www.opendap.org/online_help_files/opendap_form_help.html#global_attr).

I checked the latest deployment (test.opendap.org), and they are dead there, too.

jgallagher59701 commented 2 months ago

See also Issue #15

Mikejmnez commented 2 months ago

@jahattox Is there a way to customize the name of anchor links? For example, how can I rename the anchor link #single_column_content-5 to something else in the example below?

Image

Mikejmnez commented 2 months ago

@jahattox Is there a way to customize the name of anchor links? For example, how can I rename the anchor link

single_column_content-5 to something else in the example below?

Actually nevermind - James helped me learned how to :)

Mikejmnez commented 2 months ago

Done! Two things needed to happen to fix this issue:

  1. Create anchor links for each of the options on the Data Response Form: actions (#disposition), data url (#data_url), Global Attributes (#global_attr), Global dimensions (#shared_dimesions), and Variables (#dataset_variables).
  2. Create a redirect from the url associated to the response form (www.opendap.org/online_help_files/opendap-help-files.html to the new page www.opendap.org/support/online_help_files).

I checked and things are working as expected.