forked from mreidsma/Custom-Summon-Searches
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
304 lines (256 loc) · 20.4 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="author" content="Matthew Reidsma, [email protected]" />
<meta name="description" content="Create Custom Scoped Summon" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Create Custom Summon Search Box</title>
<link type="text/css" rel="stylesheet" href="css/styles.css" />
</head>
<body role="main">
<div class="line">
<div class="size1of1 unit">
<h1>Create Custom Search</h1>
<noscript><p class="error">This tool requires Javascript.</p></noscript>
<p class="lib-alert">Serials Solutions <a href="http://www.serialssolutions.com/words/the-summon-service-introduces-discipline-scoped-searching-and-widgets/">has a powerful tool for building scoped searches</a>. Use it if you can embed Javascript on your webpage. If not, this tool creates the same search with good old <abbr title="HyperText Markup Language">HTML</abbr>.</p>
<p>Summon searches nearly all of our holdings by default. To create a more targeted search, select limiters below and copy the <abbr title="HyperText Markup Language">HTML</abbr> from the bottom of the page to insert into any website.</p>
<label for="keywords">Subject Terms</label>
<input type="text" name="keywords" id="keywords" placeholder="Separate terms with commas" /><br />
<input type="checkbox" id="full_text" value="s.fvf[]|IsFullText,|true" /> <label for="full_text">Limit to items with full text online</label><br />
<input type="checkbox" id="is_scholarly" value="s.fvf[]|IsScholarly,|true" /> <label for="is_scholarly">Show only scholarly publications</label><br />
<input type="checkbox" id="in_catalog" value='s.fq[]|SourceType:|(&quot;Library Catalog&quot;)' /> <label for="in_catalog">Only show items in my library’s catalog</label><br />
<div><!-- end .size1of1 -->
</div><!-- end .line -->
<div class="line">
<div class="size1of2-rgutter unit lib-box">
<div class="accordian-head"><h2>Disciplines</h2></div>
<div class="accordian-body">
<input id="disc_agriculture" type="checkbox" value="s.fvf[]|Discipline,|agriculture," /> <label for="disc_agriculture">Agriculture</label><br />
<input id="disc_anatomy" type="checkbox" value="s.fvf[]|Discipline,|anatomy & physiology," /> <label for="disc_anatomy">Anatomy & Physiology</label><br />
<input id="disc_anthropology" type="checkbox" value="s.fvf[]|Discipline,|anthropology," /> <label for="disc_anthropology">Anthropology</label><br />
<input id="disc_appscience" type="checkbox" value="s.fvf[]|Discipline,|applied sciences," /> <label for="disc_appscience">Applied Sciences</label><br />
<input id="disc_architecture" type="checkbox" value="s.fvf[]|Discipline,|architecture," /> <label for="disc_architecture">Architecture</label><br />
<input id="disc_astronomy" type="checkbox" value="s.fvf[]|Discipline,|astronomy & astrophysics," /> <label for="disc_astronomy">Astronomy & Astrophysics</label><br />
<input id="disc_biology" type="checkbox" value="s.fvf[]|Discipline,|biology," /> <label for="disc_biology">Biology</label><br />
<input id="disc_botany" type="checkbox" value="s.fvf[]|Discipline,|botany," /> <label for="disc_botany">Botany</label><br />
<input id="disc_business" type="checkbox" value="s.fvf[]|Discipline,|business," /> <label for="disc_business">Business</label><br />
<input id="disc_chemistry" type="checkbox" value="s.fvf[]|Discipline,|chemistry," /> <label for="disc_chemistry">Chemistry</label><br />
<input id="disc_compsci" type="checkbox" value="s.fvf[]|Discipline,|computer science," /> <label for="disc_compsci">Computer Science</label><br />
<input id="disc_dance" type="checkbox" value="s.fvf[]|Discipline,|dance," /> <label for="disc_dance">Dance</label><br />
<input id="disc_dentistry" type="checkbox" value="s.fvf[]|Discipline,|dentistry," /> <label for="disc_dentistry">Dentistry</label><br />
<input id="disc_diet" type="checkbox" value="s.fvf[]|Discipline,|diet & clinical nutrition," /> <label for="disc_diet">Diet & Clinical Nutrition</label><br />
<input id="disc_drama" type="checkbox" value="s.fvf[]|Discipline,|drama," /> <label for="disc_drama">Drama</label><br />
<input id="disc_ecology" type="checkbox" value="s.fvf[]|Discipline,|ecology," /> <label for="disc_ecology">Ecology</label><br />
<input id="disc_economics" type="checkbox" value="s.fvf[]|Discipline,|economics," /> <label for="disc_economics">Economics</label><br />
<input id="disc_education" type="checkbox" value="s.fvf[]|Discipline,|education," /> <label for="disc_education">Education</label><br />
<input id="disc_engineering" type="checkbox" value="s.fvf[]|Discipline,|engineering," /> <label for="disc_engineering">Engineering</label><br />
<input id="disc_envscience" type="checkbox" value="s.fvf[]|Discipline,|environmental science," /> <label for="disc_envscience">Environmental Science</label><br />
<input id="disc_film" type="checkbox" value="s.fvf[]|Discipline,|film," /> <label for="disc_film">Film</label><br />
<input id="disc_forestry" type="checkbox" value="s.fvf[]|Discipline,|forestry," /> <label for="disc_forestry">Forestry</label><br />
<input id="disc_geography" type="checkbox" value="s.fvf[]|Discipline,|geography," /> <label for="disc_geography">Geography</label><br />
<input id="disc_geology" type="checkbox" value="s.fvf[]|Discipline,|geology," /> <label for="disc_geology">Geology</label><br />
<input id="disc_gov" type="checkbox" value="s.fvf[]|Discipline,|government," /> <label for="disc_gov">Government</label><br />
<input id="disc_history" type="checkbox" value="s.fvf[]|Discipline,|history & archaeology," /> <label for="disc_history">History & Archaeology</label><br />
<input id="disc_human" type="checkbox" value="s.fvf[]|Discipline,|human anatomy & physiology," /> <label for="disc_human">Human Anatomy & Physiology</label><br />
<input id="disc_intrel" type="checkbox" value="s.fvf[]|Discipline,|international relations," /> <label for="disc_intrel">International Relations</label><br />
<input id="disc_comm" type="checkbox" value="s.fvf[]|Discipline,|journalism & communications," /> <label for="disc_comm">Journalism & Communications</label><br />
<input id="disc_lang" type="checkbox" value="s.fvf[]|Discipline,|languages & literatures," /> <label for="disc_lang">Languages & Literatures</label><br />
<input id="disc_law" type="checkbox" value="s.fvf[]|Discipline,|law," /> <label for="disc_law">Law</label><br />
<input id="disc_libsci" type="checkbox" value="s.fvf[]|Discipline,|library & information science," /> <label for="disc_libsci">Library & Information Science</label><br />
<input id="disc_math" type="checkbox" value="s.fvf[]|Discipline,|mathematics," /> <label for="disc_math">Mathematics</label><br />
<input id="disc_medicine" type="checkbox" value="s.fvf[]|Discipline,|medicine," /> <label for="disc_medicine">Medicine</label><br />
<input id="disc_meteorology" type="checkbox" value="s.fvf[]|Discipline,|meteorology & climatology," /> <label for="disc_meteorology">Meteorology & Climatology</label><br />
<input id="disc_milsci" type="checkbox" value="s.fvf[]|Discipline,|military & naval science," /> <label for="disc_milsci">Military & Naval Science</label><br />
<input id="disc_music" type="checkbox" value="s.fvf[]|Discipline,|music," /> <label for="disc_music">Music</label><br />
<input id="disc_nursing" type="checkbox" value="s.fvf[]|Discipline,|nursing," /> <label for="disc_nursing">Nursing</label><br />
<input id="disc_therapy" type="checkbox" value="s.fvf[]|Discipline,|occupational therapy & rehabilitation," /> <label for="disc_therapy">Occupational Therapy & Rehabilitation</label><br />
<input id="disc_oceans" type="checkbox" value="s.fvf[]|Discipline,|oceanography," /> <label for="disc_oceans">Oceanography</label><br />
<input id="disc_occult" type="checkbox" value="s.fvf[]|Discipline,|parapsychology & occult sciences," /> <label for="disc_occult">Parapsychology & Occult Sciences</label><br />
<input id="disc_pharma" type="checkbox" value="s.fvf[]|Discipline,|pharmacy, theraputics, & pharmacology," /> <label for="disc_pharma">Pharmacy, Theraputics, & Pharmacology</label><br />
<input id="disc_phil" type="checkbox" value="s.fvf[]|Discipline,|philosophy," /> <label for="disc_philosophy">Philosophy</label><br />
<input id="disc_physther" type="checkbox" value="s.fvf[]|Discipline,|physical therapy," /> <label for="disc_physther">Physical Therapy</label><br />
<input id="disc_physics" type="checkbox" value="s.fvf[]|Discipline,|physics," /> <label for="disc_physics">Physics</label><br />
<input id="disc_ploysci" type="checkbox" value="s.fvf[]|Discipline,|political science," /> <label for="disc_polysci">Political Science</label><br />
<input id="disc_psychology" type="checkbox" value="s.fvf[]|Discipline,|psychology," /> <label for="disc_psychology">Psychology</label><br />
<input id="disc_pubhealth" type="checkbox" value="s.fvf[]|Discipline,|public health," /> <label for="disc_pubhealth">Public Health</label><br />
<input id="disc_sports" type="checkbox" value="s.fvf[]|Discipline,|recreation & sports," /> <label for="disc_sports">Recreation & Sports</label><br />
<input id="disc_religion" type="checkbox" value="s.fvf[]|Discipline,|religion," /> <label for="disc_religion">Religion</label><br />
<input id="disc_sci" type="checkbox" value="s.fvf[]|Discipline,|sciences," /> <label for="disc_sci">Sciences</label><br />
<input id="disc_socsci" type="checkbox" value="s.fvf[]|Discipline,|social sciences," /> <label for="disc_socsci">Social Sciences</label><br />
<input id="disc_socialwork" type="checkbox" value="s.fvf[]|Discipline,|social welfare & social work," /> <label for="disc_socialwork">Social Welfare & Social Work</label><br />
<input id="disc_sociology" type="checkbox" value="s.fvf[]|Discipline,|sociology & social history," /> <label for="disc_sociology">Sociology & Social History</label><br />
<input id="disc_stats" type="checkbox" value="s.fvf[]|Discipline,|statistics," /> <label for="disc_stats">Statistics</label><br />
<input id="disc_vet" type="checkbox" value="s.fvf[]|Discipline,|veterinary medicine," /> <label for="disc_vet">Veterinary Medicine</label><br />
<input id="disc_arts" type="checkbox" value="s.fvf[]|Discipline,|visual arts," /> <label for="disc_arts">Visual Arts</label><br />
<input id="disc_women" type="checkbox" value="s.fvf[]|Discipline,|women's studies," /> <label for="disc_women">Women’s Studies</label><br />
<input id="disc_zoo" type="checkbox" value="s.fvf[]|Discipline,|zoology," /> <label for="disc_zoo">Zoology</label><br />
</div><!-- end .accordian-body -->
</div>
<div class="size1of2 unit lib-box lastUnit">
<div class="accordian-head"><h2>Content Types</h2></div>
<div class="accordian-body">
<input type="checkbox" id="content_article" value="s.fvf[]|Content Type,|Journal Articles," /> <label for="content_article">Journal Articles</label><br />
<input type="checkbox" id="content_news" value="s.fvf[]|Content Type,|Newspaper Article," /> <label for="content_news">Newspaper Articles</label><br />
<input type="checkbox" id="content_trade" value="s.fvf[]|Content Type,|Trade Publication Article," /> <label for="content_trade">Trade Publications</label><br />
<input type="checkbox" id="content_conference" value="s.fvf[]|Content Type,|Conference Proceeding,," /> <label for="content_conference">Conference Proceedings</label><br />
<input type="checkbox" id="content_book" value="s.fvf[]|Content Type,|Book / eBook," /> <label for="content_book">Books & eBooks</label><br />
<input type="checkbox" id="content_bookreview" value="s.fvf[]|Content Type,|Book Review," /> <label for="content_bookreview">Book Reviews</label><br />
<input type="checkbox" id="content_musicscore" value="s.fvf[]|Content Type,|Music Score," /> <label for="content_musicscore">Music Score</label><br />
<input type="checkbox" id="content_audiorecording" value="s.fvf[]|Content Type,|Audio Recording," /> <label for="content_audiorecording">Audio Recording</label><br />
<input type="checkbox" id="content_guide" value="s.fvf[]|Content Type,|Research Guide," /> <label for="content_guide">Research Guide</label><br />
</div><!-- end .accordian-body -->
</div>
</div>
<div class="line">
<div class="size1of2-rgutter unit lib-box">
<div class="accordian-head"><h2>Publication Date</h2></div>
<div class="accordian-body">
<select id="start_month" name="start_month">
<option value="#"></option>
<option value="1"><abbr title="January">Jan</abbr></option>
<option value="2"><abbr title="February">Feb</abbr></option>
<option value="3"><abbr title="March">Mar</abbr></option>
<option value="4"><abbr title="April">Apr</abbr></option>
<option value="5">May</option>
<option value="6"><abbr title="June">Jun</abbr></option>
<option value="7"><abbr title="July">Jul</abbr></option>
<option value="8"><abbr title="August">Aug</abbr></option>
<option value="9"><abbr title="September">Sep</abbr></option>
<option value="10"><abbr title="October">Oct</abbr></option>
<option value="11"><abbr title="November">Nov</abbr></option>
<option value="12"><abbr title="December">Dec</abbr></option>
</select>
<select id="start_day" name="start_day">
<option value="#"></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<input class="lib-inline dates" type="text" id="start_year" name="start_year" size="4" maxsize="4" /> to<br />
<select id="end_month">
<option value="#"></option>
<option value="1"><abbr title="January">Jan</abbr></option>
<option value="2"><abbr title="February">Feb</abbr></option>
<option value="3"><abbr title="March">Mar</abbr></option>
<option value="4"><abbr title="April">Apr</abbr></option>
<option value="5">May</option>
<option value="6"><abbr title="June">Jun</abbr></option>
<option value="7"><abbr title="July">Jul</abbr></option>
<option value="8"><abbr title="August">Aug</abbr></option>
<option value="9"><abbr title="September">Sep</abbr></option>
<option value="10"><abbr title="October">Oct</abbr></option>
<option value="11"><abbr title="November">Nov</abbr></option>
<option value="12"><abbr title="December">Dec</abbr></option>
</select>
<select id="end_day">
<option value="#"></option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<input class="lib-inline dates" type="text" id="end_year" size="4" maxsize="4" /><br />
<div class="cleardates">
<input class="lib-button-small-grey" id="clear-dates-button" type="button" value="Clear Dates" />
</div>
</div><!-- end .accordian-body -->
</div>
<div class="size1of2 unit lib-box lastUnit">
<div class="accordian-head"><h2>Languages</h2></div>
<div class="accordian-body">
<input type="checkbox" id="lang_english" value="s.fvf[]|Language,|English," /> <label for="lang_english">English</label><br />
<input type="checkbox" id="lang_spanish" value="s.fvf[]|Language,|Spanish," /> <label for="lang_spanish">Spanish</label><br />
<input type="checkbox" id="lang_french" value="s.fvf[]|Language,|French," /> <label for="lang_french">French</label><br />
<input type="checkbox" id="lang_german" value="s.fvf[]|Language,|German," /> <label for="lang_german">German</label><br />
<input type="checkbox" id="lang_dutch" value="s.fvf[]|Language,|Dutch," /> <label for="lang_dutch">Dutch</label><br />
<input type="checkbox" id="lang_polish" value="s.fvf[]|Language,|Polish," /> <label for="lang_polish">Polish</label><br />
<input type="checkbox" id="lang_italian" value="s.fvf[]|Language,|Italian," /> <label for="lang_italian">Italian</label><br />
<input type="checkbox" id="lang_chinese" value="s.fvf[]|Language,|Chinese," /> <label for="lang_chinese">Chinese</label><br />
<input type="checkbox" id="lang_japanese" value="s.fvf[]|Language,|Japanese," /> <label for="lang_japanese">Japanese</label><br />
<input type="checkbox" id="lang_arabic" value="s.fvf[]|Language,|Arabic," /> <label for="lang_arabic">Arabic</label><br />
</div><!-- end .accordian-body -->
</div>
</div>
<div class="line">
<div id="codeblock" class="size1of1 unit">
<h2>Copy this HTML:</h2>
<div id="summon-code">
<!-- Start of Custom Summon Search code --><br />
<!-- Edit the following line to include the URL to your Summon instance. Make sure to leave the /search at the end -->
<form method="GET" action="http://YOURINSTITUTION.summon.serialssolutions.com/search"><br />
<!-- Do not edit below this line -->
<input type="text" name="s.q" /><br />
<span id="search-refinements"></span>
<span id="insertterms"></span>
<span id="insert-pubdate"></span>
<input type="hidden" name="spellcheck" value="true" /><br />
<input type="hidden" name="keep_r" value="true"/><br />
<input type="submit" value="Search" /><br />
</form><br />
<!-- End of Custom Summon Search code --><br />
</div>
<footer>
<p>A tool by <a href="http://gvsu.edu/library/labs" title="Grand Valley State University Library Labs"><abbr title="Grand Valley State University">GVSU</abbr> Library Labs</a> written by <a href="http://twitter.com/mreidsma">Matthew Reidsma</a>. Source code available on <a href="https://github.com/mreidsma/Custom-Summon-Searches">Github</a>.</p>
</footer>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/custom_summon.js"></script>
</body>
</html>