-
Notifications
You must be signed in to change notification settings - Fork 16
/
toc.html
370 lines (345 loc) · 20.8 KB
/
toc.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
{% extends "layouts/toc_base.html" %}
{% block toc_content %}
{% set CC_MAP = {
"CC BY" : ["https://creativecommons.org/licenses/by/4.0/", ["by"]],
"CC BY-NC" : ["https://creativecommons.org/licenses/by-nc/4.0/", ["by", "nc"]],
"CC BY-NC-ND" : ["https://creativecommons.org/licenses/by-nc-nd/4.0/", ["by", "nc", "nd"]],
"CC BY-NC-SA" : ["https://creativecommons.org/licenses/by-nc-sa/4.0/", ["by", "nc", "sa"]],
"CC BY-ND" : ["https://creativecommons.org/licenses/by-nd/4.0/", ["by", "nd"]],
"CC BY-SA" : ["https://creativecommons.org/licenses/by-sa/4.0/", ["by", "sa"]],
"Public Domain" : ["https://creativecommons.org/publicdomain/zero/1.0/", ["zero"]],
} %}
{% set DEPOSIT_POLICY_MAP = {
"Sherpa/Romeo" : "https://v2.sherpa.ac.uk/cgi/search/publication/basic?publication_title-auto=",
"Diadorim" : "https://diadorim.ibict.br/simple-search?query=",
"Dulcinea" : "https://www.accesoabierto.net/dulcinea/lista/REVISTA/",
} %}
<section id="about-journal" class="tabs__panel" role="tabpanel" aria-hidden="false">
<h2 class="sr-only">About</h2>
<div class="three-col">
<section>
<h3 class="label label--underlined">Publishing with this journal</h3>
<article class="card card--with-icon">
<span data-feather="dollar-sign" aria-hidden="true"></span>
<div>
{% if not bibjson.apc_url and not bibjson.other_charges_url and not bibjson.waiver_url %}
<p>Information on publication charges not available for this journal.</p>
{% else %}
{# APCs #}
{% if bibjson.apc %}
<p>The journal charges up to:</p>
<ul class="unstyled-list">
{% for apc in bibjson.apc %}
<li>
<strong class="label label--large">{{ apc.get("price", "price unknown") }} {{ apc.get("currency", " currency unknown") }}</strong>
</li>
{% endfor %}
</ul>
<p>as {% if bibjson.apc_url %}
<a href="{{ bibjson.apc_url }}" target="_blank" rel="noopener">{% endif %}
publication fees{% if bibjson.apc_url %}</a>{% endif %} (article processing charges
or APCs)
{%- if bibjson.has_other_charges %}
and there are
{% if bibjson.other_charges_url %}
<a href="{{ bibjson.other_charges_url }}" target="_blank" rel="noopener">
other charges
</a>
{%- else %}
other charges
{%- endif -%}
{% endif -%}
.</p>
{% else %}
<p>There are <strong class="label label--large">no publication fees</strong> (<a
href="{{ bibjson.apc_url }}" target="_blank" rel="noopener">article processing
charges or APCs</a>) to publish with this journal
{%- if bibjson.has_other_charges %}
but there are
{% if bibjson.other_charges_url %}
<a href="{{ bibjson.other_charges_url }}" target="_blank" rel="noopener">
other charges
</a>
{% else %}
other charges
{% endif %}
{% endif -%}
.</p>
{% endif %}
{# Waivers #}
{% if bibjson.waiver_url %}
<p>There is a <a href="{{ bibjson.waiver_url }}" target="_blank" rel="noopener">waiver
policy</a> for these charges.</p>
{% elif bibjson.apc or bibjson.has_other_charges and not bibjson.waiver_url %}
<p>There is <strong>no waiver policy</strong> for these charges.</p>
{% endif %}
{% endif %}
</div>
</article>
<article class="card card--with-icon">
<span data-feather="user-check" aria-hidden="true"></span>
<div>
<p>Look up the journal's:</p>
<ul>
{% if bibjson.aims_scope_url %}
<li><a href="{{ bibjson.aims_scope_url }}" target="_blank" rel="noopener">
Aims & scope
</a></li>
{% endif %}
{% if bibjson.author_instructions_url %}
<li><a href="{{ bibjson.author_instructions_url }}" target="_blank" rel="noopener">
Instructions for authors
</a></li>
{% endif %}
{% if bibjson.editorial_board_url %}
<li><a href="{{ bibjson.editorial_board_url }}" target="_blank" rel="noopener">
Editorial Board
</a></li>
{% endif %}
{% if bibjson.editorial_review_process or bibjson.editorial_review_url %}
<li>
{% if bibjson.editorial_review_url %}
<a href="{{ bibjson.editorial_review_url }}" target="_blank" rel="noopener">
{% endif %}
{% if bibjson.editorial_review_process %}
{{ bibjson.editorial_review_process|join(", ") }}
{% else %}
Review process unknown
{% endif %}
{% if bibjson.editorial_review_url %}</a>{% endif %}
</li>
{% endif %}
</ul>
{% if bibjson.plagiarism_detection %}
<p>
→ This journal <a href="{{ bibjson.plagiarism_url }}" target="_blank"
rel="noopener noreferrer">checks for plagiarism</a>.
</p>
{% endif %}
</div>
</article>
{% if bibjson.publication_time_weeks %}
<article class="card card--with-icon">
<span data-feather="clock" aria-hidden="true"></span>
<div>
Expect on average <strong>{{ bibjson.publication_time_weeks }} weeks</strong> from
submission to publication.
</div>
</article>
{% endif %}
</section>
<section>
<h3 class="label label--underlined">Best practice</h3>
<article class="card card--with-icon">
<span data-feather="unlock" aria-hidden="true"></span>
<div>
{%- set oa_start = journal.has_oa_start_date() -%}
{% if oa_start %}
<p>
This journal began publishing in <strong>open access in {{ oa_start }}</strong>.
<a href="https://blog.doaj.org/2020/11/17/what-does-doaj-define-as-open-access/"
target="_blank" rel="noopener">
<span data-feather="help-circle" aria-hidden="true"></span>
<span class="sr-only"> What does DOAJ define as Open Accesss? </span>
</a>
</p>
{%- endif %}
{% if bibjson.licenses %}
<p>This journal uses
{% for license in bibjson.licenses %}
{%- if loop.last and bibjson.licenses|length > 1 -%} or
{%- elif not loop.first -%}, {%- endif -%}
{% if license.type == "Publisher's own license" %} their
<strong>publisher’s own</strong>
{% else %} a <strong>{{ license.type }}</strong>
{%- endif -%}
{% endfor %}
license.
</p>
<p>
{% for license in bibjson.licenses %}
{% set ldata = CC_MAP.get(license.type) %}
<a href="{{ ldata[0] }}" target="_blank" rel="noopener"
style="text-decoration: none;">
{% if license.type != "Publisher's own license" %}
{% include 'includes/svg/cc.svg' %}
{% endif %}
{% for license_option in ldata[1] %}
{# TODO: how do we display public domain licenses + publishers’ own? #}
{# TODO: there’s probably a better way to do this #}
{# RJ Note: I have adjusted this bit of the template to do this slightly better, but until we have journals with multiple licenses we're not sure how weird it will look #}
{% if license_option == 'by' %}{% include 'includes/svg/by.svg' %}
<span class="sr-only">Attribution</span>
{% endif %}
{% if license_option == 'nc' %}
{% include 'includes/svg/nc.svg' %}
<span class="sr-only">Non-Commercial</span>
{% endif %}
{% if license_option == 'nd' %}
{% include 'includes/svg/nd.svg' %}
<span class="sr-only">No Derivatives</span>
{% endif %}
{% if license_option == 'sa' %}
{% include 'includes/svg/sa.svg' %}
<span class="sr-only">Share Alike</span>
{% endif %}
{% endfor %}
{% if license.type == 'CC0' %}
{% include 'includes/svg/zero.svg' %}
<span class="sr-only">Public Domain</span>
{% endif %}
{% if loop.last %}{% else %}<br/>{% endif %}
</a>
{% endfor %}
</p>
{% endif %}
<p>
→ Look up their <a href="{{ bibjson.oa_statement_url }}" target="_blank"
rel="noopener">open access statement</a> and their <a
href="{{ bibjson.license_terms_url }}" target="_blank" rel="noopener">license terms</a>.
</p>
</div>
</article>
<article class="card card--with-icon">
{% include 'includes/svg/copyright.svg' %}
<div>
<p>
The author
{% if bibjson.author_retains_copyright %}
<strong>retains</strong>
{% else %}
<strong>does not retain</strong>
{% endif %}
<strong>unrestricted</strong> copyrights and publishing rights.
</p>
{% if bibjson.copyright_url %}
<p>
→ Learn more about their <a href="{{ bibjson.copyright_url }}" target="_blank"
rel="noopener">copyright policy</a>.
</p>
{% endif %}
</div>
</article>
{% if bibjson.has_preservation %}
<article class="card card--with-icon">
<span data-feather="archive" aria-hidden="true"></span>
<div>
<p>Articles digitally archived in:</p>
<ul>
{% for service in bibjson.preservation_summary %}
<li>{% if service is string %}{{ service }}{% else %}
{{ service|join(": ") }}{% endif %}</li>
{% endfor %}
</ul>
{% if bibjson.preservation_url %}
<p>
→ Find out about their <a href="{{ bibjson.preservation_url }}" target="_blank"
rel="noopener">archiving policy</a>.
</p>
{% endif %}
</div>
</article>
{% endif %}
{% if bibjson.deposit_policy %}
<article class="card card--with-icon">
<span data-feather="upload-cloud" aria-hidden="true"></span>
<div>
<p>
Deposit policy with:
</p>
<ul>
{% for policy in bibjson.deposit_policy %}
{% set policy_data = DEPOSIT_POLICY_MAP.get(policy) %}
<li>
{# FIXME: not a big fan of this hard-coding, presumably this could come from config somewhere #}
{% if policy == "Sherpa/Romeo" or policy == "Diadorim" or policy == "Dulcinea" %}
<a href="{{ policy_data|safe }}{{ bibjson.get_preferred_issn() }}"
target="_blank" rel="noopener">
{{ policy }}
</a>
{% elif bibjson.deposit_policy_url %}
<a href="{{ bibjson.deposit_policy_url|safe }}"
target="_blank" rel="noopener">
{{ policy }}
</a>
{% else %}
{{ policy }}
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</article>
{% endif %}
{% if bibjson.pid_scheme %}
<article class="card card--with-icon">
<span data-feather="upload-cloud" aria-hidden="true"></span>
<div>
<p>Permanent article identifier:</p>
<ul>
{% for identifier in bibjson.pid_scheme %}
<li>{{ identifier }}</li>
{% endfor %}
</ul>
</div>
</article>
{% endif %}
</section>
<section>
<h3 class="label label--underlined">Journal metadata</h3>
<article class="card card--with-icon">
<span data-feather="map-pin" aria-hidden="true"></span>
<dl>
{% if bibjson.publisher_name %}
<dt>Publisher</dt>
<dd>
{% set source = search_query_source(terms=[{"bibjson.publisher.name.exact": [bibjson.publisher_name]}]) %}
<a href="{{ url_for('doaj.journals_search') }}?ref=toc&source={{ source }}">{{ bibjson.publisher_name }}</a>
{% if bibjson.publisher_country %}, {{ bibjson.publisher_country_name() }}{% endif %}
</dd>
{% endif %}
{% if bibjson.institution_name %}
<dt>Other organisation</dt>
<dd>{{ bibjson.institution_name }}{% if bibjson.institution_country %},
{{ bibjson.institution_country_name() }}{% endif %}</dd>
{% endif %}
{% if bibjson.language %}
<dt>Manuscripts accepted in</dt>
<dd>{{ bibjson.language_name()|join(", ") }}</dd>
{% endif %}
</dl>
</article>
<article class="card card--with-icon">
<span data-feather="tag" aria-hidden="true"></span>
<dl>
{% for path, code in bibjson.lcc_paths_and_codes() %}
{% if loop.index0 == 0 %}
<dt>LCC subjects <a href="https://www.loc.gov/catdir/cpso/lcco/" target="_blank"
rel="noopener">
<span data-feather="help-circle" aria-hidden="true"></span>
<span class="sr-only">Look up the Library of Congress Classification Outline</span>
</a>
</dt>{% endif %}
<dd>
{% set source = search_query_source(terms=[{"index.schema_codes_tree.exact": [code]}]) %}
<a href="{{ url_for('doaj.journals_search') }}?ref=toc&source={{ source }}">
{{ path }}
</a>
</dd>
{% endfor %}
{% if bibjson.keywords %}
<dt>Keywords</dt>
<dd>
{% for keyword in bibjson.keywords %}
{% set source = search_query_source(query_string=keyword) %}
<a href="{{ url_for('doaj.journals_search') }}?ref=toc&source={{ source }}"
class="tag">{{ keyword }}</a>
{% endfor %}
</dd>
{% endif %}
</dl>
</article>
</section>
</div>
</section>
{% endblock %}