globalbioticinteractions / nomer

maps identifiers and names to other identifiers and names
GNU General Public License v3.0
19 stars 3 forks source link

Unable to link to DiscoverLife Species Page by copy-pasting URL from browser #150

Closed jhpoelen closed 6 months ago

jhpoelen commented 1 year ago

When trying to navigate DiscoverLife's site I start on their landing page: https://www.discoverlife.org/ I then enter the name in question, ex: Pseudopanurgus parvus: image Searching this name brings me to the page showing the species information, however; the URL link found in the top search is not a link that I can copy to help others navigate to that said page. image https://www.discoverlife.org/mp/20q <- is the link. Using that as your url will bring you to the following page: image Which is an uninformative page concerning that actual address of what I was trying to share. Example case was done in Firefox browser

Originally posted by @jtmiller28 in https://github.com/globalbioticinteractions/nomer/issues/149#issuecomment-1468857006

jhpoelen commented 6 months ago

@jtmiller28 - note that the discoverlife site uses iframes. This makes it harder to directly link to search results rendered within the search frame. Note that Nomer does generate these direct links.

e.g.,

echo -e "\tMelissodes tepidus" | nomer append --include-header discoverlife | mlr --itsvlite --oxtab cat providedExternalId
providedName Melissodes tepidus relationName HAS_ACCEPTED_NAME resolvedExternalId https://www.discoverlife.org/mp/20q?guide=Apoidea_species&search=Melissodes+tepidus resolvedName Melissodes tepidus resolvedAuthorship Cresson, 1878 resolvedRank species resolvedCommonNames
resolvedPath Animalia | Arthropoda | Insecta | Hymenoptera | Apidae | Apinae | Eucerini | Melissodina | Melissodes | Melissodes | Melissodes tepidus resolvedPathIds
resolvedPathNames kingdom | phylum | class | order | family | subfamily | tribe | subtribe | genus | subgenus | species resolvedPathAuthorships resolvedExternalUrl https://www.discoverlife.org/mp/20q?guide=Apoidea_species&search=Melissodes+tepidus

with https://www.discoverlife.org/mp/20q?guide=Apoidea_species&search=Melissodes+tepidus rendered on 2024-05-02 as shown in the screenshot below.

image

jhpoelen commented 6 months ago

Suggest to contact DiscoverLife site admins to share your observations and suggestions.