From 75a5a436a43c1a82925854f9421ab408c5618caa Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 5 Jun 2019 16:15:04 -0700 Subject: fixes to lookup views --- python/fatcat_web/templates/release_lookup.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'python/fatcat_web/templates/release_lookup.html') diff --git a/python/fatcat_web/templates/release_lookup.html b/python/fatcat_web/templates/release_lookup.html index 924d70db..add8da93 100644 --- a/python/fatcat_web/templates/release_lookup.html +++ b/python/fatcat_web/templates/release_lookup.html @@ -23,10 +23,21 @@ entity. https://doi.org/{{ lookup_value }} {% elif lookup_key == "pmcid" %}

You can check if it is a real PMCID by visiting: -https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }}/ +https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }} +{% elif lookup_key == "pmid" %} +

You can check if it is a real PMID by visiting: +https://www.ncbi.nlm.nih.gov/pubmed/{{ lookup_value }} +{% elif lookup_key == "arxiv" %} +

Note that Fatcat can only look up complete, versioned arxiv identifiers. If +you don't know the version, you can append "v1" to get the first version. +

You can check if it is a real arXiv pre-print by visiting: +https://arxiv.org/abs/{{ lookup_value }} +{% elif lookup_key == "jstor" %} +

You can check if it is a real JSTOR work by visiting: +https://www.jstor.org/stable/{{ lookup_value }} {% elif lookup_key == "wikidata_qid" %}

You can check if it is a real Wikidata entity by visiting: -https://www.wikidata.org/wiki/{{ lookup_value }}/ +https://www.wikidata.org/wiki/{{ lookup_value }} {% endif %} {% endif %} @@ -83,8 +94,8 @@ to Wikidata by QID. Anybody can edit Wikidata and create QIDs.

Archival Resource Keys are no-cost, distributed identifiers based on URLs. Mostly used by archival systems (as opposed to publishers or repositories). -{{ entity_macros.lookup_form("release", "ark", "ark:2349/sddd92", lookup_key, lookup_value, lookup_error) }} -  Only the identifier part (starting with "ark:"), not the full URL. +{{ entity_macros.lookup_form("release", "ark", "ark:/2349/sddd92", lookup_key, lookup_value, lookup_error) }} +  Only the identifier part (starting with "ark:/"), not the full URL.

-- cgit v1.2.3