oxford_learners_dictionaries 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -5
  3. data/lib/oxford_learners_dictionaries/english.rb +15 -8
  4. data/lib/oxford_learners_dictionaries/version.rb +1 -1
  5. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_a_noun/matches_noun.yml +4 -4
  6. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_a_verb/matches_verb.yml +9 -9
  7. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_an_adverb/matches_adverb.yml +3 -3
  8. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_get/counts_3_definitions.yml +4 -4
  9. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_get/matches_noun.yml +3 -3
  10. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_take/counts_3_definitions.yml +9 -8
  11. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_take/matches_noun.yml +8 -8
  12. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_more_than_one_definitions/counts_3_definitions.yml +3 -3
  13. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_more_than_one_definitions/shows_all_definitions_in_Hash.yml +4 -4
  14. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_only_one_definition/counts_1_definition.yml +4 -4
  15. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_only_one_definition/shows_definition_in_Hash.yml +3 -3
  16. data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/when_the_word_is_not_found/returns_empty.yml +283 -0
  17. data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_initialize/gets_short_definition_for_wotd.yml +313 -314
  18. data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_initialize/matches_word_of_the_day.yml +313 -314
  19. data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_look_up/when_word_is_valid/matches_description_count.yml +1403 -1204
  20. data/spec/oxford_learners_dictionaries/english_spec.rb +9 -6
  21. data/spec/oxford_learners_dictionaries/word_of_the_day_spec.rb +3 -3
  22. metadata +4 -2
@@ -0,0 +1,283 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.oxfordlearnersdictionaries.com/definition/english/asdf1?q=asdf
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: Not Found
20
+ headers:
21
+ Server:
22
+ - nginx/1.7.7
23
+ Date:
24
+ - Tue, 31 Mar 2015 13:18:15 GMT
25
+ Content-Type:
26
+ - text/html;charset=UTF-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Set-Cookie:
32
+ - JSESSIONID=B13B079E8DFA26946ABEB27D85FD777C; Path=/; HttpOnly
33
+ - session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
34
+ path=/
35
+ Content-Language:
36
+ - en
37
+ body:
38
+ encoding: UTF-8
39
+ string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html
40
+ xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n<head>\n
41
+ \ <title>asdf1 - Did you spell it correctly? Alternative spellings from
42
+ Oxford Advanced Learner&apos;s Dictionary at OxfordLearnersDictionaries.com
43
+ </title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"
44
+ />\n <meta name=\"description\" content=\"asdf1 - Alternative spellings
45
+ from Oxford Advanced Learner&apos;s Dictionary at OxfordLearnersDictionaries.com\"
46
+ />\n <meta name=\"keywords\" content=\"asdf1, alternative spellings of
47
+ asdf1, Oxford Advanced Learner&apos;s Dictionary \" />\n <meta name=\"robots\"
48
+ content=\"noindex,follow\" />\n <meta http-equiv=\"X-UA-Compatible\"
49
+ content=\"IE=edge\" />\n <meta name='viewport' content='width=device-width,
50
+ initial-scale=1'>\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/interface.css?version=1.5.1\"
51
+ rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/responsive.css?version=1.5.1\"
52
+ rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/oxford.css?version=1.5.1\"
53
+ rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/jquery.lightbox-0.5.css?version=1.5.1\"
54
+ rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/print.css?version=1.5.1\"
55
+ rel=\"stylesheet\" type=\"text/css\" media=\"print\" />\n <link href=\"http://www.oxfordlearnersdictionaries.com/external/styles/autocomplete.css?version=1.5.1\"
56
+ rel=\"stylesheet\" type=\"text/css\" />\n <script type='text/javascript'>\n
57
+ \ var googletag = googletag || {};\n googletag.cmd =
58
+ googletag.cmd || [];\n var dfpSlots = {};\n (function()
59
+ {\n var gads = document.createElement('script');\n gads.async
60
+ = true;\n gads.type = 'text/javascript';\n var
61
+ useSSL = 'https:' == document.location.protocol;\n gads.src
62
+ = (useSSL ? 'https:' : 'http:') +'//www.googletagservices.com/tag/js/gpt.js';\n
63
+ \ var node = document.getElementsByTagName('script')[0];\n node.parentNode.insertBefore(gads,
64
+ node);\n })();\n googletag.cmd.push(function() {\n var
65
+ mapping_topslot_a = googletag.sizeMapping()\n \n
66
+ \ .addSize([1203,
67
+ 0], [1, 1]) // hd (CSS min-width: 1220)\n .addSize([745,
68
+ 0], [728, 90]) // tablet (CSS min-width: 762)\n .addSize([0,
69
+ 0], [320, 50]) // mobile\n .build();\n dfpSlots[\"topslot_a\"]
70
+ = googletag.defineSlot('/70903302/topslot', [728, 90], 'ad_topslot_a')\n .defineSizeMapping(mapping_topslot_a)\n
71
+ \ .setTargeting('old_vp',
72
+ 'top')\n .setTargeting('old_hp',
73
+ 'center')\n .addService(googletag.pubads());\n
74
+ \ var
75
+ mapping_topslot_b = googletag.sizeMapping()\n \n
76
+ \ .addSize([1203,
77
+ 0], [728, 90]) // hd (CSS min-width: 1220)\n .addSize([0,
78
+ 0], [1, 1]) // mobile\n .build();\n dfpSlots[\"topslot_b\"]
79
+ = googletag.defineSlot('/70903302/topslot', [1, 1], 'ad_topslot_b')\n .defineSizeMapping(mapping_topslot_b)\n
80
+ \ .setTargeting('old_vp',
81
+ 'top')\n .setTargeting('old_hp',
82
+ 'center')\n .addService(googletag.pubads());\n
83
+ \ var
84
+ mapping_btmslot_a = googletag.sizeMapping()\n \n
85
+ \ .addSize([745,
86
+ 0], [300, 250]) // tablet (CSS min-width: 762)\n .addSize([0,
87
+ 0], [1, 1]) // mobile\n .build();\n dfpSlots[\"btmslot_a\"]
88
+ = googletag.defineSlot('/70903302/btmslot', [300, 250], 'ad_btmslot_a')\n
89
+ \ .defineSizeMapping(mapping_btmslot_a)\n
90
+ \ .setTargeting('old_vp',
91
+ 'btm')\n .setTargeting('old_hp',
92
+ 'center')\n .addService(googletag.pubads());\n
93
+ \ var
94
+ mapping_btmslot_b = googletag.sizeMapping()\n \n
95
+ \ .addSize([745,
96
+ 0], [1, 1]) // tablet (CSS min-width: 762)\n .addSize([0,
97
+ 0], [300, 250]) // mobile\n .build();\n
98
+ \ dfpSlots[\"btmslot_b\"] = googletag.defineSlot('/70903302/btmslot',
99
+ [1, 1], 'ad_btmslot_b')\n .defineSizeMapping(mapping_btmslot_b)\n
100
+ \ .setTargeting('old_vp',
101
+ 'btm')\n .setTargeting('old_hp',
102
+ 'center')\n .addService(googletag.pubads());\n
103
+ \ var
104
+ mapping_houseslot1_a = googletag.sizeMapping()\n \n
105
+ \ .addSize([0,
106
+ 0], [180, 150]) // mobile\n .build();\n
107
+ \ dfpSlots[\"houseslot1_a\"] = googletag.defineSlot('/70903302/houseslot1',
108
+ [180, 150], 'ad_houseslot1_a')\n .defineSizeMapping(mapping_houseslot1_a)\n
109
+ \ .setTargeting('old_vp',
110
+ 'btm')\n .setTargeting('old_hp',
111
+ 'right')\n .addService(googletag.pubads());\n
112
+ \ var
113
+ mapping_leftslot_a = googletag.sizeMapping()\n \n
114
+ \ .addSize([745,
115
+ 0], [160, 600]) // tablet (CSS min-width: 762)\n .addSize([0,
116
+ 0], [1, 1]) // mobile\n .build();\n dfpSlots[\"leftslot_a\"]
117
+ = googletag.defineSlot('/70903302/leftslot', [160, 600], 'ad_leftslot_a')\n
118
+ \ .defineSizeMapping(mapping_leftslot_a)\n
119
+ \ .setTargeting('old_vp',
120
+ 'top')\n .setTargeting('old_hp',
121
+ 'left')\n .addService(googletag.pubads());\n
122
+ \ googletag.pubads().setTargeting(\"old_l\",
123
+ \"en\");\n googletag.pubads().setTargeting(\"old_pr\",
124
+ \"free\");\n googletag.pubads().setTargeting(\"old_pc\",
125
+ \"error\");\n \n
126
+ \ googletag.pubads().enableSingleRequest();\n
127
+ \ googletag.pubads().collapseEmptyDivs(false);\n googletag.enableServices();\n
128
+ \ });\n function getDeviceByResolution() {\n var
129
+ res = null;\n if (window.matchMedia(\"(max-width: 761px)\").matches)\n
130
+ \ res = \"mobile\";\n else if (window.matchMedia(\"(min-width:
131
+ 762px) and (max-width: 928px)\").matches)\n res = \"tablet\";\n
132
+ \ else if (window.matchMedia(\"(min-width: 1220px)\").matches)\n
133
+ \ res = \"hd\";\n else\n res
134
+ = \"desktop\";\n return res;\n }\n var
135
+ curResolution = getDeviceByResolution();\n window.onresize = function()
136
+ {\n var newResolution = getDeviceByResolution();\n if
137
+ (newResolution != curResolution) {\n curResolution
138
+ = newResolution;\n googletag.pubads().refresh();\n }\n
139
+ \ };\n </script>\n <!--[if gte IE 7 ]>\n <link
140
+ href=\"http://www.oxfordlearnersdictionaries.com/external/styles/oxford-ie.css?version=1.5.1\"
141
+ rel=\"stylesheet\" type=\"text/css\" />\n <![endif]-->\n <!--[if IE
142
+ 9]><script type=\"text/javascript\" src=\"http://www.oxfordlearnersdictionaries.com/external/scripts/matchMedia.js?version=1.5.1\"></script><![endif]-->\n
143
+ \ <link rel=\"icon\" type=\"image/x-icon\" href=\"http://www.oxfordlearnersdictionaries.com/external/images/favicon.ico?version=1.5.1\"/>\n
144
+ \ <script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.oxfordlearnersdictionaries.com/common.js?version=1.5.1\"></script>\n</head>\n<body
145
+ >\n <noscript>\n <div id=\"cookieLaw\">We use cookies to enhance
146
+ your experience on our website. By continuing to use our website, you are
147
+ agreeing to our use of cookies. You can change your cookie settings at any
148
+ time. <a href='http://global.oup.com/cookiepolicy/?siteid=oaadonline' target='_blank'>Find
149
+ out more</a></div>\n </noscript>\n <div id=\"ox-container\">\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<div
150
+ id=\"ox-header\" class=\"\">\n <div class=\"responsive_row flush-below
151
+ top\">\r\n <div class=\"responsive_container responsive_display_on_smartphone\">\r\n
152
+ \ <div class=\"menu_button\"></div>\r\n </div>\r\n <div class=\"nav
153
+ responsive_container main_nav\">\r\n <ul class=\"menu\">\r\n <li><a
154
+ \ href=\"http://www.oxfordlearnersdictionaries.com/\">Home</a></li>\r\n <li><a
155
+ \ href=\"http://www.oxfordlearnersdictionaries.com/topic/\">Topics</a></li>\r\n
156
+ \ <li><a href=\"http://www.oxfordlearnersdictionaries.com/wordlist/\">Wordlists</a></li>\r\n
157
+ \ <li><a href=\"http://www.oxfordlearnersdictionaries.com/mywordlist/\">My
158
+ Wordlists</a></li>\r\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/about/\">About</a></li>\r\n
159
+ \ <li><a href=\"http://www.oxfordlearnersdictionaries.com/faq/\">FAQ</a></li>\r\n
160
+ \ </ul>\r\n \r\n <div class=\"menu login-circle
161
+ \">\r\n <ul>\r\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/account/login\">Log
162
+ in or Get Premium</a></li>\r\n </ul>\r\n </div>\r\n
163
+ \ </div>\r\n<a class='go-to-top responsive_display_on_smartphone' href='#wrap'
164
+ title='back to top'>Back to Top</a>\r\n</div>\n<div class=\"responsive_container
165
+ \">\n <div class=\"old-logo-title responsive_hide_on_smartphone\"></div>\n
166
+ \ <div class=\"responsive_display_on_smartphone\"><a class=\"old-logo-title\"
167
+ href=\"http://www.oxfordlearnersdictionaries.com/\"></a></div>\n <div class=\"mainsearch
168
+ responsive_row\">\n <form id=\"search-form\" method=\"get\" action=\"http://www.oxfordlearnersdictionaries.com/search/english/direct/\"
169
+ onsubmit=\"return checkSearch('Type here');\">\n <div class=\"dictionarySelector\">
170
+ \ \n <select id=\"dictionary-selector\">\n <option
171
+ value=\"english\" selected=\"selected\">English</option>\n <option
172
+ value=\"american_english\" >American English</option>\n </select>\n</div>\n
173
+ \ <input type=\"text\" id=\"q\" name=\"q\" \n value=\"Type
174
+ here\" class=\"searchfield\" \n onfocus=\"this.value=(this.value=='Type
175
+ here') ? changeText('', this) : this.value;\"\n onblur=\"this.value=(this.value=='')
176
+ ? changeText('Type here', this) : this.value;\" />\n <div class=\"inputSuggestions\"
177
+ style=\"\"></div>\n <input type=\"submit\" id=\"search-btn\" value=\"\"
178
+ />\n </form>\n </div> \n \n \n <div class=\"responsive_hide_on_hd
179
+ responsive_center_on_smartphone\" id=\"leaderboardOthers\"> \n <div
180
+ id='ad_topslot_a' class='am-default'>\n <script type='text/javascript'>\n
181
+ \ googletag.cmd.push(function() { googletag.display('ad_topslot_a');
182
+ });\n </script>\n </div>\n </div>\n <div
183
+ class=\"responsive_row\">\n <div class=\"responsive_entry_left\">
184
+ \ \n <div id='ad_leftslot_a' class='am-default'>\n <script
185
+ type='text/javascript'>\n googletag.cmd.push(function() { googletag.display('ad_leftslot_a');
186
+ });\n </script>\n </div>\n </div>\n\n <div
187
+ class=\"responsive_entry_center\">\n <div class=\"responsive_display_on_hd\"
188
+ id=\"leaderboardHD\"> \n <div id='ad_topslot_b' class='am-default'>\n
189
+ \ <script type='text/javascript'>\n googletag.cmd.push(function()
190
+ { googletag.display('ad_topslot_b'); });\n </script>\n </div>\n
191
+ \ </div>\n <div class=\"responsive_entry_center_wrap\">\n\n
192
+ \ \n <div id=\"ox-wrapper\" class=\"responsive_entry_center_left\">\n
193
+ \ <div id=\"main_column\" class=\"responsive_row\">\n
194
+ \ <div id=\"main-container\" class=\"main-container\">\n
195
+ \ \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<div
196
+ class=\"results\">\n <h1 style=\"font-size:24px; font-weight:bold; margin-bottom:
197
+ 12px;\">asdf1</h1>\n <p>Word not found in the dictionary</p>\n</div>\n\n\n
198
+ \ <div class=\"browse-words\">\n <p>You can also browse words beginning
199
+ with <span style=\"font-weight:bold; \">a</span></p>\n <ul>\n <li>\n
200
+ \ <a href=\"http://www.oxfordlearnersdictionaries.com/browse/english/a/a_2/\"
201
+ title=\"a noun...Abbotsford\"><DATA class=\"hwd\">a <pos>noun</pos></DATA>...<DATA
202
+ class=\"hwd\">Abbotsford</DATA></a>\n </li>\n </ul><br/>\n
203
+ \ </div>\n\n<div class=\"link-to-homepage\">\n <p>Find more information
204
+ about this website at: <a href=\"http://www.oxfordlearnersdictionaries.com/\"
205
+ title=\"Dictionary homepage\">www.oxfordlearnersdictionaries.com</a>.</p>\n</div>\n\n
206
+ \ </div>\n\n <div class=\"responsive_hide_on_smartphone
207
+ responsive_center\" id=\"btmOthers\"> \n <div id='ad_btmslot_a'
208
+ class='am-default'>\n <script type='text/javascript'>\n
209
+ \ googletag.cmd.push(function() { googletag.display('ad_btmslot_a');
210
+ });\n </script>\n </div>\n </div>\n </div>\n
211
+ \ </div>\n <div id=\"rightcolumn\" class=\"responsive_entry_center_right\">\n
212
+ \ \n\n\n\n<div class=\"responsive_display_on_smartphone
213
+ responsive_center_on_smartphone\" id=\"btmSmartphone\"> \n <div
214
+ id='ad_btmslot_b' class='am-default'>\n <script type='text/javascript'>\n
215
+ \ googletag.cmd.push(function() { googletag.display('ad_btmslot_b');
216
+ });\n </script>\n </div>\n </div>\n\n<div
217
+ class=\"responsive_row\">\n \n <div class='responsive_center_on_smartphone'>\n
218
+ \ <div id='ad_houseslot1_a' class='am-default'>\n <script
219
+ type='text/javascript'>\n googletag.cmd.push(function() { googletag.display('ad_houseslot1_a');
220
+ });\n </script>\n </div>\n </div></div> </div>\n
221
+ \ </div>\n \n </div>\n
222
+ \ \n </div>\n </div>\n <div id=\"ox-footer\"
223
+ class=\"responsive_row oup-footer\">\n<div class=\"responsive_container\">\n\n
224
+ \ <div class=\"responsive_footer_top\">\n <div class=\"responsive_center_on_smartphone\">\n
225
+ \ <div class=\"slt-logo\"><img src=\"http://www.oxfordlearnersdictionaries.com/external/images/footer/logo-slt.png\"
226
+ title=\"Shaping Learning Together\" alt=\"Shaping Learning Together\"/></div>\n
227
+ \ <div class=\"btn icon-left social-facebook\"><a href=\"https://www.facebook.com/oupeltglobal\">Find
228
+ us on Facebook</a></div>\n <div class=\"btn icon-left social-twitter\"><a
229
+ href=\"https://twitter.com/OUPELTGlobal\">Follow us on Twitter</a></div>\n
230
+ \ <ul class='links'>\n <li><a href=\"https://elt.oup.com/\"
231
+ onclick=\"return ! window.open(this.href);\">OUP English Language Teaching</a></li>\n
232
+ \ <li><a href=\"https://www.oxfordlearnersbookshelf.com/home/homePage.html\"
233
+ onclick=\"return ! window.open(this.href);\">Oxford Learner&apos;s Bookshelf</a></li>\n
234
+ \ </ul>\n </div>\n </div>\n <div class=\"responsive_footer_bottom\">\n
235
+ \ <div class=\"responsive_center_on_smartphone\">\n <a href=\"http://global.oup.com/\"
236
+ onclick=\"return ! window.open(this.href);\" class=\"oup-logo\" title=\"Oxford
237
+ University Press\"><img src=\"http://www.oxfordlearnersdictionaries.com/external/images/footer/logo-oup.png\"
238
+ title=\"Oxford University Press\"/></a>\n <div class=\"responsive_footer_bottom_wrap\">\n
239
+ \ <ul class='links'>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/search_widget_info\">Search
240
+ Box</a></li>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/browse/\">Browse
241
+ Dictionaries</a></li>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/contact-us\">Contact
242
+ Us</a></li>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/legal-notice\">Legal
243
+ Notice</a></li>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/privacy\">Privacy
244
+ Policy</a></li>\n <li><a href=\"http://global.oup.com/cookiepolicy\">Cookie
245
+ Policy</a></li>\n <li><a href=\"http://www.oxfordlearnersdictionaries.com/terms-and-conditions\">Terms
246
+ & Conditions</a></li>\n\t\t\t\t\t<li><a href=\"http://www.oxfordlearnersdictionaries.com/system-requirements\">System
247
+ Requirements</a></li>\n <li><a href=\"https://elt.oup.com/accessibility\"
248
+ onclick=\"return ! window.open(this.href);\">Accessibility</a></li>\n </ul>\n
249
+ \ <p class=\"copyright\">&copy; 2015 Oxford University Press</p>\n
250
+ \ </div>\n <div class=\"versionSelector\">\n <select
251
+ name=\"lang\" id=\"headerVersion\" title=\"Select language\">\n <option
252
+ \ \n selected=\"selected\" name=\"uk\"\n
253
+ \ value=\"http://www.oxfordlearnersdictionaries.com/definition/english/asdf1\">English
254
+ (UK)</option>\n <option
255
+ \ \n name=\"us\"\n
256
+ \ value=\"http://www.oxfordlearnersdictionaries.com/us/definition/english/asdf1\">English
257
+ (US)</option>\n </select>\n
258
+ \ </div>\n </div>\n </div>\n\n</div>\n</div>\n\n\n\n <script
259
+ language=\"javascript\" type=\"text/javascript\" src=\"http://www.oxfordlearnersdictionaries.com/external/scripts/doubleclick.js?version=1.5.1\"></script>\n\n
260
+ \ <script language=\"javascript\" type=\"text/javascript\">\n\n $(document).ready(function()
261
+ { setupDoubleClick('http://www.oxfordlearnersdictionaries.com/', 'english',
262
+ false, 'main-container', null, null, null); });\n $('img.over').each(function(){\n
263
+ \ var t=$(this);\n var src1= t.attr('src'); // initial
264
+ src\n var newSrc = src1.substring(0, src1.lastIndexOf('.')); //
265
+ let's get file name without extension\n t.hover(function(){\n $(this).attr('src',
266
+ newSrc+ '-over.' + /[^.]+$/.exec(src1)); //last part is for extension\n },
267
+ function(){\n $(this).attr('src', newSrc + '.' + /[^.]+$/.exec(src1));
268
+ //removing '-over' from the name\n });\n });\n </script>\n
269
+ \ <script type=\"text/javascript\" src=\"https://apis.google.com/js/plusone.js\"></script>\n\n
270
+ \ <script language=\"javascript\" type=\"text/javascript\" src=\"http://www.oxfordlearnersdictionaries.com/external/scripts/responsive.js?version=1.5.1\"></script>\n
271
+ \ <script>\n (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n
272
+ \ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n
273
+ \ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n
274
+ \ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n
275
+ \ ga('create', 'UA-13175707-1',\n {\n 'siteSpeedSampleRate': 10\n
276
+ \ });\n ga('send', 'pageview');\n</script>\n\n <script type=\"text/javascript\">_qoptions={
277
+ qacct:\"p-cfSla1Cke_iBQ\" };</script>\n <script type=\"text/javascript\"
278
+ src=\"http://edge.quantserve.com/quant.js\"></script>\n <noscript><img
279
+ src=\"http://pixel.quantserve.com/pixel/p-cfSla1Cke_iBQ.gif\" style=\"display:
280
+ none;\" border=\"0\" height=\"1\" width=\"1\" alt=\"Quantcast\"/></noscript>\n\n</body>\n</html>\n"
281
+ http_version:
282
+ recorded_at: Tue, 31 Mar 2015 13:18:15 GMT
283
+ recorded_with: VCR 2.9.3