-
Notifications
You must be signed in to change notification settings - Fork 1
/
publications.html
154 lines (132 loc) · 5.01 KB
/
publications.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
---
layout: default
title: Parsl A Parallel Scripting Library for Python
---
<script src="js/parser.js"></script>
<script src="js/jquery.min.js"></script>
<script>
function get_format(data, field, pre, post){
if (field in data && data[field] != ""){
return pre + data[field] + post;
}
return "";
}
function format_bib(data){
formated = $("<div>", {"class" : "ref-text"});
var authors = data["Fields"]["author"].split("and");
var author_string = "";
for (var i = 0, len = authors.length; i < len; i++) {
author_string += authors[i].trim();
if (i < authors.length - 2){
author_string += ', ';
} else if (i == authors.length - 2){
author_string += ' and ';
}
}
if (author_string.endsWith(".")){
author_string = author_string.substring(0, author_string.length - 1);
}
formated.append($("<span>", {"text" : author_string + ". ", "class" : "authors"}));
var title = $("<span>", {"text" : "\"" + data["Fields"]["title"] + ".\" "})
if ("url" in data["Fields"]){
title = $("<a>", {"text" : "\"" + data["Fields"]["title"] + ".\" ", "href" : data["Fields"]["url"]})
}
formated.append(title);
var journal_conference = ""
if (data["EntryType"] == "article"){
journal_conference += data["Fields"]["journal"];
} else if (data["EntryType"] == "inproceedings"){
journal_conference += data["Fields"]["booktitle"] ;
} else if (data["EntryType"] == "incollection"){
journal_conference += data["Fields"]["booktitle"];
}
journal_conference += get_format(data["Fields"], "volume", ". ", "");
journal_conference += get_format(data["Fields"], "number", "(", ")");
journal_conference += get_format(data["Fields"], "pages", ". pp ", "");
journal_conference += get_format(data["Fields"], "year", ". ", ".");
formated.append($("<span>", {"text" : journal_conference}));
return formated;
}
$( document ).ready(function() {
var display_bib = function(data) {
var paper = $("<div>", {"id" : data['EntryKey'], "class": "ref-holder"});
var ref_text = format_bib(data);
var download_links = $("<div>", {"class": "ref-download"});
if ('note' in data['Fields']){
var pdf_img = $("<img>", {"src" : 'images/pdf.png', "class": "ref-image"});
var pdf_link = $("<a>", {"href": "publications/" + data["Fields"]["note"]});
pdf_link.append(pdf_img);
download_links.append(pdf_link);
}
/*if (True){
var bib_img = $("<img>", {"src" : 'images/bibtex.png', "class": "ref-image"})
}*/
paper.append(ref_text).append(download_links);
$("#paper-div").append(paper)
}
$.get( "publications/ParslPubs.bib", function( data ) {
var parser = BibtexParser(display_bib);
parser.parse(data);
});
});
</script>
<style>
.ref-holder {
display: inline-block;
width: 100%;
}
.ref-text {
width: 93%;
float: left;
}
.ref-download {
float: right;
}
.ref-image{
width:30px;
padding-left: 5px;
}
</style>
<main class="container">
<div class="container-fluid" >
<div class="row" >
<div class="container col-sm-12">
<div class="page-header">
<h2>Publications and Presentations</h2>
</div>
<h3>Citing Parsl</h3>
<div class="media col-sm-12">
<div class="media-body">
<p>Please cite the following publication in any published research that uses Parsl:</p>
<p>Babuji, Y., Brizius, A., Chard, K., Foster, I., Katz, D.S., Wilde, M., &
Wozniak, J.. (2017, August 30). Introducing Parsl: A Python Parallel Scripting Library.
Zenodo. <a href="http://doi.org/10.5281/zenodo.853491">http://doi.org/10.5281/zenodo.853491</a>.
</div>
</div>
<h3>Recent Presentations</h3>
<div class="media col-sm-12">
<div class="media-body">
<p>Chard, K. <a href="http://bit.ly/2HhRtmT">Parsl: A Parallel Scripting Library for Python</a>,
National Center for Supercomputing Applications, University of Illinois at Urbana-Champagin,
Feb 2, 2018.</p>
<p>Katz, D. Parsl: A Parallel Scripting Library for Python</a>,
Barcelona Supercomputing Center,
Jan 22, 2017.</p>
<p>Chard, K. <a href="https://drive.google.com/file/d/1rBJwa0zHKlcLtQLIP2VTB9Lj2bF4zN-u/view?usp=sharing">Parsl: A Parallel Scripting Library for Python</a>,
Advanced Photon Source, Argonne National Laboratory,
Dec 20, 2017.</p>
<p>Chard, K. Introducing Parsl: A Parallel Scripting Library for Python</a>,
Dark Energy Science Collaboration Hack Week, Argonne National Laboratory,
Dec 4-8, 2017.</p>
</div>
</div>
<h3>Papers</h3>
<div class="media col-sm-12">
<div class="media-body">
<div id="paper-div"></div>
</div>
</div>
</div>
</div>
</div>
</main>