aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_lookup.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-05 16:15:04 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-05 16:15:04 -0700
commit75a5a436a43c1a82925854f9421ab408c5618caa (patch)
tree62907026c17f76560657fdb537cfe189e884b14f /python/fatcat_web/templates/release_lookup.html
parent95b9e7d906248bae4e43096887e6d3bb57dca8de (diff)
downloadfatcat-75a5a436a43c1a82925854f9421ab408c5618caa.tar.gz
fatcat-75a5a436a43c1a82925854f9421ab408c5618caa.zip
fixes to lookup views
Diffstat (limited to 'python/fatcat_web/templates/release_lookup.html')
-rw-r--r--python/fatcat_web/templates/release_lookup.html19
1 files changed, 15 insertions, 4 deletions
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.
<b><a href="https://doi.org/{{ lookup_value }}">https://doi.org/{{ lookup_value }}</a></b>
{% elif lookup_key == "pmcid" %}
<p>You can check if it is a real PMCID by visiting:
-<b><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }}/">https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }}/</a></b>
+<b><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }}">https://www.ncbi.nlm.nih.gov/pmc/articles/{{ lookup_value }}</a></b>
+{% elif lookup_key == "pmid" %}
+<p>You can check if it is a real PMID by visiting:
+<b><a href="https://www.ncbi.nlm.nih.gov/pubmed/{{ lookup_value }}">https://www.ncbi.nlm.nih.gov/pubmed/{{ lookup_value }}</a></b>
+{% elif lookup_key == "arxiv" %}
+<p>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.
+<p>You can check if it is a real arXiv pre-print by visiting:
+<b><a href="https://arxiv.org/abs/{{ lookup_value }}">https://arxiv.org/abs/{{ lookup_value }}</a></b>
+{% elif lookup_key == "jstor" %}
+<p>You can check if it is a real JSTOR work by visiting:
+<b><a href="https://www.jstor.org/stable/{{ lookup_value }}">https://www.jstor.org/stable/{{ lookup_value }}</a></b>
{% elif lookup_key == "wikidata_qid" %}
<p>You can check if it is a real Wikidata entity by visiting:
-<b><a href="https://www.wikidata.org/wiki/{{ lookup_value }}/">https://www.wikidata.org/wiki/{{ lookup_value }}/</a></b>
+<b><a href="https://www.wikidata.org/wiki/{{ lookup_value }}">https://www.wikidata.org/wiki/{{ lookup_value }}</a></b>
{% endif %}
</div>
{% endif %}
@@ -83,8 +94,8 @@ to Wikidata by QID. Anybody can edit Wikidata and create QIDs.
<p><a href="https://en.wikipedia.org/wiki/Archival_Resource_Key">Archival
Resource Keys</a> 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) }}
-<i>&nbsp; Only the identifier part (starting with "ark:"), not the full URL.</i>
+{{ entity_macros.lookup_form("release", "ark", "ark:/2349/sddd92", lookup_key, lookup_value, lookup_error) }}
+<i>&nbsp; Only the identifier part (starting with "ark:/"), not the full URL.</i>
</div>
<div class="ui attached segment">