From 388503d92ff8a1f26a0376cc42cefb077a1d6401 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 5 Jun 2019 15:56:52 -0700 Subject: more lookup views --- python/fatcat_web/templates/creator_lookup.html | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 python/fatcat_web/templates/creator_lookup.html (limited to 'python/fatcat_web/templates/creator_lookup.html') diff --git a/python/fatcat_web/templates/creator_lookup.html b/python/fatcat_web/templates/creator_lookup.html new file mode 100644 index 00000000..741efbda --- /dev/null +++ b/python/fatcat_web/templates/creator_lookup.html @@ -0,0 +1,54 @@ +{% extends "base.html" %} +{% import "entity_macros.html" as entity_macros %} + +{% block body %} + +

Lookup Creator by Identifier

+ +{% if lookup_error == 400 %} +
+
400: Syntax Error
+{{ lookup_key }}:{{ lookup_value }} doesn't look right to us. See +below for details. +
+{% elif lookup_error == 404 %} +
+
404: Not Found
+Couldn't find a creator with that identifier ({{ lookup_key }}:{{ +lookup_value }}). If you think it should be in the catalog, you could +search for an existing record missing that identifier, or create a new creator +entity. +{% if lookup_key == "orcid" %} +

You can check if it is a registered ORCiD: +https://orcid.org/{{ 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 }}/ +{% endif %} +

+{% endif %} + +
+ +

ORCID

+

Open Researcher and +Contributor ID is used to unambiguously refer to a research author. They +are free to register. +{{ entity_macros.lookup_form("creator", "orcid", "0000-0002-1825-0097", lookup_key, lookup_value, lookup_error) }} +  Must include the dashes + +

+
+ +

Wikidata QID

+

Wikidata is the +structured, machine-readable database that complements Wikipedia. Entities, +which can include bibliographic entities like books and papers, are identified +by a "QID". Fatcat also links releases (papers, books) and container (journal) +entities to Wikidata by QID. Anybody can edit Wikidata and create QIDs. +{{ entity_macros.lookup_form("creator", "wikidata_qid", "Q94324", lookup_key, lookup_value, lookup_error) }} +  Include the "Q" prefix. + +

+ +{% endblock %} -- cgit v1.2.3