bento_search 1.5.0 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +27 -24
- data/Rakefile +30 -11
- data/app/assets/javascripts/bento_search/ajax_load.js +54 -22
- data/app/controllers/bento_search/search_controller.rb +31 -30
- data/app/helpers/bento_search_helper.rb +72 -74
- data/app/models/bento_search/concurrent_searcher.rb +136 -0
- data/app/models/bento_search/result_item.rb +15 -12
- data/app/models/bento_search/results/serialization.rb +22 -13
- data/app/models/bento_search/search_engine.rb +170 -140
- data/app/search_engines/bento_search/doaj_articles_engine.rb +20 -20
- data/app/search_engines/bento_search/ebsco_host_engine.rb +3 -3
- data/app/search_engines/bento_search/eds_engine.rb +326 -206
- data/app/search_engines/bento_search/google_books_engine.rb +2 -2
- data/app/search_engines/bento_search/scopus_engine.rb +87 -87
- data/app/search_engines/bento_search/summon_engine.rb +1 -1
- data/app/views/bento_search/_ajax_loading.html.erb +17 -0
- data/app/views/bento_search/_item_title.html.erb +2 -4
- data/app/views/bento_search/_link.html.erb +3 -3
- data/lib/bento_search.rb +24 -9
- data/lib/bento_search/engine.rb +2 -0
- data/lib/bento_search/version.rb +1 -1
- data/lib/generators/bento_search/install/ajax_load_js_generator.rb +15 -0
- data/test/decorator/standard_decorator_test.rb +30 -30
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/config/application.rb +7 -0
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/environments/development.rb +2 -0
- data/test/dummy/config/environments/production.rb +7 -1
- data/test/dummy/config/environments/test.rb +10 -3
- data/test/functional/bento_search/search_controller_test.rb +68 -58
- data/test/helper/bento_search_helper_test.rb +103 -103
- data/test/search_engines/doaj_articles_engine_test.rb +9 -9
- data/test/search_engines/eds_engine_test.rb +91 -59
- data/test/search_engines/google_site_search_test.rb +48 -48
- data/test/search_engines/scopus_engine_test.rb +51 -51
- data/test/search_engines/search_engine_base_test.rb +108 -86
- data/test/search_engines/search_engine_test.rb +68 -56
- data/test/support/atom.xsd.xml +3 -3
- data/test/support/xml.xsd +117 -0
- data/test/test_helper.rb +23 -12
- data/test/unit/concurrent_searcher_test.rb +75 -0
- data/test/unit/pagination_test.rb +12 -12
- data/test/vcr_cassettes/eds/FullText_CustomLink.yml +198 -0
- data/test/vcr_cassettes/eds/basic_search_smoke_test.yml +1036 -1729
- data/test/vcr_cassettes/eds/catalog_ebook_query.yml +218 -0
- data/test/vcr_cassettes/eds/catalog_query.yml +255 -0
- data/test/vcr_cassettes/eds/get_auth_token.yml +11 -44
- data/test/vcr_cassettes/eds/get_auth_token_failure.yml +10 -7
- data/test/vcr_cassettes/eds/get_with_auth.yml +144 -153
- data/test/vcr_cassettes/eds/get_with_auth_recovers_from_bad_auth.yml +167 -223
- data/test/view/atom_results_test.rb +94 -94
- metadata +36 -46
- data/app/assets/javascripts/bento_search.js +0 -3
- data/app/item_decorators/bento_search/ebscohost/conditional_openurl_main_link.rb +0 -36
- data/app/item_decorators/bento_search/only_premade_openurl.rb +0 -20
- data/app/item_decorators/bento_search/openurl_add_other_link.rb +0 -39
- data/app/item_decorators/bento_search/openurl_main_link.rb +0 -34
- data/app/models/bento_search/multi_searcher.rb +0 -131
- data/test/dummy/config/initializers/secret_token.rb +0 -8
- data/test/unit/multi_searcher_test.rb +0 -49
@@ -0,0 +1,218 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://eds-api.ebscohost.com/authservice/rest/uidauth
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |2
|
9
|
+
{
|
10
|
+
"UserId":"DUMMY_USER_ID",
|
11
|
+
"Password":"DUMMY_PWD"
|
12
|
+
}
|
13
|
+
headers:
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- private
|
25
|
+
Content-Length:
|
26
|
+
- '128'
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Server:
|
30
|
+
- Microsoft-IIS/8.5
|
31
|
+
X-Aspnet-Version:
|
32
|
+
- 4.0.30319
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Thu, 08 Dec 2016 20:21:41 GMT
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"AuthToken":"AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0","AuthTimeout":"1800"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Thu, 08 Dec 2016 20:21:42 GMT
|
42
|
+
- request:
|
43
|
+
method: get
|
44
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/createsession?guest=n&profile=wsapi
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
headers:
|
49
|
+
X-Authenticationtoken:
|
50
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
51
|
+
Accept:
|
52
|
+
- application/xml
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Cache-Control:
|
59
|
+
- private
|
60
|
+
Content-Length:
|
61
|
+
- '279'
|
62
|
+
Content-Type:
|
63
|
+
- application/xml; charset=utf-8
|
64
|
+
Server:
|
65
|
+
- Microsoft-IIS/8.5
|
66
|
+
X-Sessiontoken:
|
67
|
+
- 76e036da-3e1a-473b-a88b-8312df018df3.tfSJGmfljb2oi0RBrWTTnCl4OcAEr9eSPH2kl+0lrxw=
|
68
|
+
X-Authenticationtoken:
|
69
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
70
|
+
X-Msg-Correlid:
|
71
|
+
- 4a895196-6917-4ea5-8377-c755cf6e9f20
|
72
|
+
X-Aspnet-Version:
|
73
|
+
- 4.0.30319
|
74
|
+
X-Powered-By:
|
75
|
+
- ASP.NET
|
76
|
+
Date:
|
77
|
+
- Thu, 08 Dec 2016 20:21:42 GMT
|
78
|
+
body:
|
79
|
+
encoding: UTF-8
|
80
|
+
string: <CreateSessionResponseMessage xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
81
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><SessionToken>76e036da-3e1a-473b-a88b-8312df018df3.tfSJGmfljb2oi0RBrWTTnCl4OcAEr9eSPH2kl+0lrxw=</SessionToken></CreateSessionResponseMessage>
|
82
|
+
http_version:
|
83
|
+
recorded_at: Thu, 08 Dec 2016 20:21:42 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/search?highlight=y&query=AND,Stakeholder%20forum%20on%20federal%20wetlands%20mitigation%20environmental%20law%20institute&resultsperpage=10&searchmode=all&view=detailed
|
87
|
+
body:
|
88
|
+
encoding: UTF-8
|
89
|
+
string: ''
|
90
|
+
headers:
|
91
|
+
X-Authenticationtoken:
|
92
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
93
|
+
Accept:
|
94
|
+
- application/xml
|
95
|
+
X-Sessiontoken:
|
96
|
+
- 76e036da-3e1a-473b-a88b-8312df018df3.tfSJGmfljb2oi0RBrWTTnCl4OcAEr9eSPH2kl+0lrxw=
|
97
|
+
response:
|
98
|
+
status:
|
99
|
+
code: 200
|
100
|
+
message: OK
|
101
|
+
headers:
|
102
|
+
Cache-Control:
|
103
|
+
- private
|
104
|
+
Content-Length:
|
105
|
+
- '7825'
|
106
|
+
Content-Type:
|
107
|
+
- application/xml; charset=utf-8
|
108
|
+
Server:
|
109
|
+
- Microsoft-IIS/8.5
|
110
|
+
X-Sessiontoken:
|
111
|
+
- 76e036da-3e1a-473b-a88b-8312df018df3.tfSJGmfljb2oi0RBrWTTnCl4OcAEr9eSPH2kl+0lrxw=
|
112
|
+
X-Authenticationtoken:
|
113
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
114
|
+
X-Msg-Correlid:
|
115
|
+
- f426246d-c726-4b34-80da-1e1939cca310
|
116
|
+
X-Aspnet-Version:
|
117
|
+
- 4.0.30319
|
118
|
+
X-Powered-By:
|
119
|
+
- ASP.NET
|
120
|
+
Date:
|
121
|
+
- Thu, 08 Dec 2016 20:21:43 GMT
|
122
|
+
body:
|
123
|
+
encoding: UTF-8
|
124
|
+
string: '<SearchResponseMessageGet xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
125
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><SearchRequestGet><QueryString>query-1=AND,Stakeholder+forum+on+federal+wetlands+mitigation+environmental+law+institute&sort=relevance&includefacets=y&searchmode=all&autosuggest=n&view=detailed&resultsperpage=10&pagenumber=1&highlight=y</QueryString><SearchCriteriaWithActions><QueriesWithAction><QueryWithAction><Query><BooleanOperator>AND</BooleanOperator><Term>Stakeholder
|
126
|
+
forum on federal wetlands mitigation environmental law institute</Term></Query><RemoveAction>removequery(1)</RemoveAction></QueryWithAction></QueriesWithAction></SearchCriteriaWithActions></SearchRequestGet><SearchResult><Statistics><TotalHits>1</TotalHits><TotalSearchTime>469</TotalSearchTime><Databases><Database><Id>bth</Id><Label>Business
|
127
|
+
Source Complete</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>a9h</Id><Label/><Status>0</Status><Hits>0</Hits></Database><Database><Id>lpr</Id><Label>Index
|
128
|
+
to Legal Periodicals Retrospective: 1908-1981 (H.W. Wilson)</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edshvr</Id><Label>Hoover''s
|
129
|
+
Company Profiles</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edslex</Id><Label>LexisNexis
|
130
|
+
Academic: Law Reviews</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edshol</Id><Label>HeinOnline</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>ir00629a</Id><Label>FLASH
|
131
|
+
(Institutional Repository)</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsglt</Id><Label>InfoTrac
|
132
|
+
LegalTrac</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsjsr</Id><Label>JSTOR
|
133
|
+
Journals</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsgml</Id><Label>Making
|
134
|
+
of Modern Law</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edslmc</Id><Label>LLMC
|
135
|
+
Digital</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>cat05341a</Id><Label>The
|
136
|
+
Maloney Library</Label><Status>0</Status><Hits>1</Hits></Database></Databases></Statistics><Data><RecordFormat>EP
|
137
|
+
Display</RecordFormat><Records><Record><ResultId>1</ResultId><Header><DbId>cat05341a</DbId><DbLabel>The
|
138
|
+
Maloney Library</DbLabel><An>ford.b472115</An><RelevancyScore>1792</RelevancyScore><PubType>eBook</PubType><PubTypeId>ebook</PubTypeId></Header><PLink>http://0-search.ebscohost.com.lawpac.lawnet.fordham.edu/login.aspx?direct=true&site=eds-live&db=cat05341a&AN=ford.b472115</PLink><FullText><Text><Availability>0</Availability></Text></FullText><Items><Item><Name>Title</Name><Label>Title</Label><Group>Ti</Group><Data><highlight>Stakeholder</highlight>
|
139
|
+
<highlight>forum</highlight> <highlight>on</highlight>
|
140
|
+
<highlight>federal</highlight> <highlight>wetlands</highlight>
|
141
|
+
<highlight>mitigation</highlight> [electronic resource] : <highlight>forum</highlight>
|
142
|
+
report / by the <highlight>Environmental</highlight> <highlight>Law</highlight>
|
143
|
+
<highlight>Institute</highlight>.</Data></Item><Item><Name>TypePub</Name><Label>Publication
|
144
|
+
Type</Label><Group>TypPub</Group><Data>Book; Computer File; eBook</Data></Item><Item><Name>Subject</Name><Label>Subject
|
145
|
+
Terms</Label><Group>Su</Group><Data><searchLink fieldCode="DE" term="%22Wetlands+--+Law+and+legislation+--+United+States+--+Congresses%22"><highlight>Wetlands</highlight>
|
146
|
+
-- <highlight>Law</highlight> and legislation -- United States
|
147
|
+
-- Congresses</searchLink><br /><searchLink fieldCode="DE"
|
148
|
+
term="%22Wetland+management+--+Law+and+legislation+--+United+States+--+Congresses%22"><highlight>Wetland</highlight>
|
149
|
+
management -- <highlight>Law</highlight> and legislation -- United
|
150
|
+
States -- Congresses</searchLink></Data></Item><Item><Name>Author</Name><Label>Other
|
151
|
+
Authors</Label><Group>Au</Group><Data><searchLink fieldCode="AR" term="%22United+States%2E+Environmental+Protection+Agency%2E%22">United
|
152
|
+
States. <highlight>Environmental</highlight> Protection Agency.</searchLink></Data></Item><Item><Name>Author</Name><Label>Other
|
153
|
+
Authors</Label><Group>Au</Group><Data><searchLink fieldCode="AR" term="%22Maryland%2E+Dept%2E+of+the+Environment%2E%22">Maryland.
|
154
|
+
Dept. of the Environment.</searchLink></Data></Item><Item><Name>Author</Name><Label>Other
|
155
|
+
Authors</Label><Group>Au</Group><Data><searchLink fieldCode="AR" term="%22Environmental+Law+Institute%2E%22"><highlight>Environmental</highlight>
|
156
|
+
<highlight>Law</highlight> <highlight>Institute</highlight>.</searchLink></Data></Item><Item><Name>Author</Name><Label>Other
|
157
|
+
Authors</Label><Group>Au</Group><Data><searchLink fieldCode="AR" term="%22National+Aquarium+in+Baltimore%2E%22">National
|
158
|
+
Aquarium in Baltimore.</searchLink></Data></Item><Item><Name>Author</Name><Label>Other
|
159
|
+
Authors</Label><Group>Au</Group><Data><searchLink fieldCode="AR" term="%22ebrary%2C+Inc%2E%22">ebrary,
|
160
|
+
Inc.</searchLink></Data></Item><Item><Name>URL</Name><Label>Online Access</Label><Group>URL</Group><Data><link
|
161
|
+
linkTarget="URL" linkTerm="http://0-site.ebrary.com.lawpac.lawnet.fordham.edu/lib/fordhamlaw/Doc?id=10039981"
|
162
|
+
linkWindow="_blank">Online Resource via Ebrary (access: current Fordham
|
163
|
+
<EPKWIC>Law</EPKWIC> community)</link></Data></Item></Items><RecordInfo><BibRecord><BibEntity><Languages><Language><Text>English</Text></Language></Languages><Subjects><Subject><SubjectFull>Wetlands
|
164
|
+
-- Law and legislation -- United States -- Congresses</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Wetland
|
165
|
+
management -- Law and legislation -- United States -- Congresses</SubjectFull><Type>general</Type></Subject></Subjects><Titles><Title><TitleFull>Stakeholder
|
166
|
+
forum on federal wetlands mitigation. [electronic resource] : forum report.</TitleFull><Type>main</Type></Title></Titles></BibEntity><BibRelationships><IsPartOfRelationships><IsPartOf><BibEntity><Dates><Date><D>01</D><M>01</M><Type>published</Type><Y>2002</Y></Date></Dates><Titles><Title><TitleFull>Stakeholder
|
167
|
+
forum on federal wetlands mitigation [electronic resource] : forum report
|
168
|
+
/ by the Environmental Law Institute.</TitleFull><Type>main</Type></Title></Titles></BibEntity></IsPartOf></IsPartOfRelationships></BibRelationships></BibRecord></RecordInfo><Holdings><Holding><HoldingSimple><CopyInformationList><CopyInformation><Sublocation>Internet</Sublocation><ShelfLocator>KF5624
|
169
|
+
.S83 2002 (e-book)</ShelfLocator></CopyInformation></CopyInformationList></HoldingSimple></Holding></Holdings></Record></Records></Data><AvailableFacets><AvailableFacet><Id>SourceType</Id><Label>Source
|
170
|
+
Type</Label><AvailableFacetValues><AvailableFacetValue><Value>Books</Value><Count>1</Count><AddAction>addfacetfilter(SourceType:Books)</AddAction></AvailableFacetValue><AvailableFacetValue><Value>eBooks</Value><Count>1</Count><AddAction>addfacetfilter(SourceType:eBooks)</AddAction></AvailableFacetValue><AvailableFacetValue><Value>Electronic
|
171
|
+
Resources</Value><Count>1</Count><AddAction>addfacetfilter(SourceType:Electronic
|
172
|
+
Resources)</AddAction></AvailableFacetValue></AvailableFacetValues></AvailableFacet><AvailableFacet><Id>ContentProvider</Id><Label>Content
|
173
|
+
Provider</Label><AvailableFacetValues><AvailableFacetValue><Value>The Maloney
|
174
|
+
Library</Value><Count>1</Count><AddAction>addfacetfilter(ContentProvider:The
|
175
|
+
Maloney Library)</AddAction></AvailableFacetValue></AvailableFacetValues></AvailableFacet></AvailableFacets><AvailableCriteria><DateRange><MinDate>2002-01</MinDate><MaxDate>2002-01</MaxDate></DateRange></AvailableCriteria></SearchResult></SearchResponseMessageGet>'
|
176
|
+
http_version:
|
177
|
+
recorded_at: Thu, 08 Dec 2016 20:21:43 GMT
|
178
|
+
- request:
|
179
|
+
method: get
|
180
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/endsession?sessiontoken=76e036da-3e1a-473b-a88b-8312df018df3.tfSJGmfljb2oi0RBrWTTnCl4OcAEr9eSPH2kl%2B0lrxw=
|
181
|
+
body:
|
182
|
+
encoding: UTF-8
|
183
|
+
string: ''
|
184
|
+
headers:
|
185
|
+
X-Authenticationtoken:
|
186
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
187
|
+
Accept:
|
188
|
+
- application/xml
|
189
|
+
response:
|
190
|
+
status:
|
191
|
+
code: 200
|
192
|
+
message: OK
|
193
|
+
headers:
|
194
|
+
Cache-Control:
|
195
|
+
- private
|
196
|
+
Content-Length:
|
197
|
+
- '179'
|
198
|
+
Content-Type:
|
199
|
+
- application/xml; charset=utf-8
|
200
|
+
Server:
|
201
|
+
- Microsoft-IIS/8.5
|
202
|
+
X-Authenticationtoken:
|
203
|
+
- AB0ECKkoSn0X6hTuX8dkJM18AW_3WVhJx957IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
204
|
+
X-Msg-Correlid:
|
205
|
+
- e3f294dd-07fe-4b78-998b-4e97b2017d2b
|
206
|
+
X-Aspnet-Version:
|
207
|
+
- 4.0.30319
|
208
|
+
X-Powered-By:
|
209
|
+
- ASP.NET
|
210
|
+
Date:
|
211
|
+
- Thu, 08 Dec 2016 20:21:43 GMT
|
212
|
+
body:
|
213
|
+
encoding: UTF-8
|
214
|
+
string: <EndSessionResponse xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
215
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><IsSuccessful>y</IsSuccessful></EndSessionResponse>
|
216
|
+
http_version:
|
217
|
+
recorded_at: Thu, 08 Dec 2016 20:21:43 GMT
|
218
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,255 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://eds-api.ebscohost.com/authservice/rest/uidauth
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |2
|
9
|
+
{
|
10
|
+
"UserId":"DUMMY_USER_ID",
|
11
|
+
"Password":"DUMMY_PWD"
|
12
|
+
}
|
13
|
+
headers:
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- private
|
25
|
+
Content-Length:
|
26
|
+
- '128'
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Server:
|
30
|
+
- Microsoft-IIS/8.5
|
31
|
+
X-Aspnet-Version:
|
32
|
+
- 4.0.30319
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Thu, 08 Dec 2016 18:31:29 GMT
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"AuthToken":"AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0","AuthTimeout":"1800"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Thu, 08 Dec 2016 18:31:29 GMT
|
42
|
+
- request:
|
43
|
+
method: get
|
44
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/createsession?guest=n&profile=wsapi
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
headers:
|
49
|
+
X-Authenticationtoken:
|
50
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
51
|
+
Accept:
|
52
|
+
- application/xml
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
Cache-Control:
|
59
|
+
- private
|
60
|
+
Content-Length:
|
61
|
+
- '279'
|
62
|
+
Content-Type:
|
63
|
+
- application/xml; charset=utf-8
|
64
|
+
Server:
|
65
|
+
- Microsoft-IIS/8.5
|
66
|
+
X-Sessiontoken:
|
67
|
+
- c88b399d-ab46-49ea-8804-729b88d90b29.7ihrDv9DNEGoepQp99O/CpAgfE+DevS0jI0ZVYjGWP0=
|
68
|
+
X-Authenticationtoken:
|
69
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
70
|
+
X-Msg-Correlid:
|
71
|
+
- 387352fa-8364-4db3-ae6b-7b2dc7786db1
|
72
|
+
X-Aspnet-Version:
|
73
|
+
- 4.0.30319
|
74
|
+
X-Powered-By:
|
75
|
+
- ASP.NET
|
76
|
+
Date:
|
77
|
+
- Thu, 08 Dec 2016 18:31:28 GMT
|
78
|
+
body:
|
79
|
+
encoding: UTF-8
|
80
|
+
string: <CreateSessionResponseMessage xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
81
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><SessionToken>c88b399d-ab46-49ea-8804-729b88d90b29.7ihrDv9DNEGoepQp99O/CpAgfE+DevS0jI0ZVYjGWP0=</SessionToken></CreateSessionResponseMessage>
|
82
|
+
http_version:
|
83
|
+
recorded_at: Thu, 08 Dec 2016 18:31:29 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/search?highlight=y&query=AND,New%20York%20exposed%20the%20gilded%20age%20police%20scandal%20that%20launched%20the%20progressive%20era%20Daniel%20Czitrom&resultsperpage=10&searchmode=all&view=detailed
|
87
|
+
body:
|
88
|
+
encoding: UTF-8
|
89
|
+
string: ''
|
90
|
+
headers:
|
91
|
+
X-Authenticationtoken:
|
92
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
93
|
+
Accept:
|
94
|
+
- application/xml
|
95
|
+
X-Sessiontoken:
|
96
|
+
- c88b399d-ab46-49ea-8804-729b88d90b29.7ihrDv9DNEGoepQp99O/CpAgfE+DevS0jI0ZVYjGWP0=
|
97
|
+
response:
|
98
|
+
status:
|
99
|
+
code: 200
|
100
|
+
message: OK
|
101
|
+
headers:
|
102
|
+
Cache-Control:
|
103
|
+
- private
|
104
|
+
Content-Length:
|
105
|
+
- '13330'
|
106
|
+
Content-Type:
|
107
|
+
- application/xml; charset=utf-8
|
108
|
+
Server:
|
109
|
+
- Microsoft-IIS/8.5
|
110
|
+
X-Sessiontoken:
|
111
|
+
- c88b399d-ab46-49ea-8804-729b88d90b29.7ihrDv9DNEGoepQp99O/CpAgfE+DevS0jI0ZVYjGWP0=
|
112
|
+
X-Authenticationtoken:
|
113
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
114
|
+
X-Msg-Correlid:
|
115
|
+
- 70854b2f-75b7-4ec8-8ff6-0928dd2d9e19
|
116
|
+
X-Aspnet-Version:
|
117
|
+
- 4.0.30319
|
118
|
+
X-Powered-By:
|
119
|
+
- ASP.NET
|
120
|
+
Date:
|
121
|
+
- Thu, 08 Dec 2016 18:31:29 GMT
|
122
|
+
body:
|
123
|
+
encoding: UTF-8
|
124
|
+
string: '<SearchResponseMessageGet xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
125
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><SearchRequestGet><QueryString>query-1=AND,New+York+exposed+the+gilded+age+police+scandal+that+launched+the+progressive+era+Daniel+Czitrom&sort=relevance&includefacets=y&searchmode=all&autosuggest=n&view=detailed&resultsperpage=10&pagenumber=1&highlight=y</QueryString><SearchCriteriaWithActions><QueriesWithAction><QueryWithAction><Query><BooleanOperator>AND</BooleanOperator><Term>New
|
126
|
+
York exposed the gilded age police scandal that launched the progressive era
|
127
|
+
Daniel Czitrom</Term></Query><RemoveAction>removequery(1)</RemoveAction></QueryWithAction></QueriesWithAction></SearchCriteriaWithActions></SearchRequestGet><SearchResult><Statistics><TotalHits>2</TotalHits><TotalSearchTime>207</TotalSearchTime><Databases><Database><Id>bth</Id><Label>Business
|
128
|
+
Source Complete</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>a9h</Id><Label/><Status>0</Status><Hits>1</Hits></Database><Database><Id>lpr</Id><Label>Index
|
129
|
+
to Legal Periodicals Retrospective: 1908-1981 (H.W. Wilson)</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edshvr</Id><Label>Hoover''s
|
130
|
+
Company Profiles</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edslex</Id><Label>LexisNexis
|
131
|
+
Academic: Law Reviews</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edshol</Id><Label>HeinOnline</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>ir00629a</Id><Label>FLASH
|
132
|
+
(Institutional Repository)</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsglt</Id><Label>InfoTrac
|
133
|
+
LegalTrac</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsjsr</Id><Label>JSTOR
|
134
|
+
Journals</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edsgml</Id><Label>Making
|
135
|
+
of Modern Law</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>edslmc</Id><Label>LLMC
|
136
|
+
Digital</Label><Status>0</Status><Hits>0</Hits></Database><Database><Id>cat05341a</Id><Label>The
|
137
|
+
Maloney Library</Label><Status>0</Status><Hits>1</Hits></Database></Databases></Statistics><Data><RecordFormat>EP
|
138
|
+
Display</RecordFormat><Records><Record><ResultId>1</ResultId><Header><DbId>cat05341a</DbId><DbLabel>The
|
139
|
+
Maloney Library</DbLabel><An>ford.b625775</An><RelevancyScore>1956</RelevancyScore><PubType>Book</PubType><PubTypeId>book</PubTypeId></Header><PLink>http://0-search.ebscohost.com.lawpac.lawnet.fordham.edu/login.aspx?direct=true&site=eds-live&db=cat05341a&AN=ford.b625775</PLink><ImageInfo><CoverArt><Size>thumb</Size><Target>http://contentcafe2.btol.com/ContentCafe/jacket.aspx?UserID=ebsco-test&Password=ebsco-test&Return=T&Type=S&Value=9780199837007</Target></CoverArt><CoverArt><Size>medium</Size><Target>http://contentcafe2.btol.com/ContentCafe/jacket.aspx?UserID=ebsco-test&Password=ebsco-test&Return=T&Type=M&Value=9780199837007</Target></CoverArt></ImageInfo><FullText><Text><Availability>0</Availability></Text></FullText><Items><Item><Name>Title</Name><Label>Title</Label><Group>Ti</Group><Data><highlight>New</highlight>
|
140
|
+
<highlight>York</highlight> <highlight>exposed</highlight>
|
141
|
+
: <highlight>the</highlight> <highlight>gilded</highlight>
|
142
|
+
<highlight>age</highlight> <highlight>police</highlight>
|
143
|
+
<highlight>scandal</highlight> <highlight>that</highlight>
|
144
|
+
<highlight>launched</highlight> <highlight>the</highlight>
|
145
|
+
<highlight>progressive</highlight> <highlight>era</highlight>
|
146
|
+
/ <highlight>Daniel</highlight> <highlight>Czitrom</highlight>.</Data></Item><Item><Name>Author</Name><Label>Authors</Label><Group>Au</Group><Data><searchLink
|
147
|
+
fieldCode="AR" term="%22Czitrom%2C+Daniel+J%2E%22"><highlight>Czitrom</highlight>,
|
148
|
+
<highlight>Daniel</highlight> J.</searchLink>, 1951-, author</Data></Item><Item><Name>TypePub</Name><Label>Publication
|
149
|
+
Type</Label><Group>TypPub</Group><Data>Book</Data></Item><Item><Name>Subject</Name><Label>Subject
|
150
|
+
Terms</Label><Group>Su</Group><Data><searchLink fieldCode="DE" term="%22Police+corruption+--+New+York+%28State%29+--+New+York+--+History+--+19th+century%22"><highlight>Police</highlight>
|
151
|
+
corruption -- <highlight>New</highlight> <highlight>York</highlight>
|
152
|
+
(State) -- <highlight>New</highlight> <highlight>York</highlight>
|
153
|
+
-- History -- 19th century</searchLink><br /><searchLink fieldCode="DE"
|
154
|
+
term="%22Vice+control+--+New+York+%28State%29+--+New+York+--+History+--+19th+century%22">Vice
|
155
|
+
control -- <highlight>New</highlight> <highlight>York</highlight>
|
156
|
+
(State) -- <highlight>New</highlight> <highlight>York</highlight>
|
157
|
+
-- History -- 19th century</searchLink><br /><searchLink fieldCode="DE"
|
158
|
+
term="%22Political+corruption+--+New+York+%28State%29+--+New+York+--+History+--+19th+century%22">Political
|
159
|
+
corruption -- <highlight>New</highlight> <highlight>York</highlight>
|
160
|
+
(State) -- <highlight>New</highlight> <highlight>York</highlight>
|
161
|
+
-- History -- 19th century</searchLink><br /><searchLink fieldCode="DE"
|
162
|
+
term="%22Progressivism+%28United+States+politics%29+--+History+--+19th+century%22">Progressivism
|
163
|
+
(United States politics) -- History -- 19th century</searchLink></Data></Item><Item><Name>SubjectGeographic</Name><Label>Subject
|
164
|
+
Terms</Label><Group>Su</Group><Data><searchLink fieldCode="DE" term="%22New+York+%28N%2EY%2E%29+--+History+--+1865-1898%22"><highlight>New</highlight>
|
165
|
+
<highlight>York</highlight> (N.Y.) -- History -- 1865-1898</searchLink></Data></Item><Item><Name>SubjectPerson</Name><Label>Subject
|
166
|
+
Terms</Label><Group>Su</Group><Data><searchLink fieldCode="DE" term="%22Parkhurst%2C+C%2E+H%2E+1842-1933%22">Parkhurst,
|
167
|
+
C. H. 1842-1933</searchLink></Data></Item></Items><RecordInfo><BibRecord><BibEntity><Languages><Language><Text>English</Text></Language></Languages><Subjects><Subject><SubjectFull>Parkhurst,
|
168
|
+
C. H. 1842-1933</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Police
|
169
|
+
corruption -- New York (State) -- New York -- History -- 19th century</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Vice
|
170
|
+
control -- New York (State) -- New York -- History -- 19th century</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Political
|
171
|
+
corruption -- New York (State) -- New York -- History -- 19th century</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Progressivism
|
172
|
+
(United States politics) -- History -- 19th century</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>New
|
173
|
+
York (N.Y.) -- History -- 1865-1898</SubjectFull><Type>general</Type></Subject></Subjects><Titles><Title><TitleFull>New
|
174
|
+
York exposed : the gilded age police scandal that launched the progressive
|
175
|
+
era.</TitleFull><Type>main</Type></Title></Titles></BibEntity><BibRelationships><HasContributorRelationships><HasContributor><PersonEntity><Name><NameFull>Czitrom,
|
176
|
+
Daniel J.</NameFull></Name></PersonEntity></HasContributor></HasContributorRelationships><IsPartOfRelationships><IsPartOf><BibEntity><Dates><Date><D>01</D><M>01</M><Type>published</Type><Y>2016</Y></Date></Dates><Identifiers><Identifier><Type>isbn-print</Type><Value>9780199837007</Value></Identifier><Identifier><Type>isbn-print</Type><Value>0199837007</Value></Identifier></Identifiers><Titles><Title><TitleFull>New
|
177
|
+
York exposed : the gilded age police scandal that launched the progressive
|
178
|
+
era / Daniel Czitrom.</TitleFull><Type>main</Type></Title></Titles></BibEntity></IsPartOf></IsPartOfRelationships></BibRelationships></BibRecord></RecordInfo><Holdings><Holding><HoldingSimple><CopyInformationList><CopyInformation><Sublocation>Stacks</Sublocation><ShelfLocator>HV8148.N5
|
179
|
+
C95 2016</ShelfLocator></CopyInformation></CopyInformationList></HoldingSimple></Holding></Holdings></Record><Record><ResultId>2</ResultId><Header><DbId>a9h</DbId><DbLabel/><An>115358726</An><RelevancyScore>1631</RelevancyScore><PubType>Review</PubType><PubTypeId>review</PubTypeId></Header><PLink>http://0-search.ebscohost.com.lawpac.lawnet.fordham.edu/login.aspx?direct=true&site=eds-live&db=a9h&AN=115358726</PLink><FullText><Text><Availability>0</Availability></Text></FullText><Items><Item><Name>Title</Name><Label>Title</Label><Group>Ti</Group><Data>Crusader’s
|
180
|
+
Fury, and Mark Twain in Debt.</Data></Item><Item><Name>Author</Name><Label>Authors</Label><Group>Au</Group><Data><searchLink
|
181
|
+
fieldCode="AR" term="%22ROBERTS%2C+SAM%22">ROBERTS, SAM</searchLink></Data></Item><Item><Name>TitleSource</Name><Label>Source</Label><Group>Src</Group><Data><searchLink
|
182
|
+
fieldCode="JN" term="%22New+York+Times%22"><highlight>New</highlight>
|
183
|
+
<highlight>York</highlight> Times</searchLink>. 5/15/2016,
|
184
|
+
Vol. 165 Issue 57233, Metropolitan p3-3. 1/5p.</Data></Item><Item><Name>Subject</Name><Label>Subject
|
185
|
+
Terms</Label><Group>Su</Group><Data>*<searchLink fieldCode="DE" term="%22Nonfiction%22">Nonfiction</searchLink></Data></Item><Item><Name>SubjectProduct</Name><Label>Reviews
|
186
|
+
& Products</Label><Group>Su</Group><Data><searchLink fieldCode="PS"
|
187
|
+
term="%22New+York+Exposed%3A+The+Gilded+Age+Police+Scandal+That+Launched+the+Progressive+Era+%28Book%29%22"><highlight>New</highlight>
|
188
|
+
<highlight>York</highlight> <highlight>Exposed</highlight>:
|
189
|
+
The <highlight>Gilded</highlight> <highlight>Age</highlight>
|
190
|
+
<highlight>Police</highlight> <highlight>Scandal</highlight>
|
191
|
+
That <highlight>Launched</highlight> the <highlight>Progressive</highlight>
|
192
|
+
<highlight>Era</highlight> (Book)</searchLink><br /><searchLink
|
193
|
+
fieldCode="PS" term="%22Chasing+the+Last+Laugh%3A+Mark+Twain''s+Raucous+%26+Redemptive+Round-The-World+Comedy+Tour+%28Book%29%22">Chasing
|
194
|
+
the Last Laugh: Mark Twain''s Raucous & Redemptive Round-The-World Comedy
|
195
|
+
Tour (Book)</searchLink></Data></Item><Item><Name>SubjectPerson</Name><Label>People</Label><Group>Su</Group><Data><searchLink
|
196
|
+
fieldCode="PE" term="%22Czitrom%2C+Daniel+J%2E%2C+1951-%22"><highlight>Czitrom</highlight>,
|
197
|
+
<highlight>Daniel</highlight> J., 1951-</searchLink><br
|
198
|
+
/><searchLink fieldCode="PE" term="%22Zacks%2C+Richard%22">Zacks,
|
199
|
+
Richard</searchLink></Data></Item></Items><RecordInfo><BibRecord><BibEntity><Languages><Language><Code>eng</Code><Text>English</Text></Language></Languages><PhysicalDescription><Pagination><PageCount>0</PageCount><StartPage>3</StartPage></Pagination></PhysicalDescription><Subjects><Subject><SubjectFull>New
|
200
|
+
York Exposed: The Gilded Age Police Scandal That Launched the Progressive
|
201
|
+
Era (Book)</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Chasing
|
202
|
+
the Last Laugh: Mark Twain''s Raucous & Redemptive Round-The-World Comedy
|
203
|
+
Tour (Book)</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Czitrom,
|
204
|
+
Daniel J., 1951-</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Zacks,
|
205
|
+
Richard</SubjectFull><Type>general</Type></Subject><Subject><SubjectFull>Nonfiction</SubjectFull><Type>general</Type></Subject></Subjects><Titles><Title><TitleFull>Crusader’s
|
206
|
+
Fury, and Mark Twain in Debt.</TitleFull><Type>main</Type></Title></Titles></BibEntity><BibRelationships><HasContributorRelationships><HasContributor><PersonEntity><Name><NameFull>ROBERTS,
|
207
|
+
SAM</NameFull></Name></PersonEntity></HasContributor></HasContributorRelationships><IsPartOfRelationships><IsPartOf><BibEntity><Dates><Date><D>15</D><M>05</M><Text>5/15/2016</Text><Type>published</Type><Y>2016</Y></Date></Dates><Identifiers><Identifier><Type>issn-print</Type><Value>03624331</Value></Identifier></Identifiers><Numbering><Number><Type>volume</Type><Value>165</Value></Number><Number><Type>issue</Type><Value>57233</Value></Number></Numbering><Titles><Title><TitleFull>New
|
208
|
+
York Times</TitleFull><Type>main</Type></Title></Titles></BibEntity></IsPartOf></IsPartOfRelationships></BibRelationships></BibRecord></RecordInfo></Record></Records></Data><AvailableFacets><AvailableFacet><Id>SourceType</Id><Label>Source
|
209
|
+
Type</Label><AvailableFacetValues><AvailableFacetValue><Value>Reviews</Value><Count>1</Count><AddAction>addfacetfilter(SourceType:Reviews)</AddAction></AvailableFacetValue><AvailableFacetValue><Value>Books</Value><Count>1</Count><AddAction>addfacetfilter(SourceType:Books)</AddAction></AvailableFacetValue></AvailableFacetValues></AvailableFacet><AvailableFacet><Id>ContentProvider</Id><Label>Content
|
210
|
+
Provider</Label><AvailableFacetValues><AvailableFacetValue><Value>The Maloney
|
211
|
+
Library</Value><Count>1</Count><AddAction>addfacetfilter(ContentProvider:The
|
212
|
+
Maloney Library)</AddAction></AvailableFacetValue></AvailableFacetValues></AvailableFacet></AvailableFacets><AvailableCriteria><DateRange><MinDate>2016-01</MinDate><MaxDate>2016-05</MaxDate></DateRange></AvailableCriteria></SearchResult></SearchResponseMessageGet>'
|
213
|
+
http_version:
|
214
|
+
recorded_at: Thu, 08 Dec 2016 18:31:30 GMT
|
215
|
+
- request:
|
216
|
+
method: get
|
217
|
+
uri: http://eds-api.ebscohost.com/edsapi/rest/endsession?sessiontoken=c88b399d-ab46-49ea-8804-729b88d90b29.7ihrDv9DNEGoepQp99O/CpAgfE%2BDevS0jI0ZVYjGWP0=
|
218
|
+
body:
|
219
|
+
encoding: UTF-8
|
220
|
+
string: ''
|
221
|
+
headers:
|
222
|
+
X-Authenticationtoken:
|
223
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
224
|
+
Accept:
|
225
|
+
- application/xml
|
226
|
+
response:
|
227
|
+
status:
|
228
|
+
code: 200
|
229
|
+
message: OK
|
230
|
+
headers:
|
231
|
+
Cache-Control:
|
232
|
+
- private
|
233
|
+
Content-Length:
|
234
|
+
- '179'
|
235
|
+
Content-Type:
|
236
|
+
- application/xml; charset=utf-8
|
237
|
+
Server:
|
238
|
+
- Microsoft-IIS/8.5
|
239
|
+
X-Authenticationtoken:
|
240
|
+
- AB0djQtOJirfv7SIDlZ0QHowRCVRtVhJrgl7IkN1c3RvbWVySWQiOiJzODk0NDc0MCIsIkdyb3VwSWQiOiJtYWluIn0
|
241
|
+
X-Msg-Correlid:
|
242
|
+
- 979d10a8-7881-4a0e-a232-38553997ff53
|
243
|
+
X-Aspnet-Version:
|
244
|
+
- 4.0.30319
|
245
|
+
X-Powered-By:
|
246
|
+
- ASP.NET
|
247
|
+
Date:
|
248
|
+
- Thu, 08 Dec 2016 18:31:29 GMT
|
249
|
+
body:
|
250
|
+
encoding: UTF-8
|
251
|
+
string: <EndSessionResponse xmlns="http://epnet.com/webservices/EbscoApi/Contracts"
|
252
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><IsSuccessful>y</IsSuccessful></EndSessionResponse>
|
253
|
+
http_version:
|
254
|
+
recorded_at: Thu, 08 Dec 2016 18:31:30 GMT
|
255
|
+
recorded_with: VCR 2.9.3
|