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/container_lookup.html | 63 +++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 python/fatcat_web/templates/container_lookup.html (limited to 'python/fatcat_web/templates/container_lookup.html') diff --git a/python/fatcat_web/templates/container_lookup.html b/python/fatcat_web/templates/container_lookup.html new file mode 100644 index 00000000..1848739a --- /dev/null +++ b/python/fatcat_web/templates/container_lookup.html @@ -0,0 +1,63 @@ +{% extends "base.html" %} +{% import "entity_macros.html" as entity_macros %} + +{% block body %} + +

Lookup Container 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 container 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 container +entity. +{% if lookup_key == "doi" %} +

You can check if it is a registered ISSN-L by visiting: +https://portal.issn.org/{{ lookup_value }}. If this is a valid +electronic or print ISSN, but not the ISSN-L for the container, you need to use +the indicated "linking" ISSN. +{% 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 %} + +
+ +

ISSN-L

+

The "linking" ISSN for a journal or other publication is one of the +"print" or "electronic" +International +Standard Serial Numbers, which has been selected to represent the resource +in all media. It is usually the ISSN which was registered first, and defaults +to the "print" ISSN number for a journal. Fatcat uses ISSN-L as the primary +identifier for journals to reduce confusion and potential for duplication. The +ISSN organization publicly publishes a mapping between linking and +print/electronic ISSNs. +{{ entity_macros.lookup_form("issnl", "1234-567X", lookup_key, lookup_value, lookup_error) }} +  Must include the dash + +

+
+ +

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 container (journal) and creator (author) entities +to Wikidata by QID. Anybody can edit Wikidata and create QIDs. +{{ entity_macros.lookup_form("wikidata_qid", "Q94324", lookup_key, lookup_value, lookup_error) }} +  Include the "Q" prefix. + +

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