/
scopus_referencescape.php
175 lines (144 loc) · 7 KB
/
scopus_referencescape.php
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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>ScienceScape</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<?php include('includes/codetop.php') ?>
<style>
body {
padding-top: 60px;
padding-bottom: 40px;
}
#uploadDiv {
margin-bottom: 50px;
}
/* sigma */
.sigma-parent {
position: relative;
/*background-color: #f8f8f8;*/
/* from http://www.colorzilla.com/gradient-editor/ */
background: rgb(242,242,242); /* Old browsers */
background: -moz-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(244,244,244,1) 43%, rgba(252,252,252,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,242,242,1)), color-stop(43%,rgba(244,244,244,1)), color-stop(100%,rgba(252,252,252,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(242,242,242,1) 0%,rgba(244,244,244,1) 43%,rgba(252,252,252,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(242,242,242,1) 0%,rgba(244,244,244,1) 43%,rgba(252,252,252,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(242,242,242,1) 0%,rgba(244,244,244,1) 43%,rgba(252,252,252,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(242,242,242,1) 0%,rgba(244,244,244,1) 43%,rgba(252,252,252,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
border: 1px solid #e3e3e3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
margin-bottom: 2px;
height: 380px;
}
.sigma-expand {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
/* Report */
#report {
padding: 3px;
background: #eee;
border-radius: 3px;
}
#report div.inner {
border: 1px solid #ccc;
background: #FDFDFD;
padding-left: 16px;
}
.reportText {
font-family: monospace;
white-space: pre;
margin: 1em 0px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
font-size: 12px;
}
</style>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700|Roboto+Condensed:400,300,700' rel='stylesheet' type='text/css'>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->
<?php include('includes/header.php') ?>
<div class="container">
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="splash-unit row">
<div class="span7">
<div class="image">
<a href="index.php"><img src="res/header.png"/></a>
</div>
<div class="title">
ScienceScape
</div>
</div>
<div class="span5">
<div class="abstract">
<p><strong>Helpers for scientometrics.</strong> Convert files, get networks, visualize stuff from Scopus or Web of Science.</p>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<h2>Reference Scape</h2>
<p class="text-info">
Extract a network from a Scopus file and download it. You may visualize it with <a href="http://gephi.org">Gephi</a>.
<br>This network we call a "reference scape" uses the top references as a basemap to project authors, keywords and journals.
</p>
<hr/>
</div>
</div>
<div class="row">
<div class="span4">
<div id="uploadDiv">
<h4>Upload your Scopus CSV file</h4>
<div id="scopusextract"><span class="muted">file uploader</span></div>
</div>
</div>
<div class="span8">
<div id="networkDiv" style="display:none;">
<h4>Network preview</h4>
<div id="sigmaContainer"><span class="muted">network preview</span></div>
<div class="row">
<div class="span5">
<div id="sigmaButtons"><span class="muted">sigma buttons</span></div>
</div>
<div class="span3">
<div id="download" class="pull-right"><span class="muted">download</span></div><br/>
</div>
</div>
<br/><br/>
<h4>Report</h4>
<div id="report">
<div class="inner">
<div class="reportText"/>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include("includes/footer.php"); ?>
<?php include("includes/codebottom.php"); ?>
<script src="js/libs/sigma.js"></script>
<script src="js/libs/sigma-forceatlas2-worker-tweaked.js"></script>
<script src="js/libs/sigma-forceatlas2-supervisor-tweaked.js"></script>
<script src="js/page_scopus_referencescape.js"></script>
<script>
// document.getElementById('scopusextract_input').addEventListener('change', fileLoader.handleFileSelect, false);
</script>
</body>
</html>