/
article.html
69 lines (61 loc) · 1.93 KB
/
article.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
$def with (article)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:bio="http://purl.org/vocab/bio/0.1/"
xmlns:skos="http://www.w3.org/2004/02/skos/core#">
<head profile="http://www.w3.org/2003/g/data-view">
<title>$article.title</title>
$:render.header()
</head>
<body>
$:render.menu()
<div id="content" about="$article.resUri" typeof="bibo:AcademicArticle">
<h1 property="dc:title">$article.title</h1>
<ul class="metadata-details">
<li>
<span class="heading">Author(s): </span>
$for creator in article.creators:
<a href="$creator.resUri" rel="dc:creator">$creator.name</a>
</li>
<li>
<span class="heading">Date: </span>
<span property="dc:date">
$if article.issued:
$article.issued
$else:
$article.date
</span>
</li>
<li>
<span class="heading">Journal: </span>
<a href="$article.periodical.resUri" rel="dc:isPartOf">$article.periodical.title</a>
</li>
<li>
<span class="heading">DOI: </span><span
property="bibo:doi">$article.doi</span>
</li>
<li>
<span class="heading">Volume/Issue: </span>
<span property="bibo:volume">$article.volume</span>/<span property="bibo:issue">$article.issue</span>
</li>
<li>
<span class="heading">Pages: </span>
<span property="bibo:pageStart">$article.page_start</span>-<span
property="bibo:pageEnd">$article.page_end</span>
</li>
<li>
<span class="heading">Topics:</span>
$for subject in sorted(article.subjects):
<a href="$rel_uri(subject.resUri)" rel="dc:subject">$subject.pref_label</a>,
</li>
</ul>
</div>
$:render.footer()
</body>
</html>