bento_search 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/README.md +131 -74
  2. data/app/assets/javascripts/bento_search/ajax_load.js +12 -4
  3. data/app/assets/stylesheets/bento_search/suggested_styles.css +4 -4
  4. data/app/helpers/bento_search_helper.rb +114 -27
  5. data/app/item_decorators/bento_search/decorator_base.rb +53 -0
  6. data/app/item_decorators/bento_search/ebscohost/conditional_openurl_main_link.rb +36 -0
  7. data/app/item_decorators/bento_search/no_links.rb +3 -2
  8. data/app/item_decorators/bento_search/only_premade_openurl.rb +4 -0
  9. data/app/item_decorators/bento_search/openurl_add_other_link.rb +4 -0
  10. data/app/item_decorators/bento_search/openurl_main_link.rb +4 -0
  11. data/app/item_decorators/bento_search/standard_decorator.rb +122 -0
  12. data/app/models/bento_search/multi_searcher.rb +13 -6
  13. data/app/models/bento_search/openurl_creator.rb +25 -5
  14. data/app/models/bento_search/result_item.rb +25 -83
  15. data/app/models/bento_search/results/pagination.rb +8 -2
  16. data/app/models/bento_search/search_engine.rb +29 -23
  17. data/app/search_engines/bento_search/ebsco_host_engine.rb +161 -25
  18. data/app/search_engines/bento_search/eds_engine.rb +1 -44
  19. data/app/search_engines/bento_search/google_books_engine.rb +61 -14
  20. data/app/search_engines/bento_search/google_site_search_engine.rb +3 -1
  21. data/app/search_engines/bento_search/mock_engine.rb +4 -0
  22. data/app/search_engines/bento_search/primo_engine.rb +2 -3
  23. data/app/search_engines/bento_search/scopus_engine.rb +1 -0
  24. data/app/search_engines/bento_search/summon_engine.rb +5 -1
  25. data/app/search_engines/bento_search/worldcat_sru_dc_engine.rb +36 -8
  26. data/app/views/bento_search/_item_title.html.erb +29 -0
  27. data/app/views/bento_search/_no_results.html.erb +3 -0
  28. data/app/views/bento_search/_search_error.html.erb +19 -15
  29. data/app/views/bento_search/_std_item.html.erb +55 -30
  30. data/app/views/bento_search/search/search.html.erb +7 -0
  31. data/config/locales/en.yml +22 -0
  32. data/lib/bento_search/util.rb +63 -1
  33. data/lib/bento_search/version.rb +1 -1
  34. data/test/decorator/decorator_base_test.rb +72 -0
  35. data/test/decorator/standard_decorator_test.rb +55 -0
  36. data/test/dummy/db/development.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +12 -0
  38. data/test/dummy/log/test.log +119757 -0
  39. data/test/functional/bento_search/search_controller_test.rb +28 -0
  40. data/test/helper/bento_search_helper_test.rb +71 -0
  41. data/test/helper/bento_truncate_helper_test.rb +71 -0
  42. data/test/unit/ebsco_host_engine_test.rb +110 -3
  43. data/test/unit/google_books_engine_test.rb +22 -14
  44. data/test/unit/google_site_search_test.rb +11 -4
  45. data/test/unit/item_decorators_test.rb +6 -65
  46. data/test/unit/openurl_creator_test.rb +87 -8
  47. data/test/unit/result_item_test.rb +1 -11
  48. data/test/unit/search_engine_base_test.rb +25 -2
  49. data/test/unit/search_engine_test.rb +16 -0
  50. data/test/unit/summon_engine_test.rb +3 -0
  51. data/test/vcr_cassettes/ebscohost/another_dissertation.yml +148 -0
  52. data/test/vcr_cassettes/ebscohost/dissertation_example.yml +218 -0
  53. data/test/vcr_cassettes/ebscohost/fulltext_info.yml +1306 -0
  54. data/test/vcr_cassettes/ebscohost/live_book_example.yml +130 -0
  55. data/test/vcr_cassettes/ebscohost/live_dissertation.yml +148 -0
  56. data/test/vcr_cassettes/ebscohost/live_pathological_book_item_example.yml +215 -0
  57. data/test/vcr_cassettes/google_site/gets_format_string.yml +232 -0
  58. data/test/vcr_cassettes/max_out_pagination.yml +155 -0
  59. data/test/vcr_cassettes/worldcat_sru_dc/max_out_pagination.yml +167 -0
  60. data/test/view/std_item_test.rb +25 -8
  61. metadata +45 -12
  62. data/test/unit/result_item_display_test.rb +0 -39
  63. data/test/unit/worldcat_sru_dc_engine_test.rb +0 -120
@@ -0,0 +1,232 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.googleapis.com/customsearch/v1?cx=DUMMY_CX&key=DUMMY_API_KEY&num=10&q=Adobe%20PDF
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Expires:
16
+ - Mon, 19 Nov 2012 22:28:22 GMT
17
+ Date:
18
+ - Mon, 19 Nov 2012 22:28:22 GMT
19
+ Cache-Control:
20
+ - private, max-age=0, must-revalidate, no-transform
21
+ Etag:
22
+ - ! '"5n-ABuX6AxBQtv21jBFt-w_behM/xWVxFkcqkjg50VIXRJyKFTP4wto"'
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ Server:
32
+ - GSE
33
+ Transfer-Encoding:
34
+ - chunked
35
+ body:
36
+ encoding: UTF-8
37
+ string: ! "{\n \"kind\": \"customsearch#search\",\n \"url\": {\n \"type\":
38
+ \"application/json\",\n \"template\": \"https://www.googleapis.com/customsearch/v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=json\"\n
39
+ },\n \"queries\": {\n \"nextPage\": [\n {\n \"title\": \"Google Custom
40
+ Search - Adobe PDF\",\n \"totalResults\": \"358\",\n \"searchTerms\":
41
+ \"Adobe PDF\",\n \"count\": 10,\n \"startIndex\": 11,\n \"inputEncoding\":
42
+ \"utf8\",\n \"outputEncoding\": \"utf8\",\n \"safe\": \"off\",\n \"cx\":
43
+ \"DUMMY_CX\"\n }\n ],\n \"request\": [\n {\n \"title\": \"Google
44
+ Custom Search - Adobe PDF\",\n \"totalResults\": \"358\",\n \"searchTerms\":
45
+ \"Adobe PDF\",\n \"count\": 10,\n \"startIndex\": 1,\n \"inputEncoding\":
46
+ \"utf8\",\n \"outputEncoding\": \"utf8\",\n \"safe\": \"off\",\n \"cx\":
47
+ \"DUMMY_CX\"\n }\n ]\n },\n \"context\": {\n \"title\": \"JHU Libraries
48
+ test\"\n },\n \"searchInformation\": {\n \"searchTime\": 0.091685,\n \"formattedSearchTime\":
49
+ \"0.09\",\n \"totalResults\": \"358\",\n \"formattedTotalResults\": \"358\"\n
50
+ },\n \"items\": [\n {\n \"kind\": \"customsearch#result\",\n \"title\":
51
+ \"E-Readers - E-Books - Library Guides at Johns Hopkins University\",\n \"htmlTitle\":
52
+ \"E-Readers - E-Books - Library Guides at Johns Hopkins University\",\n \"link\":
53
+ \"http://guides.library.jhu.edu/content.php?pid=156837&sid=1328261\",\n \"displayLink\":
54
+ \"guides.library.jhu.edu\",\n \"snippet\": \"Adobe Reader software is the
55
+ global standard for electronic document sharing. It is the only PDF file
56
+ viewer that can open and interact with all PDF documents ...\",\n \"htmlSnippet\":
57
+ \"\\u003cb\\u003eAdobe\\u003c/b\\u003e Reader software is the global standard
58
+ for electronic document sharing. It \\u003cbr\\u003e is the only \\u003cb\\u003ePDF\\u003c/b\\u003e
59
+ file viewer that can open and interact with all \\u003cb\\u003ePDF\\u003c/b\\u003e
60
+ documents \\u003cb\\u003e...\\u003c/b\\u003e\",\n \"formattedUrl\": \"guides.library.jhu.edu/content.php?pid=156837&sid=1328261\",\n
61
+ \ \"htmlFormattedUrl\": \"guides.library.jhu.edu/content.php?pid=156837&sid=1328261\",\n
62
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"author\": \"Sue Vazakas\",\n
63
+ \ \"copyright\": \"Copyright Johns Hopkins University 2012\",\n \"dc.title\":
64
+ \"Library Guides. E-Books. E-Readers.\",\n \"dc.creator\": \"Sue Vazakas\",\n
65
+ \ \"dc.subject\": \"E-Readers E-Books Library Guides\",\n \"dc.description\":
66
+ \"How to find electronic books and resources in the library's catalog. E-books
67
+ are usually read on dedicated hardware devices known as e-Readers or e-book
68
+ devices\",\n \"dc.publisher\": \"Johns Hopkins University Sheridan Libraries\",\n
69
+ \ \"dc.rights\": \"Copyright Johns Hopkins University 2012\",\n \"dc.language\":
70
+ \"en\",\n \"dc.identifier\": \"http://guides.library.jhu.edu/ebooks\",\n
71
+ \ \"dc.date.created\": \"May 9, 2011\",\n \"dc.date.modified\": \"Nov
72
+ 15, 2012\",\n \"dc.unused\": \"Contributor, Date, Type, Format, Source,
73
+ Relation, Coverage\",\n \"y_key\": \"65baedbaee9038f3\"\n }\n ]\n
74
+ \ }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\": \"Introduction
75
+ to Web Accessibility\",\n \"htmlTitle\": \"Introduction to Web Accessibility\",\n
76
+ \ \"link\": \"http://ldp.library.jhu.edu/documents/welch_class.pdf\",\n \"displayLink\":
77
+ \"ldp.library.jhu.edu\",\n \"snippet\": \"a tagged Adobe PDF file from an
78
+ untagged PDF file. This allows a pdf document to be read by a screen reader
79
+ for greater accessibility. PDF Tags are used to ...\",\n \"htmlSnippet\":
80
+ \"a tagged \\u003cb\\u003eAdobe PDF\\u003c/b\\u003e file from an untagged
81
+ PDF file. This allows a pdf document \\u003cbr\\u003e to be read by a screen
82
+ reader for greater accessibility. PDF Tags are used to \\u003cb\\u003e...\\u003c/b\\u003e\",\n
83
+ \ \"cacheId\": \"Svr2mu2ExfYJ\",\n \"mime\": \"application/pdf\",\n \"fileFormat\":
84
+ \"PDF/Adobe Acrobat\",\n \"formattedUrl\": \"ldp.library.jhu.edu/documents/welch_class.pdf\",\n
85
+ \ \"htmlFormattedUrl\": \"ldp.library.jhu.edu/documents/welch_class.\\u003cb\\u003epdf\\u003c/b\\u003e\",\n
86
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"moddate\": \"D:20050804170729-04'00'\",\n
87
+ \ \"creationdate\": \"D:20050804165740-04'00'\",\n \"title\": \"welch_class.ppt\",\n
88
+ \ \"creator\": \"PowerPoint\",\n \"author\": \"System Administrator\",\n
89
+ \ \"producer\": \"Mac OS X 10.4.1 Quartz PDFContext\"\n }\n ]\n
90
+ \ }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\": \"an
91
+ archaeology of knowledge\",\n \"htmlTitle\": \"an archaeology of knowledge\",\n
92
+ \ \"link\": \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.2/36138/080912_QRR%20label.pdf\",\n
93
+ \ \"displayLink\": \"jscholarship.library.jhu.edu\",\n \"snippet\": \"Aug
94
+ 9, 2012 ... Mounting Hardware. Scale: Full. Color. White (semigloss) - Panel.
95
+ Dark Blue - Text. Typeface. Adobe Garamond. Adobe Garamond Bold.\",\n \"htmlSnippet\":
96
+ \"Aug 9, 2012 \\u003cb\\u003e...\\u003c/b\\u003e Mounting Hardware. Scale:
97
+ Full. Color. White (semigloss) - Panel. Dark Blue - \\u003cbr\\u003e Text.
98
+ Typeface. \\u003cb\\u003eAdobe\\u003c/b\\u003e Garamond. \\u003cb\\u003eAdobe\\u003c/b\\u003e
99
+ Garamond Bold.\",\n \"cacheId\": \"NlFbq6EZxYQJ\",\n \"mime\": \"application/pdf\",\n
100
+ \ \"fileFormat\": \"PDF/Adobe Acrobat\",\n \"formattedUrl\": \"https://jscholarship.library.jhu.edu/bitstream/.../080912_QRR%20label.pdf\",\n
101
+ \ \"htmlFormattedUrl\": \"https://jscholarship.library.jhu.edu/bitstream/.../080912_QRR%20label.\\u003cb\\u003epdf\\u003c/b\\u003e\",\n
102
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"creationdate\": \"D:20120809132032-04'00'\",\n
103
+ \ \"creator\": \"Adobe Illustrator CS5\",\n \"moddate\": \"D:20120809132032-04'00'\",\n
104
+ \ \"producer\": \"Adobe PDF library 9.90\",\n \"title\": \"080912_QRR
105
+ label\"\n }\n ]\n }\n },\n {\n \"kind\": \"customsearch#result\",\n
106
+ \ \"title\": \"Reserve Course Readings - Spring and Summer 2012\",\n \"htmlTitle\":
107
+ \"Reserve Course Readings - Spring and Summer 2012\",\n \"link\": \"http://reserves.library.jhu.edu/access/reserves/findit/articles/index.php\",\n
108
+ \ \"displayLink\": \"reserves.library.jhu.edu\",\n \"snippet\": \"May 11,
109
+ 2012 ... To access these materials, you will need a current version of Adobe's
110
+ Acrobat Reader software. Macintosh users: The default Apple PDF reader ...\",\n
111
+ \ \"htmlSnippet\": \"May 11, 2012 \\u003cb\\u003e...\\u003c/b\\u003e To access
112
+ these materials, you will need a current version of \\u003cb\\u003eAdobe's\\u003c/b\\u003e
113
+ Acrobat \\u003cbr\\u003e Reader software. Macintosh users: The default Apple
114
+ \\u003cb\\u003ePDF\\u003c/b\\u003e reader \\u003cb\\u003e...\\u003c/b\\u003e\",\n
115
+ \ \"cacheId\": \"-lOOb_87l3UJ\",\n \"formattedUrl\": \"reserves.library.jhu.edu/access/reserves/findit/articles/index.php\",\n
116
+ \ \"htmlFormattedUrl\": \"reserves.library.jhu.edu/access/reserves/findit/articles/index.php\",\n
117
+ \ \"pagemap\": {\n \"cse_image\": [\n {\n \"src\": \"http://www.library.jhu.edu/bin/v/r/8.jpg\"\n
118
+ \ }\n ],\n \"cse_thumbnail\": [\n {\n \"width\": \"90\",\n
119
+ \ \"height\": \"73\",\n \"src\": \"https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcT4xkB6ir-E-ryjtD3bPCPLNRIYL1eIyQ-iMw6QqfaDP1qJlP39wSejJg\"\n
120
+ \ }\n ],\n \"metatags\": [\n {\n \"dc.identifier\": \"http://reserves.library.jhu.edu/access/reserves/findit/articles/index.php\",\n
121
+ \ \"dc.title\": \"Reserve Course Readings - Spring 2012\",\n \"dc.subject\":
122
+ \"readings, article, reserve, required, list, syllabus\",\n \"dc.date.created\":
123
+ \"2008-11-04\",\n \"dc.creator\": \"Bolgiano, John\",\n \"dc.publisher\":
124
+ \"Sheridan Libraries, The Johns Hopkins University\"\n }\n ]\n }\n
125
+ \ },\n {\n \"kind\": \"customsearch#result\",\n \"title\": \"Short Dysfunctional
126
+ Telomeres Impair Tumorigenesis in the INK4a 2 ...\",\n \"htmlTitle\": \"Short
127
+ Dysfunctional Telomeres Impair Tumorigenesis in the INK4a 2 \\u003cb\\u003e...\\u003c/b\\u003e\",\n
128
+ \ \"link\": \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.2/33670/Cell1999-3.pdf\",\n
129
+ \ \"displayLink\": \"jscholarship.library.jhu.edu\",\n \"snippet\": \"overlaid
130
+ in Adobe Photoshop (Adobe Sys- tems, Mountain View ..... value and then
131
+ by the number of planes restored in the PDF (Femino et al., 1998).\",\n \"htmlSnippet\":
132
+ \"overlaid in \\u003cb\\u003eAdobe\\u003c/b\\u003e Photoshop (\\u003cb\\u003eAdobe\\u003c/b\\u003e
133
+ Sys- tems, Mountain View \\u003cb\\u003e.....\\u003c/b\\u003e value and \\u003cbr\\u003e
134
+ \ then by the number of planes restored in the \\u003cb\\u003ePDF\\u003c/b\\u003e
135
+ (Femino et al., 1998).\",\n \"cacheId\": \"Lt6CvWe-Uw4J\",\n \"mime\":
136
+ \"application/pdf\",\n \"fileFormat\": \"PDF/Adobe Acrobat\",\n \"formattedUrl\":
137
+ \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.../Cell1999-3.pdf\",\n
138
+ \ \"htmlFormattedUrl\": \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.../Cell1999-3.\\u003cb\\u003epdf\\u003c/b\\u003e\",\n
139
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"creationdate\": \"D:19990507131745\",\n
140
+ \ \"producer\": \"Acrobat Distiller Daemon 3.01 for Solaris 2.3 and later
141
+ (SPARC)\",\n \"creator\": \"SYSTEM400 Rev 11.14\",\n \"title\":
142
+ \"088538u010\",\n \"moddate\": \"D:20030317115205+01'00'\"\n }\n
143
+ \ ]\n }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\":
144
+ \"List of features required for compliance - Web Advisory Council ...\",\n
145
+ \ \"htmlTitle\": \"List of features required for compliance - Web Advisory
146
+ Council \\u003cb\\u003e...\\u003c/b\\u003e\",\n \"link\": \"https://wiki.library.jhu.edu/display/WAC/List+of+features+required+for+compliance\",\n
147
+ \ \"displayLink\": \"wiki.library.jhu.edu\",\n \"snippet\": \"Sep 7, 2007
148
+ ... To learn more about Adobe's efforts to enhance PDF access, please visit
149
+ Adobe's Accessibility page: http://www.adobe.com/accessibility.\",\n \"htmlSnippet\":
150
+ \"Sep 7, 2007 \\u003cb\\u003e...\\u003c/b\\u003e To learn more about \\u003cb\\u003eAdobe's\\u003c/b\\u003e
151
+ efforts to enhance \\u003cb\\u003ePDF\\u003c/b\\u003e access, please visit
152
+ \\u003cb\\u003eAdobe's\\u003c/b\\u003e \\u003cbr\\u003e Accessibility
153
+ page: http://www.\\u003cb\\u003eadobe\\u003c/b\\u003e.com/accessibility.\",\n
154
+ \ \"cacheId\": \"B-KLGktiXO8J\",\n \"formattedUrl\": \"https://wiki.library.jhu.edu/.../List+of+features+required+for+compliance\",\n
155
+ \ \"htmlFormattedUrl\": \"https://wiki.library.jhu.edu/.../List+of+features+required+for+compliance\",\n
156
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"confluence-space-key\":
157
+ \"WAC\",\n \"confluence-request-time\": \"1352954763940\"\n }\n ]\n
158
+ \ }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\": \"d.
159
+ Printing - Bloomberg - Library Guides at Johns Hopkins University\",\n \"htmlTitle\":
160
+ \"d. Printing - Bloomberg - Library Guides at Johns Hopkins University\",\n
161
+ \ \"link\": \"http://guides.library.jhu.edu/content.php?pid=36657&sid=772161\",\n
162
+ \ \"displayLink\": \"guides.library.jhu.edu\",\n \"snippet\": \"Aug 24,
163
+ 2012 ... Follow Bloomberg's prompts to download PDF documents, reports, and
164
+ user guides. Choose the print command within the Adobe reader.\",\n \"htmlSnippet\":
165
+ \"Aug 24, 2012 \\u003cb\\u003e...\\u003c/b\\u003e Follow Bloomberg's prompts
166
+ to download \\u003cb\\u003ePDF\\u003c/b\\u003e documents, reports, and user
167
+ \\u003cbr\\u003e guides. Choose the print command within the \\u003cb\\u003eAdobe\\u003c/b\\u003e
168
+ reader.\",\n \"formattedUrl\": \"guides.library.jhu.edu/content.php?pid=36657&sid=772161\",\n
169
+ \ \"htmlFormattedUrl\": \"guides.library.jhu.edu/content.php?pid=36657&sid=772161\",\n
170
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"author\": \"Heather
171
+ Tapager\",\n \"copyright\": \"Copyright Johns Hopkins University 2012\",\n
172
+ \ \"dc.title\": \"Library Guides. Bloomberg. d. Printing.\",\n \"dc.creator\":
173
+ \"Heather Tapager\",\n \"dc.subject\": \"d. Printing Bloomberg Library
174
+ Guides\",\n \"dc.description\": \"A guide to using JHU's on-campus Bloomberg
175
+ terminals.\",\n \"dc.publisher\": \"Johns Hopkins University Sheridan
176
+ Libraries\",\n \"dc.rights\": \"Copyright Johns Hopkins University 2012\",\n
177
+ \ \"dc.language\": \"en\",\n \"dc.identifier\": \"http://guides.library.jhu.edu/bloomberg\",\n
178
+ \ \"dc.date.created\": \"Apr 14, 2010\",\n \"dc.date.modified\":
179
+ \"Aug 24, 2012\",\n \"dc.unused\": \"Contributor, Date, Type, Format,
180
+ Source, Relation, Coverage\",\n \"y_key\": \"65baedbaee9038f3\"\n }\n
181
+ \ ]\n }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\":
182
+ \"Coding Reference:\",\n \"htmlTitle\": \"Coding Reference:\",\n \"link\":
183
+ \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.2/36224/ARL_Assessment_handout_2012.pdf\",\n
184
+ \ \"displayLink\": \"jscholarship.library.jhu.edu\",\n \"snippet\": \"Poster
185
+ and handouts created using Adobe InDesign and EightShapes Unify. Ellen Keith.
186
+ Current Director of. Research & Access,. Chicago History. Museum ...\",\n
187
+ \ \"htmlSnippet\": \"Poster and handouts created using \\u003cb\\u003eAdobe\\u003c/b\\u003e
188
+ InDesign and EightShapes Unify. \\u003cbr\\u003e Ellen Keith. Current Director
189
+ of. Research & Access,. Chicago History. Museum \\u003cb\\u003e...\\u003c/b\\u003e\",\n
190
+ \ \"cacheId\": \"7_VnXAOna6oJ\",\n \"mime\": \"application/pdf\",\n \"fileFormat\":
191
+ \"PDF/Adobe Acrobat\",\n \"formattedUrl\": \"https://jscholarship.library.jhu.edu/.../ARL_Assessment_handout_2012.pdf\",\n
192
+ \ \"htmlFormattedUrl\": \"https://jscholarship.library.jhu.edu/.../ARL_Assessment_handout_2012.\\u003cb\\u003epdf\\u003c/b\\u003e\",\n
193
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"author\": \"akoenig7\",\n
194
+ \ \"creationdate\": \"D:20121026172031-04'00'\",\n \"creator\": \"PScript5.dll
195
+ Version 5.2.2\",\n \"moddate\": \"D:20121107104559-05'00'\",\n \"producer\":
196
+ \"Acrobat Distiller 10.1.3 (Windows)\"\n }\n ]\n }\n },\n {\n \"kind\":
197
+ \"customsearch#result\",\n \"title\": \"November 2007\",\n \"htmlTitle\":
198
+ \"November 2007\",\n \"link\": \"http://saislibrary.blogspot.com/2007_11_01_archive.html\",\n
199
+ \ \"displayLink\": \"saislibrary.blogspot.com\",\n \"snippet\": \"Nov 1,
200
+ 2007 ... Foxit Reader 2.2 for Windows is a .pdf reader similar to Adobe Reader,
201
+ except it's got a couple of nifty features Adobe doesn't: Launches faster
202
+ ...\",\n \"htmlSnippet\": \"Nov 1, 2007 \\u003cb\\u003e...\\u003c/b\\u003e
203
+ Foxit Reader 2.2 for Windows is a .\\u003cb\\u003epdf\\u003c/b\\u003e reader
204
+ similar to \\u003cb\\u003eAdobe\\u003c/b\\u003e Reader, except it's \\u003cbr\\u003e
205
+ \ got a couple of nifty features \\u003cb\\u003eAdobe\\u003c/b\\u003e doesn't:
206
+ Launches faster \\u003cb\\u003e...\\u003c/b\\u003e\",\n \"cacheId\": \"jtO1C5ou780J\",\n
207
+ \ \"formattedUrl\": \"saislibrary.blogspot.com/2007_11_01_archive.html\",\n
208
+ \ \"htmlFormattedUrl\": \"saislibrary.blogspot.com/2007_11_01_archive.html\",\n
209
+ \ \"pagemap\": {\n \"cse_image\": [\n {\n \"src\": \"http://128.220.183.18/Blogftp/uploaded_images/srcover_novdec07-785465.jpg\"\n
210
+ \ }\n ],\n \"cse_thumbnail\": [\n {\n \"width\": \"211\",\n
211
+ \ \"height\": \"134\",\n \"src\": \"https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQSSprYiGlaGX8kPxyWVQ3KwMKxONv-PbbPVlR07lRMV3AEYMVMDMtMHiid\"\n
212
+ \ }\n ]\n }\n },\n {\n \"kind\": \"customsearch#result\",\n \"title\":
213
+ \"Process Overview Results Results Background Future Work\",\n \"htmlTitle\":
214
+ \"Process Overview Results Results Background Future Work\",\n \"link\":
215
+ \"https://jscholarship.library.jhu.edu/bitstream/handle/1774.2/35437/OffcampPoster.pdf\",\n
216
+ \ \"displayLink\": \"jscholarship.library.jhu.edu\",\n \"snippet\": \"Embed
217
+ services into additional \\\"high impact\\\" courses. • Conduct virtual office
218
+ \ hours pilot using Adobe Connect. • Gauge success over time through continuous
219
+ ...\",\n \"htmlSnippet\": \"Embed services into additional "high impact"
220
+ courses. • Conduct virtual office \\u003cbr\\u003e hours pilot using \\u003cb\\u003eAdobe\\u003c/b\\u003e
221
+ Connect. • Gauge success over time through continuous \\u003cb\\u003e...\\u003c/b\\u003e\",\n
222
+ \ \"cacheId\": \"xC5AdxJwbeoJ\",\n \"mime\": \"application/pdf\",\n \"fileFormat\":
223
+ \"PDF/Adobe Acrobat\",\n \"formattedUrl\": \"https://jscholarship.library.jhu.edu/bitstream/handle/.../OffcampPoster.pdf\",\n
224
+ \ \"htmlFormattedUrl\": \"https://jscholarship.library.jhu.edu/bitstream/handle/.../OffcampPoster.\\u003cb\\u003epdf\\u003c/b\\u003e\",\n
225
+ \ \"pagemap\": {\n \"metatags\": [\n {\n \"creationdate\": \"D:20100408153903-04'00'\",\n
226
+ \ \"author\": \"jcastal2\",\n \"creator\": \"PScript5.dll Version
227
+ 5.2.2\",\n \"producer\": \"Acrobat Distiller 7.0.5 (Windows)\",\n \"moddate\":
228
+ \"D:20100408153903-04'00'\",\n \"title\": \"Microsoft PowerPoint - offcamp
229
+ posterfinal [Compatibility Mode]\"\n }\n ]\n }\n }\n ]\n}\n"
230
+ http_version:
231
+ recorded_at: Mon, 19 Nov 2012 22:28:22 GMT
232
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,155 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.worldcat.org/webservices/catalog/search/sru?maximumRecords=10&query=srw.kw%20=%20%22cancer%22&recordSchema=info:srw/schema/1/dc&startRecord=9999&wskey=x6LycLe0om93dk2sMdK8h5kb1n1nuqyD1gSszhb50QfCbPKdSyNlhAjWsgflf1NMgnZzaIOsucb2vXli
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "RGF0ZQ==":
17
+ - !binary |-
18
+ V2VkLCAyNiBTZXAgMjAxMiAyMToxOTo0MyBHTVQ=
19
+ !binary "U2VydmVy":
20
+ - !binary |-
21
+ QXBhY2hl
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ Mjc0Ng==
25
+ !binary "Q29udGVudC1UeXBl":
26
+ - !binary |-
27
+ dGV4dC94bWw7Y2hhcnNldD11dGYtOA==
28
+ body:
29
+ encoding: US-ASCII
30
+ string: ! '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
31
+
32
+ <?xml-stylesheet type="text/xsl" href="/webservices/catalog/xsl/searchRetrieveResponse.xsl"?>
33
+
34
+
35
+ <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/" xmlns:oclcterms="http://purl.org/oclc/terms/"
36
+ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/"
37
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
38
+
39
+ <version>1.1</version>
40
+
41
+ <numberOfRecords>410602</numberOfRecords>
42
+
43
+ <records>
44
+
45
+ <record>
46
+
47
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
48
+
49
+ <recordPacking>xml</recordPacking>
50
+
51
+ <recordData>
52
+
53
+ <oclcdcs>
54
+
55
+ <dc:date>1976</dc:date>
56
+
57
+ <dc:identifier>0340-7004</dc:identifier>
58
+
59
+ <dc:language xsi:type="http://purl.org/dc/terms/ISO639-2">eng</dc:language>
60
+
61
+ <dc:publisher>Springer Verlag</dc:publisher>
62
+
63
+ <dc:title>Cancer immunology and immunotherapy.</dc:title>
64
+
65
+ <dc:type>Text</dc:type>
66
+
67
+ <oclcterms:recordCreationDate xsi:type="http://purl.org/oclc/terms/marc008date">010507</oclcterms:recordCreationDate>
68
+
69
+ <oclcterms:recordIdentifier>301186271</oclcterms:recordIdentifier>
70
+
71
+ </oclcdcs>
72
+
73
+ </recordData>
74
+
75
+ </record>
76
+
77
+ <record>
78
+
79
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
80
+
81
+ <recordPacking>xml</recordPacking>
82
+
83
+ <recordData>
84
+
85
+ <oclcdcs>
86
+
87
+ <dc:creator>Timms, Carol.</dc:creator>
88
+
89
+ <dc:date>c2007</dc:date>
90
+
91
+ <dc:format>213 p. : ill. ; 18 cm.</dc:format>
92
+
93
+ <dc:identifier>9780615234540 (spiral)</dc:identifier>
94
+
95
+ <dc:identifier>0615234542 (spiral)</dc:identifier>
96
+
97
+ <dc:language xsi:type="http://purl.org/dc/terms/ISO639-2">eng</dc:language>
98
+
99
+ <dc:publisher>s.n.]</dc:publisher>
100
+
101
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Breast--Cancer--Anecdotes.</dc:subject>
102
+
103
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Cancer--Treatment.</dc:subject>
104
+
105
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Breast--Cancer.</dc:subject>
106
+
107
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Breast--Cancer--Patients--United
108
+ States--Biography.</dc:subject>
109
+
110
+ <dc:title>Adventures in breast cancer </dc:title>
111
+
112
+ <dc:type>Text</dc:type>
113
+
114
+ <oclcterms:recordCreationDate xsi:type="http://purl.org/oclc/terms/marc008date">090219</oclcterms:recordCreationDate>
115
+
116
+ <oclcterms:recordIdentifier>309925865</oclcterms:recordIdentifier>
117
+
118
+ </oclcdcs>
119
+
120
+ </recordData>
121
+
122
+ </record>
123
+
124
+ </records>
125
+
126
+ <nextRecordPosition>10001</nextRecordPosition>
127
+
128
+ <resultSetIdleTime/>
129
+
130
+ <echoedSearchRetrieveRequest xmlns:srw="http://www.loc.gov/zing/srw/">
131
+
132
+ <version>1.1</version>
133
+
134
+ <query>srw.kw = "cancer"</query>
135
+
136
+ <maximumRecords>2</maximumRecords>
137
+
138
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
139
+
140
+ <recordPacking>xml</recordPacking>
141
+
142
+ <startRecord>9999</startRecord>
143
+
144
+ <sortKeys>relevance</sortKeys>
145
+
146
+ <wskey>x6LycLe0om93dk2sMdK8h5kb1n1nuqyD1gSszhb50QfCbPKdSyNlhAjWsgflf1NMgnZzaIOsucb2vXli</wskey>
147
+
148
+ </echoedSearchRetrieveRequest>
149
+
150
+ </searchRetrieveResponse>
151
+
152
+ '
153
+ http_version:
154
+ recorded_at: Wed, 26 Sep 2012 21:19:49 GMT
155
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,167 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.worldcat.org/webservices/catalog/search/sru?maximumRecords=10&query=srw.kw%20=%20%22cancer%22&recordSchema=info:srw/schema/1/dc&startRecord=9999&wskey=DUMMY_API_KEY
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "RGF0ZQ==":
17
+ - !binary |-
18
+ V2VkLCAyNiBTZXAgMjAxMiAyMTozOTozOCBHTVQ=
19
+ !binary "U2VydmVy":
20
+ - !binary |-
21
+ QXBhY2hl
22
+ !binary "Q29udGVudC1MZW5ndGg=":
23
+ - !binary |-
24
+ MzMyOQ==
25
+ !binary "Q29udGVudC1UeXBl":
26
+ - !binary |-
27
+ dGV4dC94bWw7Y2hhcnNldD11dGYtOA==
28
+ body:
29
+ encoding: US-ASCII
30
+ string: ! '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
31
+
32
+ <?xml-stylesheet type="text/xsl" href="/webservices/catalog/xsl/searchRetrieveResponse.xsl"?>
33
+
34
+
35
+ <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/" xmlns:oclcterms="http://purl.org/oclc/terms/"
36
+ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/"
37
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
38
+
39
+ <version>1.1</version>
40
+
41
+ <numberOfRecords>410602</numberOfRecords>
42
+
43
+ <records>
44
+
45
+ <record>
46
+
47
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
48
+
49
+ <recordPacking>xml</recordPacking>
50
+
51
+ <recordData>
52
+
53
+ <oclcdcs>
54
+
55
+ <dc:description>For people living in rural areas.</dc:description>
56
+
57
+ <dc:contributor>Rural Health Education Foundation (Australia)</dc:contributor>
58
+
59
+ <dc:contributor>Australia. Department of Health and Aging.</dc:contributor>
60
+
61
+ <dc:date>2004</dc:date>
62
+
63
+ <dc:description>PAL recording system.</dc:description>
64
+
65
+ <dc:description>This program will provide information for primary care providers
66
+ on the prevention, early detection and treatment of skin cancer for people
67
+ living in rural areas.</dc:description>
68
+
69
+ <dc:format>1 videocassette (VHS) (95 min.) : sd. col. ; 1/2 in +</dc:format>
70
+
71
+ <dc:language xsi:type="http://purl.org/dc/terms/ISO639-2">eng</dc:language>
72
+
73
+ <dc:publisher>The Foundation in collaboration with the Australian Government.
74
+ Dept. of Health and Aging</dc:publisher>
75
+
76
+ <dc:relation>Education Life Line to the Bush ; 415</dc:relation>
77
+
78
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Cancer--Prevention.</dc:subject>
79
+
80
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Skin--Cancer--Diagnosis.</dc:subject>
81
+
82
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Health education--Australia.</dc:subject>
83
+
84
+ <dc:title>Skin cancer ''spot'' decisions </dc:title>
85
+
86
+ <dc:type>Image</dc:type>
87
+
88
+ <oclcterms:recordCreationDate xsi:type="http://purl.org/oclc/terms/marc008date">050314</oclcterms:recordCreationDate>
89
+
90
+ <oclcterms:recordIdentifier>224073476</oclcterms:recordIdentifier>
91
+
92
+ </oclcdcs>
93
+
94
+ </recordData>
95
+
96
+ </record>
97
+
98
+ <record>
99
+
100
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
101
+
102
+ <recordPacking>xml</recordPacking>
103
+
104
+ <recordData>
105
+
106
+ <oclcdcs>
107
+
108
+ <dc:contributor>Vande Woude, George F.</dc:contributor>
109
+
110
+ <dc:contributor>Klein, George.</dc:contributor>
111
+
112
+ <dc:date>2003</dc:date>
113
+
114
+ <dc:format>192 p. : 24 cm.</dc:format>
115
+
116
+ <dc:language xsi:type="http://purl.org/dc/terms/ISO639-2">eng</dc:language>
117
+
118
+ <dc:publisher>Academic</dc:publisher>
119
+
120
+ <dc:subject xsi:type="http://purl.org/dc/terms/LCSH">Cancer--Research.</dc:subject>
121
+
122
+ <dc:title>Advances in cancer research. Vol. 89 </dc:title>
123
+
124
+ <dc:type>Text</dc:type>
125
+
126
+ <oclcterms:recordCreationDate xsi:type="http://purl.org/oclc/terms/marc008date">040610</oclcterms:recordCreationDate>
127
+
128
+ <oclcterms:recordIdentifier>55623433</oclcterms:recordIdentifier>
129
+
130
+ </oclcdcs>
131
+
132
+ </recordData>
133
+
134
+ </record>
135
+
136
+ </records>
137
+
138
+ <nextRecordPosition>10001</nextRecordPosition>
139
+
140
+ <resultSetIdleTime/>
141
+
142
+ <echoedSearchRetrieveRequest xmlns:srw="http://www.loc.gov/zing/srw/">
143
+
144
+ <version>1.1</version>
145
+
146
+ <query>srw.kw = "cancer"</query>
147
+
148
+ <maximumRecords>2</maximumRecords>
149
+
150
+ <recordSchema>info:srw/schema/1/dc</recordSchema>
151
+
152
+ <recordPacking>xml</recordPacking>
153
+
154
+ <startRecord>9999</startRecord>
155
+
156
+ <sortKeys>relevance</sortKeys>
157
+
158
+ <wskey>DUMMY_API_KEY</wskey>
159
+
160
+ </echoedSearchRetrieveRequest>
161
+
162
+ </searchRetrieveResponse>
163
+
164
+ '
165
+ http_version:
166
+ recorded_at: Wed, 26 Sep 2012 21:39:42 GMT
167
+ recorded_with: VCR 2.2.5