-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
83 lines (62 loc) · 3.5 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<!-- (C) Iain R. Learmonth 2013. Made available under the terms of GNU GPL v2
or any later version at your option. -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="BiBTeX generator for Wikipedia entries">
<meta name="author" content="Iain R. Learmonth">
<title>Wikipedia BibTeX Generator</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/bibwiki.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://code.jquery.com/jquery-migrate-3.0.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/moment.min.js"></script>
<script src="js/bibwiki.js"></script>
</head>
<body>
<!-- Wrap all page content here -->
<div id="wrap">
<!-- Begin page content -->
<div class="container">
<header class="header clearfix">
<h1>Wikipedia BibTeX Generator</h1>
</header>
<main role="main">
<div class="alert alert-warning">
<p><b>IMPORTANT NOTE:</b> Most educators and professionals do not consider it appropriate to use tertiary sources such as encyclopedias as a sole source for any information—citing an encyclopedia as an important reference in footnotes or bibliographies may result in censure or a failing grade. Wikipedia articles should be used for background information, as a reference for correct terminology and search terms, and as a starting point for further research.</p>
</div>
<p class="lead">Enter the Wikipedia URL below: (or use this bookmarklet: <a href="javascript:window.location='https://irl.github.io/bibwiki/?q='+window.location;">BibWiki</a>)</p>
<p><form role="form">
<input type="text" value="https://en.wikipedia.org/wiki/Plagiarism" id="input" class="form-control">
<br>
<input onclick="updateBibtex(); this.blur();" class="btn btn-success" value="Go!" style="width:100%; cursor:pointer;">
<br><br>
<textarea id="output" class="form-control" rows="10"></textarea>
</form>
<p id="sample"></p>
<input type="text" id='copy-btn' onclick="copyBibtex(); this.blur();" class="btn btn-primary" value="Copy" style="width:100%; cursor:pointer;">
<h2>Advanced Options</h2>
<p>Choose URL package to use: <select id="urlpackage" onchange="updateBibtex();"><option value="url">url or hyperref</option><option value="texttt">None</option></select></p>
</main>
<footer id="footer">
<p class="text-muted">© <a href="https://iain.learmonth.me/contact/">Iain R. Learmonth</a> 2013, 2016-2017.</p>
</footer>
</div>
<a href="https://github.com/irl/bibwiki"><img style="position: absolute; top: 0; left: 0; border: 0;" src="forkme.png" alt="Fork me on GitHub"></a>
<script type="text/javascript">
$("#input").val($.QueryString['q'] || "https://en.wikipedia.org/wiki/Plagiarism");
updateBibtex();
</script>
</body>
</html>