EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
98 stars 41 forks source link

Have URLs be clickable hyperlinks #155

Open mcourtot opened 7 years ago

mcourtot commented 7 years ago

Example: http://www.ebi.ac.uk/ols/ontologies/plana/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FPLANA_0000028

From https://groups.google.com/forum/#!topic/obo-discuss/Fsb0zQJqKS0

Hello All,

I want to add urls to external pages to my terms that have rich information about terms, like figures and expression patterns.

I tried using the seeAlso tag and I added the url. The url shows up in the OLS but I was hoping that it would be a clickable link.

Here is the line in my owl,

https://planosphere.stowers.org/category2cell Is there something I can do indicate that this is a url and I want it to be a link? Should the datatype be something like anyURI? Thank you, Sofia @srobb1
simonjupp commented 7 years ago

I think we'll just start trying to detect URLs in annotations and then make these hyperlinks.

matentzn commented 5 years ago

Would love to see the priority of this elevated. :)

matentzn commented 4 years ago

If you look here you can see

image

It would be great if we could click on http://purl.obolibrary.org/obo/MP_0001322 and stay, if the term exists, in that same ontology; if it does not, go to the redirected URL instead.

matentzn commented 4 years ago

Right now, this link is not shown at all here:

https://www.ebi.ac.uk/ols/ontologies/mondo/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0003847&viewMode=All&siblings=false

image

You can see a section for exact match, but nothing is displayed. You can see what should be shown here: http://www.ontobee.org/ontology/MONDO?iri=http://purl.obolibrary.org/obo/MONDO_0003847

henrietteharmse commented 4 years ago

@matentzn Can you please log the above exactMatch issue as a different issue? This I believe is a bug and something we can possibly resolve quickly, whereas this general issue of having clickable links is a bit more challenging to resolve in a performant manner.

matentzn commented 4 years ago

Of course, thanks @henrietteharmse done: https://github.com/EBISPOT/OLS/issues/425