aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_lookup.html
blob: 798e558737e6c41e57a9c919ca53689c07ae608f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{% extends "base.html" %}
{% import "entity_macros.html" as entity_macros %}

{% block body %}

<h1>Lookup Container by Identifier</h1>

{% if lookup_error == 400 %}
<div class="ui error message">
<div class="header">400: Syntax Error</div>
<b>{{ lookup_key }}:{{ lookup_value }}</code></b> doesn't look right to us. See
below for details.
</div>
{% elif lookup_error == 404 %}
<div class="ui error message">
<div class="header">404: Not Found</div>
Couldn't find a container with that identifier (<b><code>{{ lookup_key }}:{{
lookup_value }}</code></b>). 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 == "issnl" %}
<p>You can check if it is a registered ISSN-L by visiting:
<b><a href="https://portal.issn.org/api/search?search[]=MUST=allissnbis={{ lookup_value }}">https://portal.issn.org/api/search?search[]=MUST=allissnbis={{ lookup_value }}</a></b>.
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" %}
<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>
{% endif %}
</div>
{% endif %}

<div class="ui top attached segment">

<h2>ISSN-L</h2>
<p>The "linking" ISSN for a journal or other publication is one of the 
"print" or "electronic"
<a href="https://en.wikipedia.org/wiki/International_Standard_Serial_Number#Linking_ISSN">International
Standard Serial Numbers</a>, 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("container", "issnl", "1234-567X", lookup_key, lookup_value, lookup_error) }}
<i>&nbsp; Must include the dash</i>

</div>
<div class="ui attached bottom segment">

<h2>Wikidata QID</h2>
<p><a href="https://en.wikipedia.org/wiki/Wikidata#Items">Wikidata</a> 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("container", "wikidata_qid", "Q94324", lookup_key, lookup_value, lookup_error) }}
<i>&nbsp; Include the "Q" prefix.</i>

</div>

{% endblock %}