Open bhavin2897 opened 4 months ago
Hi, thanks for reporting that's a known issue, and I appreciate help on the following topic:
The website is hosted via github pages https://github.com/nmrML/nmrML/tree/gh-pages => how would I make the URL http://nmrml.org/nmrCV#NMR:1400014 resolveable ? Do we need to create a HTML file /nmrCV ? Should that redirect to the nmrCV ? E.g. http://nmrml.org/cv/v1.1.0/nmrCV.owl ? Yours, Steffen
The above-linked PR addresses this a little bit, by adding metadata to the nmrCV.owl which would at least be a resolvable link to the current d/l location of nmrCV.owl (v1.1).
Hi, @NRayya and @cs76 are also interested.
So, http://nmrml.org/ is served via GitHub pages. That means, the above Apache and NGinx fixes don't apply, unless we setup web servers for that. But we can place whatever files on nmrml.org as we want. So which do we need ?
http://nmrml.org/nmrCV#NMR:1400014 would resolve as soon as we have a file nmrCV
in https://github.com/nmrML/nmrCV/tree/gh-pages
What's missing is something sensible with the #NMR:1400014
part. So we could deploy a HTML-ified version of nmrCV.owl
that has the <a name="#NMR:1400014">
tag. This html would require automatic updates (e.g. via GitHub actions) for every commit of nmrCV.owl
.
Unless we do some github pages redirect magic possibly described here: https://theorangeone.net/posts/redirecting-static-pages/ , but again I am unsure if that would carry the #NMR:1400014
part to the new location.
Yours, Steffen
I had the liberty to create the file I suggested above. Now it is better than 404: One now gets (the same) output when accessing the IRI:
$ curl "http://nmrml.org/nmrCV#NMR:1400014"
# nmrCV Terminology
Please find the nmrCV at http://nmrml.org/cv/v1.1.0/nmrCV.owl
but, the response is served as Content-Type: application/octet-stream
, which means a browser will (once it is done complaining about http) then download the file instead of viewing it. Without file extension, there is no way to have it displayed/interpreted as HTML, which would be required for the above redirecting-static-pages approach.
Then I tried to have the HTML page http://nmrml.org/nmrCV.html#NMR:1400014 which now works,
and created a symbolic link to that HTML as http://nmrml.org/nmrCV#NMR:1400014
in https://github.com/nmrML/nmrML/tree/gh-pages,
which indeed returns the content of the HTML file, but still due to the missing filename extension served as application/octet-stream
.
Not yet perfect, I guess. Suggestions ? Yours, Steffen
Encountering an issue accessing the webpage located of all "http://nmrml.org/nmrCV#".
Attempts to open the page result in a failure to fetch the URL. This problem is seen regardless of the browser or network used, suggesting a potential server or configuration issue.
Thank you.
Example: Nuclear Magnetic Resonance CV IRI : http://nmrml.org/nmrCV#NMR:1400014 Term ID : NMR:1400014 Label/Name: NMR probe