reliefweb_scraper 0.2.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Reliefweb Scraper
2
2
  =================
3
3
 
4
- * Scrapes featured disasters from http://reliefweb.int/countries.
4
+ * Scrapes featured disasters from http://reliefweb.int/home
5
5
  * Retrieves extra information by searching http://glidenumber.net
6
6
 
7
7
  Objects such as Reliefweb::Disaster and Glidenumber::Record are subclasses of Hashie::Mash,
@@ -12,14 +12,24 @@ so you can work with them in the following ways:
12
12
  puts disaster.title
13
13
 
14
14
 
15
+ * Run "rake featured_disasters:fetch" to see the disaster data that is scraped
16
+ * Run "rake spec" to run the rspec tests
17
+ ** Note: run "rm spec/fixtures/vcr_cassettes/*.yml" if you want to re-record the vcr specs
18
+
15
19
  Examples
16
20
  --------
17
21
 
18
- * Return an array of featured disasters
22
+ Return an array of featured disasters:
19
23
 
20
24
  Reliefweb.featured_disasters(:verbose => true)
21
25
 
22
- * Fetch disaster information from http://glidenumber.net
26
+ Fetch disaster information from http://glidenumber.net :
23
27
 
24
28
  Glidenumber.find("OT-2011-000110-UGA")
25
29
 
30
+
31
+ History
32
+ -------
33
+
34
+ * version 0.2.0 - initial release
35
+ * version 0.3.1 - updated to reflect new changes to the ReliefWeb website
data/lib/reliefweb.rb CHANGED
@@ -11,13 +11,9 @@ module Reliefweb
11
11
  end
12
12
 
13
13
  def self.featured_disasters(options = {})
14
- agent.get("http://reliefweb.int/countries")
15
- links = agent.page.parser.css("body.html div#page.outer div#main-content.limiter \
16
- div.page-header div#header-first.clearfix div.region \
17
- div.block div.block-content div.view div.view-content \
18
- table.views-view-grid tr td div.grid-item div.views-field-name \
19
- span.field-content a")
20
- raise ParseError.new("Could not find any featured disasters on Releifweb") if links.empty?
14
+ agent.get("http://reliefweb.int/home")
15
+ links = agent.page.parser.css("div#middle-right.page-middle div.region div.block-content div.view div.view-content table.views-view-grid tbody tr td div.grid-item div.views-field span.field-content a")
16
+ raise ParseError.new("Could not find any featured disasters on Reliefweb") if links.empty?
21
17
  links.map do |link|
22
18
  title = link.text.sub(/-[^-]*$/, '').strip
23
19
  href = link.attributes["href"].to_s
@@ -31,7 +27,7 @@ module Reliefweb
31
27
 
32
28
  def self.fetch_glidenumber(link)
33
29
  agent.get(link)
34
- agent.page.parser.css("div#page div.view div.view-content div.field-name-field-glide").text.strip
30
+ agent.page.parser.css("div.views-field-entity-id-3 div.field-content").text.strip
35
31
  end
36
32
 
37
33
  class Disaster < Hashie::Mash; end
@@ -3,10 +3,10 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "reliefweb_scraper"
6
- s.version = "0.2.0"
6
+ s.version = "0.3.1"
7
7
  s.platform = Gem::Platform::RUBY
8
- s.authors = ["Nathan Broadbent", "Stanley Lau"]
9
- s.email = ["it_dept@crossroads.org.hk"]
8
+ s.authors = ["Nathan Broadbent", "Stanley Lau", "Stephen Kenworthy"]
9
+ s.email = ["itdept@crossroads.org.hk"]
10
10
  s.homepage = "http://www.crossroads.org.hk"
11
11
  s.summary = %q{Scrape Reliefweb featured disasters}
12
12
  s.description = %q{Scrapes reliefweb's featured disasters, and pulls additional information from glidenumber.net}
@@ -1,427 +1,869 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
4
  method: :post
5
5
  uri: http://glidenumber.net:80/glide/public/search/search.jsp
6
- body: sortby=0&level0=%2A&X_Resolution=1280&level1=%2A&ftoption=%26&maxhits=10&go.y=0&nStart=0&events=%2A&posted=0&keywords=2011-000110-UGA&process=0&go.x=0
7
- headers:
8
- user-agent:
9
- - Mechanize/2.0.1 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
10
- accept-encoding:
11
- - gzip,deflate,identity
12
- accept-charset:
13
- - ISO-8859-1,utf-8;q=0.7,*;q=0.7
14
- accept-language:
6
+ body: X_Resolution=1280&level0=%2A&posted=0&ftoption=%26&sortby=0&events=%2A&nStart=0&maxhits=10&go.x=0&level1=%2A&process=0&keywords=2011-000110-UGA&go.y=0
7
+ headers:
8
+ accept-language:
15
9
  - en-us,en;q=0.5
16
- host:
17
- - glidenumber.net
18
- content-type:
19
- - application/x-www-form-urlencoded
20
- content-length:
21
- - '150'
22
- connection:
10
+ connection:
23
11
  - keep-alive
24
- keep-alive:
12
+ content-type:
13
+ - application/x-www-form-urlencoded
14
+ user-agent:
15
+ - Mechanize/2.0.1 Ruby/1.8.7p334 (http://github.com/tenderlove/mechanize/)
16
+ accept-encoding:
17
+ - gzip,deflate,identity
18
+ content-length:
19
+ - "150"
20
+ host:
21
+ - glidenumber.net
22
+ accept-charset:
23
+ - ISO-8859-1,utf-8;q=0.7,*;q=0.7
24
+ keep-alive:
25
25
  - 300
26
- response: !ruby/struct:VCR::Response
27
- status: !ruby/struct:VCR::ResponseStatus
26
+ response: !ruby/struct:VCR::Response
27
+ status: !ruby/struct:VCR::ResponseStatus
28
28
  code: 200
29
29
  message: OK
30
- headers:
31
- date:
32
- - Tue, 23 Aug 2011 09:05:22 GMT
33
- server:
30
+ headers:
31
+ content-type:
32
+ - text/html;charset=UTF-8
33
+ server:
34
34
  - Apache
35
- set-cookie:
36
- - JSESSIONID=BAE76F5B35F43B784B7D8674CF586E1A; Path=/glide
37
- keep-alive:
35
+ date:
36
+ - Wed, 12 Oct 2011 03:06:23 GMT
37
+ set-cookie:
38
+ - JSESSIONID=ACA05DD811016C5712B92DC96CDBCBF4; Path=/glide
39
+ keep-alive:
38
40
  - timeout=15, max=100
39
- transfer-encoding:
41
+ transfer-encoding:
40
42
  - chunked
41
- content-type:
42
- - text/html;charset=ISO-8859-1
43
- body: ! "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n\r\n<html>\r\n<head>\r\n\t<title>GLIDE
44
- Search</title>\r\n</head> \r\n<META http-equiv=\"Content-Type\" content=\"text/html;
45
- charset=ISO-8859-1\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<link
46
- rel=stylesheet type=\"text/css\" href=\"/glide/style.css\">\r\n<body topmargin=\"0\"
47
- leftmargin=\"0\">\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"
48
- width=\"850\"><tr><td width=\"100%\" bgcolor=\"D9DDE2\"><img src=\"/glide/images/menu.gif\"
49
- width=\"750\" height=\"55\" border=\"0\" alt=\"GLIDEnumber net\" usemap=\"#menumap\">\r\n<map
50
- name=\"menumap\">\r\n<area alt=\"\" coords=\"312,33,360,13\" href=\"/glide\">\r\n<area
51
- alt=\"\" coords=\"375,13,462,32\" href=\"/glide/public/preferences/preferences.jsp\">\r\n<area
52
- alt=\"\" coords=\"472,13,534,32\" href=\"/glide/public/user/login.jsp\">\r\n<area
53
- alt=\"\" coords=\"539,32,607,13\" href=\"/glide/public/user/register.jsp\">\r\n<area
54
- alt=\"\" coords=\"609,13,662,31\" href=\"javascript:openHelp('welcome')\" shape=\"RECT\">\r\n<area
55
- alt=\"\" coords=\"665,32,741,11\" href=\"/glide/public/contact.jsp\">\r\n</map></td></tr><tr><td
56
- height=\"3\"></td></tr></table>\r\n<script language=\"JavaScript\">\r\n<!--
57
- \r\nfunction openHelp(page)\r\n{\r\npage=\"/glide/help/\"+page+\".jsp\";\r\ndocument.helpwindow=window.open(page,'window','width=630,height=500,left=10,screenX=10,top=50,screenY=50,scrollbars=no,resizable=no');\r\ndocument.helpwindow.focus();\r\n}\r\n//
58
- -->\r\n</script> \r\n\r\n\r\n\r\n\r\n\r\n<script language=\"JavaScript\">\r\n<!--
59
- \r\naContinent = new Array(0,3,4,1,5,1,2,2,2,3,5,4,3,4,2,3,3,2,4,4,2,1,2,3,2,4,1,2,3,4,1,1,3,1,2,1,1,2,1,1,2,3,2,1,1,1,5,2,1,4,2,4,4,4,4,1,2,2,3,2,1,2,1,1,4,1,5,4,4,2,5,1,1,3,4,4,4,4,1,4,2,2,5,2,1,1,2,2,2,3,4,4,3,3,3,3,4,3,4,2,3,3,3,1,5,3,3,3,3,3,4,3,1,1,1,4,4,3,4,1,1,3,3,1,4,5,2,1,1,2,5,4,3,4,2,1,1,3,1,3,4,2,5,5,2,1,1,5,4,3,3,5,3,2,5,2,2,3,4,4,2,1,4,4,1,5,1,3,1,4,1,1,3,4,4,5,1,1,4,4,3,1,2,2,2,1,2,1,4,4,3,3,3,1,3,1,5,5,2,1,4,3,2,5,1,4,3,4,2,2,3,5,2,3,2,2,5,3,3,3,4,1,1,1);\nvar
60
- nCountries=224;\n\r\n\r\n// submits the form so the server will get all user
61
- parameters and forward to specified process.\r\nfunction pageSubmit(destPage)\r\n{\r\ndocument.glide.process.value=destPage;\r\ndocument.glide.submit();\r\n}\r\nvar
62
- bLoading=false;\r\n\r\nfunction clearForm()\r\n{\r\nwith (document.glide)\r\n
63
- {\r\n level0.selectedIndex=-1;\r\n level1.selectedIndex=-1;\r\n events.selectedIndex=-1;\r\n
64
- keywords.value=\"\";\r\n ftoption.selectedIndex=0;\r\n fromyear.value=\"\";\r\n
65
- frommonth.value=\"\";\r\n fromday.value=\"\";\r\n toyear.value=\"\";\r\n tomonth.value=\"\";\r\n
66
- today.value=\"\";\r\n\r\n }\r\nreturn false;\r\n}\r\n\r\nfunction showCountries()\r\n{\r\nif
67
- (!bLoading)\r\n\t{\r\n\tbLoading=true;\r\n\t// clears the countries box\r\n\tdocument.glide.level1.selectedIndex=-1;\r\n\t//
68
- checks for ALL selected\r\n\tif (document.glide.level0.selectedIndex==0)\r\n\t\t{\r\n\t\tdocument.glide.level0.selectedIndex=-1;\r\n\t\tdocument.glide.level0.options[0].selected=true;\r\n\t\tdocument.glide.level0.selectedIndex=0;\r\n\t\tdocument.glide.level1.options[0].selected=true;\r\n\t\tdocument.glide.level1.selectedIndex=0;\r\n\t\t}\r\n\telse\r\n\t\t{\r\n\t\t//
69
- adds al contries of the continent\r\n\t\tfor (c=1; c<=5; c++)\r\n\t\t if (document.glide.level0.options[c].selected)\r\n\t\t
70
- \ for (j=nCountries; j>=0; j--)\r\n\t\t \t\tif (aContinent[j]==c)\r\n\t\t\t\t
71
- \ {\r\n\t\t\t\t document.glide.level1.options[j+1].selected=true;\r\n\t\t\t\t
72
- \ }\r\n\t\t// ensures ALL is NOT selected!!!\r\n\t\tdocument.glide.level0.options[0].selected=false;\r\n\t\t}\r\n\t\t\t\r\n\tbLoading=false;\r\n\t}\r\n}\r\n\r\nfunction
73
- noContinents()\r\n{\r\nif (!bLoading)\r\n\t{\r\n\tbLoading=true;\r\n\t// clears
74
- the continent box\r\n\tdocument.glide.level0.selectedIndex=-1;\r\n\t// checks
75
- for ALL selected\r\n\tif (document.glide.level1.selectedIndex==0)\r\n\t\t{\r\n\t\tdocument.glide.level1.selectedIndex=-1;\r\n\t\tdocument.glide.level1.options[0].selected=true;\r\n\t\tdocument.glide.level0.options[0].selected=true;\r\n\t\t}\r\n\telse\r\n\t\t{\r\n\t\t//
76
- ensures ALL is NOT selected!!!\r\n\t\tdocument.glide.level1.options[0].selected=false;\r\n\t\t}\r\n\tbLoading=false;\r\n\t}\r\n}\r\n\r\nfunction
77
- check4Any()\r\n{\r\nif (!bLoading)\r\n\t{\r\n\tbLoading=true;\r\n\t// checks
78
- for ALL selected\r\n\tif (document.glide.events.selectedIndex==0)\r\n\t\t{\r\n\t\tdocument.glide.events.selectedIndex=-1;\r\n\t\tdocument.glide.events.options[0].selected=true;\r\n\t\t}\r\n\telse\r\n\t\t{\r\n\t\t//
79
- ensures ALL is NOT selected!!!\r\n\t\tdocument.glide.events.options[0].selected=false;\r\n\t\t}\r\n\tbLoading=false;\r\n\t}\r\n}\r\n//
80
- -->\r\n</script>\r\n<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\"
81
- width=\"850\">\r\n<form name=\"glide\" action=\"/glide/public/search/search.jsp\"
82
- method=\"post\">\r\n<tr>\r\n <td class='bgDark' height=\"25\"><span class=\"titleText\">GLIDE
83
- Search</span></td>\r\n <td class='bgDark' height=\"25\" align=\"right\"></td>\r\n\r\n</tr>\r\n<tr><td
84
- colspan=\"2\" height=\"5\"></td></tr>\r\n<tr>\r\n <td valign=\"top\" class='bgLightLight'><!--
85
- The whole search screen -->\r\n <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\">\r\n\t<tr>\t\r\n\t
86
- \ <td class='bgLightLight' width='215'><span class=\"subtitleText\">Select
87
- Continent:</span></td>\r\n\t <td class='bgLightLight' width='215' align=\"center\"><span
88
- class=\"subtitleText\">Select Country:</span> </td>\r\n\t <td class='bgLightLight'
89
- width='215' align=\"center\">&nbsp;&nbsp;<span class=\"subtitleText\">Select
90
- Event:</span></td>\r\n\t</tr>\r\n\t<tr class='bgLightLight'>\r\n\t\t<td valign=\"top\"
91
- align=\"left\" height=\"135\">\r\n\t\t<SELECT id='level0' style=\"WIDTH: 150px;
92
- HEIGHT: 134px\" multiple size=5 name='level0' onchange=\"showCountries()\">
93
- \r\n\t\t<option value='*' selected>Any\r\n\t\t<option value=1>Africa\n<option
94
- value=2>Americas\n<option value=3>Asia\n<option value=4>Europe\n<option value=5>Oceania\n\r\n\t\t</SELECT>\r\n\t\t</td>\r\n\t\t<td
95
- valign=\"top\" align=\"center\" height=\"135\" width='215'>\r\n\t\t<SELECT id='level1'
96
- multiple size=15 name='level1' style=\"WIDTH: 180px; HEIGHT: 134px\" onchange=\"noContinents()\">
97
- \r\n\t\t<option value='*' selected>Any\r\n\t\t<option value=--->(Non-Localized)\n<option
98
- value=AFG>Afghanistan\n<option value=ALB>Albania\n<option value=DZA>Algeria\n<option
99
- value=ASM>American Samoa\n<option value=AGO>Angola\n<option value=AIA>Anguilla\n<option
100
- value=ATG>Antigua & Barbuda\n<option value=ARG>Argentina\n<option value=ARM>Armenia\n<option
101
- value=AUS>Australia\n<option value=AUT>Austria\n<option value=AZE>Azerbaijan\n<option
102
- value=AZO>Azores\n<option value=BHS>Bahamas\n<option value=BHR>Bahrain\n<option
103
- value=BGD>Bangladesh\n<option value=BRB>Barbados\n<option value=BLR>Belarus\n<option
104
- value=BEL>Belgium\n<option value=BLZ>Belize\n<option value=BEN>Benin\n<option
105
- value=BMU>Bermuda\n<option value=BTN>Bhutan\n<option value=BOL>Bolivia\n<option
106
- value=BIH>Bosnia-Hercegovenia\n<option value=BWA>Botswana\n<option value=BRA>Brazil\n<option
107
- value=BRN>Brunei Darussalam\n<option value=BGR>Bulgaria\n<option value=BFA>Burkina
108
- Faso\n<option value=BDI>Burundi\n<option value=KHM>Cambodia\n<option value=CMR>Cameroon\n<option
109
- value=CAN>Canada\n<option value=SPI>Canary Is\n<option value=CPV>Cape Verde
110
- Is\n<option value=CYM>Cayman Islands\n<option value=CAF>Central African Rep\n<option
111
- value=TCD>Chad\n<option value=CHL>Chile\n<option value=CHN>China, P Rep\n<option
112
- value=COL>Colombia\n<option value=COM>Comoros\n<option value=COD>Congo, Dem
113
- Rep (ex-Zaire)\n<option value=COG>Congo, Rep\n<option value=COK>Cook Is\n<option
114
- value=CRI>Costa Rica\n<option value=CIV>Cote d'Ivoire\n<option value=HRV>Croatia\n<option
115
- value=CUB>Cuba\n<option value=CYP>Cyprus\n<option value=CZE>Czech Rep\n<option
116
- value=CSK>Czechoslovakia\n<option value=DNK>Denmark\n<option value=DJI>Djibouti\n<option
117
- value=DMA>Dominica\n<option value=DOM>Dominican Rep\n<option value=TMP>East
118
- Timor\n<option value=ECU>Ecuador\n<option value=EGY>Egypt\n<option value=SLV>El
119
- Salvador\n<option value=GNQ>Equatorial Guinea\n<option value=ERI>Eritrea\n<option
120
- value=EST>Estonia\n<option value=ETH>Ethiopia\n<option value=FJI>Fiji\n<option
121
- value=FIN>Finland\n<option value=FRA>France\n<option value=GUF>French Guiana\n<option
122
- value=PYF>French Polynesia\n<option value=GAB>Gabon\n<option value=GMB>Gambia,
123
- The\n<option value=GEO>Georgia\n<option value=DEU>Germany\n<option value=GER>Germany\n<option
124
- value=DDR>Germany, Dem Rep\n<option value=DFR>Germany, Fed Rep\n<option value=GHA>Ghana\n<option
125
- value=GRC>Greece\n<option value=GRD>Grenada\n<option value=GLP>Guadeloupe\n<option
126
- value=GUM>Guam\n<option value=GTM>Guatemala\n<option value=GIN>Guinea\n<option
127
- value=GNB>Guinea Bissau\n<option value=GUY>Guyana\n<option value=HTI>Haiti\n<option
128
- value=HND>Honduras\n<option value=HKG>Hong Kong (China)\n<option value=HUN>Hungary\n<option
129
- value=ISL>Iceland\n<option value=IND>India\n<option value=IDN>Indonesia\n<option
130
- value=IRN>Iran, Islam Rep\n<option value=IRQ>Iraq\n<option value=IRL>Ireland\n<option
131
- value=ISR>Israel\n<option value=ITA>Italy\n<option value=JAM>Jamaica\n<option
132
- value=JPN>Japan\n<option value=JOR>Jordan\n<option value=KAZ>Kazakhstan\n<option
133
- value=KEN>Kenya\n<option value=KIR>Kiribati\n<option value=PRK>Korea, Dem P
134
- Rep\n<option value=KOR>Korea, Rep\n<option value=KWT>Kuwait\n<option value=KGZ>Kyrgyzstan\n<option
135
- value=LAO>Lao, P Dem Rep\n<option value=LVA>Latvia\n<option value=LBN>Lebanon\n<option
136
- value=LSO>Lesotho\n<option value=LBR>Liberia\n<option value=LBY>Libyan Arab
137
- Jamah\n<option value=LTU>Lithuania\n<option value=LUX>Luxembourg\n<option value=MAC>Macau\n<option
138
- value=MKD>Macedonia, FRY\n<option value=MDG>Madagascar\n<option value=MWI>Malawi\n<option
139
- value=MYS>Malaysia\n<option value=MDV>Maldives\n<option value=MLI>Mali\n<option
140
- value=MLT>Malta\n<option value=MHL>Marshall Is\n<option value=MTQ>Martinique\n<option
141
- value=MRT>Mauritania\n<option value=MUS>Mauritius\n<option value=MEX>Mexico\n<option
142
- value=FSM>Micronesia, Fed States\n<option value=MDA>Moldova, Rep\n<option value=MNG>Mongolia\n<option
143
- value=MNE>Montenegro Rep.\n<option value=MSR>Montserrat\n<option value=MAR>Morocco\n<option
144
- value=MOZ>Mozambique\n<option value=MMR>Myanmar\n<option value=NAM>Namibia\n<option
145
- value=NPL>Nepal\n<option value=NLD>Netherlands\n<option value=ANT>Netherlands
146
- Antilles\n<option value=NCL>New Caledonia\n<option value=NZL>New Zealand\n<option
147
- value=NIC>Nicaragua\n<option value=NER>Niger\n<option value=NGA>Nigeria\n<option
148
- value=NIU>Niue\n<option value=NOR>Norway\n<option value=OMN>Oman\n<option value=PAK>Pakistan\n<option
149
- value=PLW>Palau\n<option value=PSE>Palestine (West Bank)\n<option value=PAN>Panama\n<option
150
- value=PNG>Papua New Guinea\n<option value=PRY>Paraguay\n<option value=PER>Peru\n<option
151
- value=PHL>Philippines\n<option value=POL>Poland\n<option value=PRT>Portugal\n<option
152
- value=PRI>Puerto Rico\n<option value=REU>Reunion\n<option value=ROM>Romania\n<option
153
- value=RUS>Russia\n<option value=RWA>Rwanda\n<option value=WSM>Samoa\n<option
154
- value=STP>Sao Tome et Principe\n<option value=SAU>Saudi Arabia\n<option value=SEN>Senegal\n<option
155
- value=SRB>Serbia Rep.\n<option value=SYC>Seychelles\n<option value=SLE>Sierra
156
- Leone\n<option value=SGP>Singapore\n<option value=SVK>Slovakia\n<option value=SVN>Slovenia\n<option
157
- value=SLB>Solomon Is\n<option value=SOM>Somalia\n<option value=ZAF>South Africa\n<option
158
- value=SUN>Soviet Union\n<option value=ESP>Spain\n<option value=LKA>Sri Lanka\n<option
159
- value=SHN>St Helena\n<option value=KNA>St Kitts & Nevis\n<option value=LCA>St
160
- Lucia\n<option value=VCT>St Vincent & The Grenadines\n<option value=SDN>Sudan\n<option
161
- value=SUR>Suriname\n<option value=SWZ>Swaziland\n<option value=SWE>Sweden\n<option
162
- value=CHE>Switzerland\n<option value=SYR>Syrian Arab Rep\n<option value=TWN>Taiwan
163
- (China)\n<option value=TJK>Tajikistan\n<option value=TZA>Tanzania, Uni Rep\n<option
164
- value=THA>Thailand\n<option value=TGO>Togo\n<option value=TKL>Tokelau\n<option
165
- value=TON>Tonga\n<option value=TTO>Trinidad & Tobago\n<option value=TUN>Tunisia\n<option
166
- value=TUR>Turkey\n<option value=TKM>Turkmenistan\n<option value=TCA>Turks &
167
- Caicos Is\n<option value=TUV>Tuvalu\n<option value=UGA>Uganda\n<option value=UKR>Ukraine\n<option
168
- value=ARE>United Arab Emirates\n<option value=GBR>United Kingdom\n<option value=USA>United
169
- States\n<option value=URY>Uruguay\n<option value=UZB>Uzbekistan\n<option value=VUT>Vanuatu\n<option
170
- value=VEN>Venezuela\n<option value=VNM>Viet Nam\n<option value=VGB>Virgin Is
171
- (UK)\n<option value=VIR>Virgin Is (US)\n<option value=WLF>Wallis & Futuna Is\n<option
172
- value=YEM>Yemen\n<option value=YMN>Yemen, Arab Rep\n<option value=YMD>Yemen,
173
- P Dem Rep\n<option value=YUG>Yugoslavia\n<option value=ZAR>Zaire/Congo, Dem
174
- Rep (PREVIOUS)\n<option value=ZMB>Zambia\n<option value=ZWE>Zimbabwe\n\r\n </SELECT>\r\n\t\t</td>\r\n\t\t<td
175
- valign=\"top\" align=\"right\" height=\"135\">\r\n\t\t<SELECT id=events multiple
176
- size=15 name=events style=\"WIDTH: 180px; HEIGHT: 134px\" onchange=\"check4Any()\">
177
- \r\n\t\t<option value='*' selected>Any\r\n\t\t<option value='CW'>CW - Cold Wave\n<option
178
- value='CE'>CE - Complex Emergency\n<option value='DR'>DR - Drought\n<option
179
- value='EQ'>EQ - Earthquake\n<option value='EP'>EP - Epidemic\n<option value='EC'>EC
180
- - Extratropical Cyclone\n<option value='ET'>ET - Extreme temperature(use CW/HW
181
- instead)\n<option value='FA'>FA - Famine(use other \"Hazard\" code instead)\n<option
182
- value='FR'>FR - Fire\n<option value='FF'>FF - Flash Flood\n<option value='FL'>FL
183
- - Flood\n<option value='HT'>HT - Heat Wave\n<option value='IN'>IN - Insect Infestation\n<option
184
- value='LS'>LS - Land Slide\n<option value='MS'>MS - Mud Slide\n<option value='OT'>OT
185
- - Other\n<option value='ST'>ST - SEVERE LOCAL STORM\n<option value='SL'>SL -
186
- SLIDE (use LS/ AV/MS instead)\n<option value='AV'>AV - Snow Avalanche\n<option
187
- value='SS'>SS - Storm Surge\n<option value='AC'>AC - Tech. Disaster\n<option
188
- value='TO'>TO - Tornadoes\n<option value='TC'>TC - Tropical Cyclone\n<option
189
- value='TS'>TS - Tsunami\n<option value='VW'>VW - Violent Wind\n<option value='VO'>VO
190
- - Volcano\n<option value='WV'>WV - Wave/Surge(use TS/SS instead)\n<option value='WF'>WF
191
- - Wild fire\n \r\n\t\t</SELECT>\r\n\t\t</td> \r\n\t</tr>\r\n <tr><td
192
- colspan=\"3\" height=\"8\" class='bgLightLight' align=\"center\"><span class='basefontSmallSmall'>Use
193
- Ctrl-Click and/or Shift-Click for multiple selections. If NO selections are
194
- made, ALL items will be selected</span></td></tr>\r\n\t<tr><td colspan=\"3\"
195
- height=\"3\"></td></tr>\r\n\t<tr class='bgLight'>\r\n\t\t <td colspan=3><span
196
- class=\"basefontSmall\">Type keywords: <INPUT size=45 name=keywords value=\"2011-000110-UGA\">\r\n\t\t\t&nbsp;&nbsp;&nbsp;&nbsp;Looking
197
- for: <select name=\"ftoption\" class=\"basefontSmall\">\r\n\t\t <option
198
- value='&' selected>All Words</option>\r\n\t\t <option value='|'>Any Word</option>\r\n\t\t
199
- \ </select></span>\r\n\t\t\t</td>\r\n\t</tr>\r\n\t<tr><td colspan=\"3\"
200
- height=\"3\"></td></tr>\r\n\t<tr class='bgLightLight'>\r\n\t\t <td><span
201
- class=\"basefontSmall\">Search between these dates:<br><strong>(yyyy-mm-dd)</strong></span></td>\r\n\t\t
202
- \ <td class=\"basefontSmall\">From:<INPUT size=4 maxlength=\"5\" value=\"\"
203
- name=fromyear><INPUT size=2 \r\n maxlength=\"3\" value=\"\" name=frommonth><INPUT
204
- size=2 maxlength=\"3\" value=\"\" name=fromday> </td>\r\n\t\t <td class=\"basefontSmall\">To:<INPUT
205
- size=4 maxlength=\"5\" value=\"\" name=toyear><INPUT size=2 maxlength=\"3\"
206
- value=\"\" name=tomonth><INPUT size=2 maxlength=\"3\" value=\"\" name=today>
207
- </td>\r\n\t</tr>\r\n\t<tr><td colspan=\"3\" height=\"3\"></td></tr>\r\n\r\n\t<tr
208
- class='bgLight'>\r\n\t\t<td colspan=2><span class=\"basefontSmall\">Hits per
209
- page:</span><select name=\"maxhits\" class=\"listMenuSmall\">\r\n\t\t <option
210
- selected>10 \r\n\t\t <option>25\r\n\t\t <option>50 \r\n\t\t <option>100 \r\n\t\t
211
- \ <option>200 \r\n\t\t</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"basefontSmall\">Sorted
212
- by:</span>\r\n\t\t <select name=\"sortby\" class=\"basefontSmall\">\r\n\t\t
213
- \ <option value=\"0\" selected>GLIDE\r\n\t\t <option value=\"1\">Country,
214
- Event, Date\r\n\t\t <option value=\"2\">Country, Date, Event\r\n\t\t <option
215
- value=\"3\">Event, Country, Date\r\n\t\t <option value=\"4\">Event, Date,
216
- Country\r\n\t\t <option value=\"5\">Date, Country, Event\r\n\t\t <option
217
- value=\"6\">Date, Event, Country\r\n\t\t </select>\r\n\t\t </td><td align=\"right\">\r\n\t\t
218
- \ <INPUT type=image src=\"/glide/images/searchbutton.gif\" name='go' alt=\"Go
219
- search!\">\r\n\t\t <INPUT type=image src=\"/glide/images/clear.gif\" name=clear
220
- value=\"Clear form\" onclick=\"return clearForm();\">\r\n\t\t </td>\r\n\t</tr>\r\n\t<tr><td
221
- colspan=\"3\" height=\"3\"></td></tr>\r\n\t<tr>\r\n\t<td colspan='3'>\r\n\t<!--
222
- Search Results -->\r\n\t<!--select docid from disasters,geography,events where
223
- disasters.sEventID=events.sEventID and sCode=sLocationCode AND docid in ((select
224
- docid from wordsdocs where wordid in (select wordid from words where word='2011'))
225
- INTERSECT (select docid from wordsdocs where wordid in (select wordid from words
226
- where word='000110')) INTERSECT (select docid from wordsdocs where wordid in
227
- (select wordid from words where word='UGA'))) and (sstatusid='A') order by sGlide
228
- desc,disasters.sEventId,sLocationCode,nYear desc,nMonth desc,nDay desc-->\r\n\t<table
229
- cellspacing=\"0\" cellpadding=\"0\" border=\"1\" rules=\"none\" width='100%'>\r\n\t\t<tr>\r\n\t\t
230
- \ <td colspan=\"4\" class='bgDark' height=\"12\"><span class=\"titleText\">Search
231
- Results:</span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t <td colspan=\"4\" class='bgDark'
232
- height=\"12\" valign=\"top\" align=\"right\"><table border='0' cellspacing=0
233
- cellpadding=0><TR><TD class='whiteLinks' valign='top'>1 hits, 1 Pages : </TD></TR></table></td>\r\n\t\t</tr>\r\n\t</table>\t\r\n\t<table
234
- cellspacing=\"1\" cellpadding=\"1\" border=\"1\" width='100%'>\r\n\t\t<tr class='bgLightLight'>\r\n\t\t
235
- \ <th width=130>Glide Number</th>\r\n\t\t <th>Event</th>\r\n\t\t <th>Country</th>\r\n\t\t
236
- \ <th>Comment</th>\r\n\t\t</tr>\r\n\t\r\n\t\t<tr class='bgLightLight'>\r\n\t\t
237
- \ <td class='basefontSmall'><A class=bluelinks href='/glide/public/search/details.jsp?glide=19526&record=1&last=1'>MS-2011-000110-UGA</a>\r\n\t
238
- \ </td>\r\n\t\t <td class='basefontSmall'>Mud Slide</td>\r\n\t\t <td
239
- class='basefontSmall'>Uganda</td>\r\n\t\t <td class='basefontSmall'>Mudslide
240
- caused by heavy rains left over 6,400 in need of urgent re-settlement, 5 injured
241
- and 3 bodies still trapped under debris. WFP is distributing food aid to 26
242
- families with assistance of Red Cross.&nbsp;</td>\r\n\t\t</tr>\r\n\t \r\n\t\t<tr
243
- class='bgLightLight'>\r\n\t\t <td colspan=\"4\" class='bgDark' align=\"right\"><table
244
- border='0' cellspacing=0 cellpadding=0><TR><TD class='whiteLinks' valign='top'>1
245
- hits, 1 Pages : </TD></TR></table></td>\r\n\t\t</tr>\r\n\r\n </table>\r\n
246
- <input type='hidden' name='nStart' value='0'>\r\n <input type='hidden' name='posted'
247
- value='0'>\r\n<script language=\"JavaScript\">\r\n<!--\r\nfunction submitForm(istart)\r\n{\r\ndocument.glide.nStart.value=istart;\r\ndocument.glide.submit();\r\n}\r\n//
248
- -->\r\n</script>\r\n\r\n\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n
249
- <td bgcolor=\"#f4f0e3\" valign=\"top\"><!-- The side element -->\r\n <table
250
- border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"200\"> \r\n \t<tr>\r\n\t<td
251
- bgcolor=\"#ddd3ac\" width=\"200\">\r\n\t <span class=\"subtitleText\">GLIDEnumber:</span></td>\r\n\t</tr>\r\n
252
- \ \t<tr>\r\n\t <td width=\"200\">\r\n\t <a class=\"blueLinks\" href='/glide/public/about.jsp'>About
253
- Glide</a><br>\r\n\t <a class=\"blueLinks\" href='/glide/public/howtojoin.jsp'>How
254
- to Join</a><br>\r\n\t <a class=\"blueLinks\" href='/glide/public/institutions.jsp'>Participating
255
- Institutions</a><br>\r\n\t <a class=\"blueLinks\" href='/glide/public/links.jsp'>GLIDE-enabled
256
- sites</a><br>\r\n\t <a class=\"blueLinks\" href='javascript:openHelp(\"welcome\")'>Help
257
- Topics</a><br>\r\n\t <a class=\"blueLinks\" href='/glide/public/disclaimer.jsp'>Disclaimer</a><br>\r\n\t
258
- \ \r\n\t \r\n\t <br>\r\n\t </td>\r\n\t</tr>\r\n \t<tr>\r\n\t<td bgcolor=\"#ddd3ac\"
259
- width=\"150\">\r\n\t <span class=\"subtitleText\">Get results as:</span></td>\r\n\t</tr>\r\n
260
- \ \t<tr>\r\n\t <td width=\"150\">\r\n\t <!-- submit is needed here in order
261
- to load search specs -->\r\n\t <a class=\"blueLinks\" href='javascript:pageSubmit(\"/public/result/stats.jsp\")'>Statistics</a><br>\r\n\t
262
- \ <a class=\"blueLinks\" href='javascript:pageSubmit(\"/public/result/chart.jsp\")'>Charts</a><br>\r\n\t
263
- \ <a class=\"blueLinks\" href='javascript:pageSubmit(\"/public/result/report.jsp\")'>Tabular
264
- reports</a><br>\r\n\t <br>\r\n\t </td>\r\n\t</tr>\r\n \t<tr>\r\n\t<td
265
- bgcolor=\"#ddd3ac\" width=\"150\">\r\n\t <span class=\"subtitleText\">Latest
266
- Events:</span></td>\r\n\t</tr>\r\n\t<tr>\r\n <td class='basefontSmall'>\r\n\t
267
- \t\t<br>Disasters on <strong>week 34</strong> or after<br>\r\n\t\t\tFrom 2011/8/14\r\n\t\t\tTo
268
- 2011/8/23<br>\r\n\t\t<br>\r\n\t\t<!-- <strong>Natural Disasters</strong><br><br>
269
- -->\r\n\r\n\t\t <A class=bluelinks href=\"/glide/public/search/details.jsp?glide=19456\">OT-2011-000044-UGA</a><br>
270
- \ \r\n\t\t <strong>Other,Uganda</strong>: Spontaneous riots have broken
271
- out in various parts of Uganda since April 11th following the opposition parties
272
- declaration/calls for massive protests against the government perceived lack
273
- of sensitivity to the increasing of food and fuel prices that has resulted in
274
- the arrest of various opposition politicians. As of the 29th of April it has
275
- been reported that there have been 5 deaths and approximately 459 people injured
276
- as a result of confrontations. <br>\r\n\t\t <br>\r\n\t \r\n\t\t <A
277
- class=bluelinks href=\"/glide/public/search/details.jsp?glide=19533\">TC-2011-000114-HTI</a><br>
278
- \ \r\n\t\t <strong>Tropical Cyclone,Haiti</strong>: Red alert issued
279
- ahead of Hurricane Irene, with flood and landslide warnings for the North, Centre
280
- and Artibonite regions.<br>\r\n\t\t <br>\r\n\t \r\n\t\t <A class=bluelinks
281
- href=\"/glide/public/search/details.jsp?glide=19532\">TC-2011-000113-BLZ</a><br>
282
- \ \r\n\t\t <strong>Tropical Cyclone,Belize</strong>: After Tropical
283
- Storm Harvey made landfall in southern\r\nBelize on Aug 20, flash floods were
284
- reported and some houses damaged or destroyed.<br>\r\n\t\t <br>\r\n\t \r\n\t\t
285
- \ <A class=bluelinks href=\"/glide/public/search/details.jsp?glide=19531\">EP-2011-000112-MLI</a><br>
286
- \ \r\n\t\t <strong>Epidemic,Mali</strong>: Cholera outbreak in Mopti
287
- and Tombouctou has affected at least 600 people and 19 deaths have been reported.<br>\r\n\t\t
288
- \ <br>\r\n\t \r\n\t\t <A class=bluelinks href=\"/glide/public/search/details.jsp?glide=19534\">FL-2011-000115-KEN</a><br>
289
- \ \r\n\t\t <strong>Flood,Kenya</strong>: Heavy rains have been experienced
290
- in northwestern Kenya with several cases of flash flooding in Kisumu East, Nyando,
291
- and Turkana districts reported. Around Kakuma, an estimated 60,000 people experienced
292
- flooding for a 48-hour period with water sources, latrines and homes damaged.<br>\r\n\t\t
293
- \ <br>\r\n\t \r\n\t\t <A class=bluelinks href=\"/glide/public/search/details.jsp?glide=19529\">DR-2011-000029-SOM</a><br>
294
- \ \r\n\t\t <strong>Drought,Somalia</strong>: Somalia faces severe drought
295
- and food security crisis since the country's 1990/91 famine. At least 3.7 million
296
- people are affected.<br>\r\n\t\t <br>\r\n\t \r\n\t\t <A class=bluelinks
297
- href=\"/glide/public/search/details.jsp?glide=19530\">DR-2011-000029-DJI</a><br>
298
- \ \r\n\t\t <strong>Drought,Djibouti</strong>: Adverse impact of the
299
- moderate to strong La Nina episode on the seasonal rains, has resulted in drought
300
- conditions in the Horn of Africa with two consecutive seasons of significantly
301
- bellow-average rainfall. This condition resulted in one of the driest years
302
- since 1995. This is the most severe food security emergency in the world today.<br>\r\n\t\t
303
- \ <br>\r\n\t \r\n\t </td>\r\n\t</tr>\r\n\r\n </table>\r\n </td>\r\n</tr>\r\n</table>\r\n<script
304
- language=\"JavaScript\">\r\n<!-- \r\nbLoading=true;\r\nif (document.glide.events.selectedIndex<0)\r\n
305
- \ document.glide.events.selectedIndex=0;\r\nif ((document.glide.level0.selectedIndex<0)&&(document.glide.level1.selectedIndex<0))\r\n
306
- \ {\r\n\tdocument.glide.level0.selectedIndex=0;\r\n\tdocument.glide.level1.selectedIndex=0;\r\n\t}\r\nbLoading=false;\r\n//
307
- -->\r\n</script>\t\t\r\n<!-- Tag for Statistics, Charts, Reports (and in the
308
- future Maps) -->\r\n<input type='hidden' name='process' value='0'>\r\n<input
309
- type='hidden' name='X_Resolution' value=''>\r\n<script language=\"JavaScript\">\r\n<!--\r\ndocument.glide.X_Resolution.value=screen.width;\r\n//
310
- -->\r\n</script>\r\n\r\n</form>\r\n</BODY>\r\n</html>\r\n"
311
- http_version: '1.1'
312
- - !ruby/struct:VCR::HTTPInteraction
313
- request: !ruby/struct:VCR::Request
43
+ body: |
44
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
45
+
46
+ <html>
47
+ <head>
48
+ <title>GLIDE Search</title>
49
+ </head>
50
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ <link rel=stylesheet type="text/css" href="/glide/style.css">
66
+ <body topmargin="0" leftmargin="0">
67
+ <table cellpadding="0" cellspacing="0" border="0" width="850"><tr><td width="100%" bgcolor="D9DDE2"><img src="/glide/images/menu.gif" width="750" height="55" border="0" alt="GLIDEnumber net" usemap="#menumap">
68
+ <map name="menumap">
69
+ <area alt="" coords="312,33,360,13" href="/glide">
70
+ <area alt="" coords="375,13,462,32" href="/glide/public/preferences/preferences.jsp">
71
+ <area alt="" coords="472,13,534,32" href="/glide/public/user/login.jsp">
72
+ <area alt="" coords="539,32,607,13" href="/glide/public/user/register.jsp">
73
+ <area alt="" coords="609,13,662,31" href="javascript:openHelp('welcome')" shape="RECT">
74
+ <area alt="" coords="665,32,741,11" href="/glide/public/contact.jsp">
75
+ </map></td></tr><tr><td height="3"></td></tr></table>
76
+ <script language="JavaScript">
77
+ <!--
78
+ function openHelp(page)
79
+ {
80
+ page="/glide/help/"+page+".jsp";
81
+ document.helpwindow=window.open(page,'window','width=630,height=500,left=10,screenX=10,top=50,screenY=50,scrollbars=no,resizable=no');
82
+ document.helpwindow.focus();
83
+ }
84
+ // -->
85
+ </script>
86
+
87
+
88
+
89
+
90
+
91
+
92
+ <script language="JavaScript">
93
+ <!--
94
+ aContinent = new Array(0,3,4,1,5,1,2,2,2,3,5,4,3,4,2,3,3,2,4,4,2,1,2,3,2,4,1,2,3,4,1,1,3,1,2,1,1,2,1,1,2,3,2,1,1,1,5,2,1,4,2,4,4,4,4,1,2,2,3,2,1,2,1,1,4,1,5,4,4,2,5,1,1,3,4,4,4,4,1,4,2,2,5,2,1,1,2,2,2,3,4,4,3,3,3,3,4,3,4,2,3,3,3,1,5,3,3,3,3,3,4,3,1,1,1,4,4,3,4,1,1,3,3,1,4,5,2,1,1,2,5,4,3,4,2,1,1,3,1,3,4,2,5,5,2,1,1,5,4,3,3,5,3,2,5,2,2,3,4,4,2,1,4,4,1,5,1,3,1,4,1,1,3,4,4,5,1,1,1,4,4,3,1,2,2,2,1,2,1,4,4,3,3,3,1,3,1,5,5,2,1,4,3,2,5,1,4,3,4,2,2,3,5,2,3,2,2,5,3,3,3,4,1,1,1);
95
+ var nCountries=225;
96
+
97
+
98
+ // submits the form so the server will get all user parameters and forward to specified process.
99
+ function pageSubmit(destPage)
100
+ {
101
+ document.glide.process.value=destPage;
102
+ document.glide.submit();
103
+ }
104
+ var bLoading=false;
105
+
106
+ function clearForm()
107
+ {
108
+ with (document.glide)
109
+ {
110
+ level0.selectedIndex=-1;
111
+ level1.selectedIndex=-1;
112
+ events.selectedIndex=-1;
113
+ keywords.value="";
114
+ ftoption.selectedIndex=0;
115
+ fromyear.value="";
116
+ frommonth.value="";
117
+ fromday.value="";
118
+ toyear.value="";
119
+ tomonth.value="";
120
+ today.value="";
121
+
122
+ }
123
+ return false;
124
+ }
125
+
126
+ function showCountries()
127
+ {
128
+ if (!bLoading)
129
+ {
130
+ bLoading=true;
131
+ // clears the countries box
132
+ document.glide.level1.selectedIndex=-1;
133
+ // checks for ALL selected
134
+ if (document.glide.level0.selectedIndex==0)
135
+ {
136
+ document.glide.level0.selectedIndex=-1;
137
+ document.glide.level0.options[0].selected=true;
138
+ document.glide.level0.selectedIndex=0;
139
+ document.glide.level1.options[0].selected=true;
140
+ document.glide.level1.selectedIndex=0;
141
+ }
142
+ else
143
+ {
144
+ // adds al contries of the continent
145
+ for (c=1; c<=5; c++)
146
+ if (document.glide.level0.options[c].selected)
147
+ for (j=nCountries; j>=0; j--)
148
+ if (aContinent[j]==c)
149
+ {
150
+ document.glide.level1.options[j+1].selected=true;
151
+ }
152
+ // ensures ALL is NOT selected!!!
153
+ document.glide.level0.options[0].selected=false;
154
+ }
155
+
156
+ bLoading=false;
157
+ }
158
+ }
159
+
160
+ function noContinents()
161
+ {
162
+ if (!bLoading)
163
+ {
164
+ bLoading=true;
165
+ // clears the continent box
166
+ document.glide.level0.selectedIndex=-1;
167
+ // checks for ALL selected
168
+ if (document.glide.level1.selectedIndex==0)
169
+ {
170
+ document.glide.level1.selectedIndex=-1;
171
+ document.glide.level1.options[0].selected=true;
172
+ document.glide.level0.options[0].selected=true;
173
+ }
174
+ else
175
+ {
176
+ // ensures ALL is NOT selected!!!
177
+ document.glide.level1.options[0].selected=false;
178
+ }
179
+ bLoading=false;
180
+ }
181
+ }
182
+
183
+ function check4Any()
184
+ {
185
+ if (!bLoading)
186
+ {
187
+ bLoading=true;
188
+ // checks for ALL selected
189
+ if (document.glide.events.selectedIndex==0)
190
+ {
191
+ document.glide.events.selectedIndex=-1;
192
+ document.glide.events.options[0].selected=true;
193
+ }
194
+ else
195
+ {
196
+ // ensures ALL is NOT selected!!!
197
+ document.glide.events.options[0].selected=false;
198
+ }
199
+ bLoading=false;
200
+ }
201
+ }
202
+ // -->
203
+ </script>
204
+ <table cellspacing="0" cellpadding="2" border="0" width="850">
205
+ <form name="glide" action="/glide/public/search/search.jsp" method="post">
206
+ <tr>
207
+ <td class='bgDark' height="25"><span class="titleText">GLIDE Search</span></td>
208
+ <td class='bgDark' height="25" align="right"></td>
209
+
210
+ </tr>
211
+ <tr><td colspan="2" height="5"></td></tr>
212
+ <tr>
213
+ <td valign="top" class='bgLightLight'><!-- The whole search screen -->
214
+ <table border="0" cellpadding="2" cellspacing="0">
215
+ <tr>
216
+ <td class='bgLightLight' width='215'><span class="subtitleText">Select Continent:</span></td>
217
+ <td class='bgLightLight' width='215' align="center"><span class="subtitleText">Select Country:</span> </td>
218
+ <td class='bgLightLight' width='215' align="center">&nbsp;&nbsp;<span class="subtitleText">Select Event:</span></td>
219
+ </tr>
220
+ <tr class='bgLightLight'>
221
+ <td valign="top" align="left" height="135">
222
+ <SELECT id='level0' style="WIDTH: 150px; HEIGHT: 134px" multiple size=5 name='level0' onchange="showCountries()">
223
+ <option value='*' selected>Any
224
+ <option value=1>Africa
225
+ <option value=2>Americas
226
+ <option value=3>Asia
227
+ <option value=4>Europe
228
+ <option value=5>Oceania
229
+
230
+ </SELECT>
231
+ </td>
232
+ <td valign="top" align="center" height="135" width='215'>
233
+ <SELECT id='level1' multiple size=15 name='level1' style="WIDTH: 180px; HEIGHT: 134px" onchange="noContinents()">
234
+ <option value='*' selected>Any
235
+ <option value=--->(Non-Localized)
236
+ <option value=AFG>Afghanistan
237
+ <option value=ALB>Albania
238
+ <option value=DZA>Algeria
239
+ <option value=ASM>American Samoa
240
+ <option value=AGO>Angola
241
+ <option value=AIA>Anguilla
242
+ <option value=ATG>Antigua & Barbuda
243
+ <option value=ARG>Argentina
244
+ <option value=ARM>Armenia
245
+ <option value=AUS>Australia
246
+ <option value=AUT>Austria
247
+ <option value=AZE>Azerbaijan
248
+ <option value=AZO>Azores
249
+ <option value=BHS>Bahamas
250
+ <option value=BHR>Bahrain
251
+ <option value=BGD>Bangladesh
252
+ <option value=BRB>Barbados
253
+ <option value=BLR>Belarus
254
+ <option value=BEL>Belgium
255
+ <option value=BLZ>Belize
256
+ <option value=BEN>Benin
257
+ <option value=BMU>Bermuda
258
+ <option value=BTN>Bhutan
259
+ <option value=BOL>Bolivia
260
+ <option value=BIH>Bosnia-Hercegovenia
261
+ <option value=BWA>Botswana
262
+ <option value=BRA>Brazil
263
+ <option value=BRN>Brunei Darussalam
264
+ <option value=BGR>Bulgaria
265
+ <option value=BFA>Burkina Faso
266
+ <option value=BDI>Burundi
267
+ <option value=KHM>Cambodia
268
+ <option value=CMR>Cameroon
269
+ <option value=CAN>Canada
270
+ <option value=SPI>Canary Is
271
+ <option value=CPV>Cape Verde Is
272
+ <option value=CYM>Cayman Islands
273
+ <option value=CAF>Central African Rep
274
+ <option value=TCD>Chad
275
+ <option value=CHL>Chile
276
+ <option value=CHN>China, P Rep
277
+ <option value=COL>Colombia
278
+ <option value=COM>Comoros
279
+ <option value=COD>Congo, Dem Rep (ex-Zaire)
280
+ <option value=COG>Congo, Rep
281
+ <option value=COK>Cook Is
282
+ <option value=CRI>Costa Rica
283
+ <option value=CIV>Cote d'Ivoire
284
+ <option value=HRV>Croatia
285
+ <option value=CUB>Cuba
286
+ <option value=CYP>Cyprus
287
+ <option value=CZE>Czech Rep
288
+ <option value=CSK>Czechoslovakia
289
+ <option value=DNK>Denmark
290
+ <option value=DJI>Djibouti
291
+ <option value=DMA>Dominica
292
+ <option value=DOM>Dominican Rep
293
+ <option value=TMP>East Timor
294
+ <option value=ECU>Ecuador
295
+ <option value=EGY>Egypt
296
+ <option value=SLV>El Salvador
297
+ <option value=GNQ>Equatorial Guinea
298
+ <option value=ERI>Eritrea
299
+ <option value=EST>Estonia
300
+ <option value=ETH>Ethiopia
301
+ <option value=FJI>Fiji
302
+ <option value=FIN>Finland
303
+ <option value=FRA>France
304
+ <option value=GUF>French Guiana
305
+ <option value=PYF>French Polynesia
306
+ <option value=GAB>Gabon
307
+ <option value=GMB>Gambia, The
308
+ <option value=GEO>Georgia
309
+ <option value=DEU>Germany
310
+ <option value=GER>Germany
311
+ <option value=DDR>Germany, Dem Rep
312
+ <option value=DFR>Germany, Fed Rep
313
+ <option value=GHA>Ghana
314
+ <option value=GRC>Greece
315
+ <option value=GRD>Grenada
316
+ <option value=GLP>Guadeloupe
317
+ <option value=GUM>Guam
318
+ <option value=GTM>Guatemala
319
+ <option value=GIN>Guinea
320
+ <option value=GNB>Guinea Bissau
321
+ <option value=GUY>Guyana
322
+ <option value=HTI>Haiti
323
+ <option value=HND>Honduras
324
+ <option value=HKG>Hong Kong (China)
325
+ <option value=HUN>Hungary
326
+ <option value=ISL>Iceland
327
+ <option value=IND>India
328
+ <option value=IDN>Indonesia
329
+ <option value=IRN>Iran, Islam Rep
330
+ <option value=IRQ>Iraq
331
+ <option value=IRL>Ireland
332
+ <option value=ISR>Israel
333
+ <option value=ITA>Italy
334
+ <option value=JAM>Jamaica
335
+ <option value=JPN>Japan
336
+ <option value=JOR>Jordan
337
+ <option value=KAZ>Kazakhstan
338
+ <option value=KEN>Kenya
339
+ <option value=KIR>Kiribati
340
+ <option value=PRK>Korea, Dem P Rep
341
+ <option value=KOR>Korea, Rep
342
+ <option value=KWT>Kuwait
343
+ <option value=KGZ>Kyrgyzstan
344
+ <option value=LAO>Lao, P Dem Rep
345
+ <option value=LVA>Latvia
346
+ <option value=LBN>Lebanon
347
+ <option value=LSO>Lesotho
348
+ <option value=LBR>Liberia
349
+ <option value=LBY>Libyan Arab Jamah
350
+ <option value=LTU>Lithuania
351
+ <option value=LUX>Luxembourg
352
+ <option value=MAC>Macau
353
+ <option value=MKD>Macedonia, FRY
354
+ <option value=MDG>Madagascar
355
+ <option value=MWI>Malawi
356
+ <option value=MYS>Malaysia
357
+ <option value=MDV>Maldives
358
+ <option value=MLI>Mali
359
+ <option value=MLT>Malta
360
+ <option value=MHL>Marshall Is
361
+ <option value=MTQ>Martinique
362
+ <option value=MRT>Mauritania
363
+ <option value=MUS>Mauritius
364
+ <option value=MEX>Mexico
365
+ <option value=FSM>Micronesia, Fed States
366
+ <option value=MDA>Moldova, Rep
367
+ <option value=MNG>Mongolia
368
+ <option value=MNE>Montenegro Rep.
369
+ <option value=MSR>Montserrat
370
+ <option value=MAR>Morocco
371
+ <option value=MOZ>Mozambique
372
+ <option value=MMR>Myanmar
373
+ <option value=NAM>Namibia
374
+ <option value=NPL>Nepal
375
+ <option value=NLD>Netherlands
376
+ <option value=ANT>Netherlands Antilles
377
+ <option value=NCL>New Caledonia
378
+ <option value=NZL>New Zealand
379
+ <option value=NIC>Nicaragua
380
+ <option value=NER>Niger
381
+ <option value=NGA>Nigeria
382
+ <option value=NIU>Niue
383
+ <option value=NOR>Norway
384
+ <option value=OMN>Oman
385
+ <option value=PAK>Pakistan
386
+ <option value=PLW>Palau
387
+ <option value=PSE>Palestine (West Bank)
388
+ <option value=PAN>Panama
389
+ <option value=PNG>Papua New Guinea
390
+ <option value=PRY>Paraguay
391
+ <option value=PER>Peru
392
+ <option value=PHL>Philippines
393
+ <option value=POL>Poland
394
+ <option value=PRT>Portugal
395
+ <option value=PRI>Puerto Rico
396
+ <option value=REU>Reunion
397
+ <option value=ROM>Romania
398
+ <option value=RUS>Russia
399
+ <option value=RWA>Rwanda
400
+ <option value=WSM>Samoa
401
+ <option value=STP>Sao Tome et Principe
402
+ <option value=SAU>Saudi Arabia
403
+ <option value=SEN>Senegal
404
+ <option value=SRB>Serbia Rep.
405
+ <option value=SYC>Seychelles
406
+ <option value=SLE>Sierra Leone
407
+ <option value=SGP>Singapore
408
+ <option value=SVK>Slovakia
409
+ <option value=SVN>Slovenia
410
+ <option value=SLB>Solomon Is
411
+ <option value=SOM>Somalia
412
+ <option value=ZAF>South Africa
413
+ <option value=SSD>South Sudan
414
+ <option value=SUN>Soviet Union
415
+ <option value=ESP>Spain
416
+ <option value=LKA>Sri Lanka
417
+ <option value=SHN>St Helena
418
+ <option value=KNA>St Kitts & Nevis
419
+ <option value=LCA>St Lucia
420
+ <option value=VCT>St Vincent & The Grenadines
421
+ <option value=SDN>Sudan
422
+ <option value=SUR>Suriname
423
+ <option value=SWZ>Swaziland
424
+ <option value=SWE>Sweden
425
+ <option value=CHE>Switzerland
426
+ <option value=SYR>Syrian Arab Rep
427
+ <option value=TWN>Taiwan (China)
428
+ <option value=TJK>Tajikistan
429
+ <option value=TZA>Tanzania, Uni Rep
430
+ <option value=THA>Thailand
431
+ <option value=TGO>Togo
432
+ <option value=TKL>Tokelau
433
+ <option value=TON>Tonga
434
+ <option value=TTO>Trinidad & Tobago
435
+ <option value=TUN>Tunisia
436
+ <option value=TUR>Turkey
437
+ <option value=TKM>Turkmenistan
438
+ <option value=TCA>Turks & Caicos Is
439
+ <option value=TUV>Tuvalu
440
+ <option value=UGA>Uganda
441
+ <option value=UKR>Ukraine
442
+ <option value=ARE>United Arab Emirates
443
+ <option value=GBR>United Kingdom
444
+ <option value=USA>United States
445
+ <option value=URY>Uruguay
446
+ <option value=UZB>Uzbekistan
447
+ <option value=VUT>Vanuatu
448
+ <option value=VEN>Venezuela
449
+ <option value=VNM>Viet Nam
450
+ <option value=VGB>Virgin Is (UK)
451
+ <option value=VIR>Virgin Is (US)
452
+ <option value=WLF>Wallis & Futuna Is
453
+ <option value=YEM>Yemen
454
+ <option value=YMN>Yemen, Arab Rep
455
+ <option value=YMD>Yemen, P Dem Rep
456
+ <option value=YUG>Yugoslavia
457
+ <option value=ZAR>Zaire/Congo, Dem Rep (PREVIOUS)
458
+ <option value=ZMB>Zambia
459
+ <option value=ZWE>Zimbabwe
460
+
461
+ </SELECT>
462
+ </td>
463
+ <td valign="top" align="right" height="135">
464
+ <SELECT id=events multiple size=15 name=events style="WIDTH: 180px; HEIGHT: 134px" onchange="check4Any()">
465
+ <option value='*' selected>Any
466
+ <option value='CW'>CW - Cold Wave
467
+ <option value='CE'>CE - Complex Emergency
468
+ <option value='DR'>DR - Drought
469
+ <option value='EQ'>EQ - Earthquake
470
+ <option value='EP'>EP - Epidemic
471
+ <option value='EC'>EC - Extratropical Cyclone
472
+ <option value='ET'>ET - Extreme temperature(use CW/HW instead)
473
+ <option value='FA'>FA - Famine(use other "Hazard" code instead)
474
+ <option value='FR'>FR - Fire
475
+ <option value='FF'>FF - Flash Flood
476
+ <option value='FL'>FL - Flood
477
+ <option value='HT'>HT - Heat Wave
478
+ <option value='IN'>IN - Insect Infestation
479
+ <option value='LS'>LS - Land Slide
480
+ <option value='MS'>MS - Mud Slide
481
+ <option value='OT'>OT - Other
482
+ <option value='ST'>ST - SEVERE LOCAL STORM
483
+ <option value='SL'>SL - SLIDE (use LS/ AV/MS instead)
484
+ <option value='AV'>AV - Snow Avalanche
485
+ <option value='SS'>SS - Storm Surge
486
+ <option value='AC'>AC - Tech. Disaster
487
+ <option value='TO'>TO - Tornadoes
488
+ <option value='TC'>TC - Tropical Cyclone
489
+ <option value='TS'>TS - Tsunami
490
+ <option value='VW'>VW - Violent Wind
491
+ <option value='VO'>VO - Volcano
492
+ <option value='WV'>WV - Wave/Surge(use TS/SS instead)
493
+ <option value='WF'>WF - Wild fire
494
+
495
+ </SELECT>
496
+ </td>
497
+ </tr>
498
+ <tr><td colspan="3" height="8" class='bgLightLight' align="center"><span class='basefontSmallSmall'>Use Ctrl-Click and/or Shift-Click for multiple selections. If NO selections are made, ALL items will be selected</span></td></tr>
499
+ <tr><td colspan="3" height="3"></td></tr>
500
+ <tr class='bgLight'>
501
+ <td colspan=3><span class="basefontSmall">Type keywords: <INPUT size=45 name=keywords value="2011-000110-UGA">
502
+ &nbsp;&nbsp;&nbsp;&nbsp;Looking for: <select name="ftoption" class="basefontSmall">
503
+ <option value='&' selected>All Words</option>
504
+ <option value='|'>Any Word</option>
505
+ </select></span>
506
+ </td>
507
+ </tr>
508
+ <tr><td colspan="3" height="3"></td></tr>
509
+ <tr class='bgLightLight'>
510
+ <td><span class="basefontSmall">Search between these dates:<br><strong>(yyyy-mm-dd)</strong></span></td>
511
+ <td class="basefontSmall">From:<INPUT size=4 maxlength="5" value="" name=fromyear><INPUT size=2
512
+ maxlength="3" value="" name=frommonth><INPUT size=2 maxlength="3" value="" name=fromday> </td>
513
+ <td class="basefontSmall">To:<INPUT size=4 maxlength="5" value="" name=toyear><INPUT size=2 maxlength="3" value="" name=tomonth><INPUT size=2 maxlength="3" value="" name=today> </td>
514
+ </tr>
515
+ <tr><td colspan="3" height="3"></td></tr>
516
+
517
+ <tr class='bgLight'>
518
+ <td colspan=2><span class="basefontSmall">Hits per page:</span><select name="maxhits" class="listMenuSmall">
519
+ <option selected>10
520
+ <option>25
521
+ <option>50
522
+ <option>100
523
+ <option>200
524
+ </select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="basefontSmall">Sorted by:</span>
525
+ <select name="sortby" class="basefontSmall">
526
+ <option value="0" selected>GLIDE
527
+ <option value="1">Country, Event, Date
528
+ <option value="2">Country, Date, Event
529
+ <option value="3">Event, Country, Date
530
+ <option value="4">Event, Date, Country
531
+ <option value="5">Date, Country, Event
532
+ <option value="6">Date, Event, Country
533
+ </select>
534
+ </td><td align="right">
535
+ <INPUT type=image src="/glide/images/searchbutton.gif" name='go' alt="Go search!">
536
+ <INPUT type=image src="/glide/images/clear.gif" name=clear value="Clear form" onclick="return clearForm();">
537
+ </td>
538
+ </tr>
539
+ <tr><td colspan="3" height="3"></td></tr>
540
+ <tr>
541
+ <td colspan='3'>
542
+ <!-- Search Results -->
543
+ <!--select docid from disasters,geography,events where disasters.sEventID=events.sEventID and sCode=sLocationCode AND docid in ((select docid from wordsdocs where wordid in (select wordid from words where word='2011')) INTERSECT (select docid from wordsdocs where wordid in (select wordid from words where word='000110')) INTERSECT (select docid from wordsdocs where wordid in (select wordid from words where word='UGA'))) and (sstatusid='A') order by sGlide desc,disasters.sEventId,sLocationCode,nYear desc,nMonth desc,nDay desc-->
544
+ <table cellspacing="0" cellpadding="0" border="1" rules="none" width='100%'>
545
+ <tr>
546
+ <td colspan="4" class='bgDark' height="12"><span class="titleText">Search Results:</span></td>
547
+ </tr>
548
+ <tr>
549
+ <td colspan="4" class='bgDark' height="12" valign="top" align="right"><table border='0' cellspacing=0 cellpadding=0><TR><TD class='whiteLinks' valign='top'>1 hits, 1 Pages : </TD></TR></table></td>
550
+ </tr>
551
+ </table>
552
+ <table cellspacing="1" cellpadding="1" border="1" width='100%'>
553
+ <tr class='bgLightLight'>
554
+ <th width=130>Glide Number</th>
555
+ <th>Event</th>
556
+ <th>Country</th>
557
+ <th>Comment</th>
558
+ </tr>
559
+
560
+ <tr class='bgLightLight'>
561
+ <td class='basefontSmall'><A class=bluelinks href='/glide/public/search/details.jsp?glide=19526&record=1&last=1'>MS-2011-000110-UGA</a>
562
+ </td>
563
+ <td class='basefontSmall'>Mud Slide</td>
564
+ <td class='basefontSmall'>Uganda</td>
565
+ <td class='basefontSmall'>Mudslide caused by heavy rains left over 6,400 in need of urgent re-settlement, 5 injured and 3 bodies still trapped under debris. WFP is distributing food aid to 26 families with assistance of Red Cross.&nbsp;</td>
566
+ </tr>
567
+
568
+ <tr class='bgLightLight'>
569
+ <td colspan="4" class='bgDark' align="right"><table border='0' cellspacing=0 cellpadding=0><TR><TD class='whiteLinks' valign='top'>1 hits, 1 Pages : </TD></TR></table></td>
570
+ </tr>
571
+
572
+ </table>
573
+ <input type='hidden' name='nStart' value='0'>
574
+ <input type='hidden' name='posted' value='0'>
575
+ <script language="JavaScript">
576
+ <!--
577
+ function submitForm(istart)
578
+ {
579
+ document.glide.nStart.value=istart;
580
+ document.glide.submit();
581
+ }
582
+ // -->
583
+ </script>
584
+
585
+
586
+ </td>
587
+ </tr>
588
+ </table>
589
+ </td>
590
+ <td bgcolor="#f4f0e3" valign="top"><!-- The side element -->
591
+ <table border="0" cellpadding="2" cellspacing="0" width="200">
592
+ <tr>
593
+ <td bgcolor="#ddd3ac" width="200">
594
+ <span class="subtitleText">GLIDEnumber:</span></td>
595
+ </tr>
596
+ <tr>
597
+ <td width="200">
598
+ <a class="blueLinks" href='/glide/public/about.jsp'>About Glide</a><br>
599
+ <a class="blueLinks" href='/glide/public/howtojoin.jsp'>How to Join</a><br>
600
+ <a class="blueLinks" href='/glide/public/institutions.jsp'>Participating Institutions</a><br>
601
+ <a class="blueLinks" href='/glide/public/links.jsp'>GLIDE-enabled sites</a><br>
602
+ <a class="blueLinks" href='javascript:openHelp("welcome")'>Help Topics</a><br>
603
+ <a class="blueLinks" href='/glide/public/disclaimer.jsp'>Disclaimer</a><br>
604
+
605
+
606
+ <br>
607
+ </td>
608
+ </tr>
609
+ <tr>
610
+ <td bgcolor="#ddd3ac" width="150">
611
+ <span class="subtitleText">Get results as:</span></td>
612
+ </tr>
613
+ <tr>
614
+ <td width="150">
615
+ <!-- submit is needed here in order to load search specs -->
616
+ <a class="blueLinks" href='javascript:pageSubmit("/public/result/stats.jsp")'>Statistics</a><br>
617
+ <a class="blueLinks" href='javascript:pageSubmit("/public/result/chart.jsp")'>Charts</a><br>
618
+ <a class="blueLinks" href='javascript:pageSubmit("/public/result/report.jsp")'>Tabular reports</a><br>
619
+ <br>
620
+ </td>
621
+ </tr>
622
+ <tr>
623
+ <td bgcolor="#ddd3ac" width="150">
624
+ <span class="subtitleText">Latest Events:</span></td>
625
+ </tr>
626
+ <tr>
627
+ <td class='basefontSmall'>
628
+ <br>Disasters on <strong>week 41</strong> or after<br>
629
+ From 2011/10/2
630
+ To 2011/10/12<br>
631
+ <br>
632
+ <!-- <strong>Natural Disasters</strong><br><br> -->
633
+
634
+ <A class=bluelinks href="/glide/public/search/details.jsp?glide=19456">OT-2011-000044-UGA</a><br>
635
+ <strong>Other,Uganda</strong>: Spontaneous riots have broken out in various parts of Uganda since April 11th following the opposition parties declaration/calls for massive protests against the government perceived lack of sensitivity to the increasing of food and fuel prices that has resulted in the arrest of various opposition politicians. As of the 29th of April it has been reported that there have been 5 deaths and approximately 459 people injured as a result of confrontations. <br>
636
+ <br>
637
+
638
+ <A class=bluelinks href="/glide/public/search/details.jsp?glide=19584">OT-2011-000154-ETH</a><br>
639
+ <strong>Other,Ethiopia</strong>: A week after fighting broke out between the Sudan Armed Forces and members of the Sudan People?s Liberation Movement (North) September 1st approximately, the volatile security situation in Sudan?s Blue Nile State continues to drive civilians out of their homes into exile in Ethiopia. Initially 4,000 refugees entering into Kurmuk, in western Ethiopia. This followed reports of renewed clashes in the Sudan side of Kurmuk. There are an estimated 20,000 plus Sudanese refugees who crossed into Ethiopia over the past week. The humanitarian needs are expected to increase as existing Government of Ethiopia (GoE/ARRA) and UNHCR camp capacity is overwhelmed. With hostilities escalating new camp sites have been identified and are under preparation in anticipation of increased caseloads. <br>
640
+ <br>
641
+
642
+ <A class=bluelinks href="/glide/public/search/details.jsp?glide=19583">EP-2011-000153-CAF</a><br>
643
+ <strong>Epidemic,Central African Rep</strong>: A cholera epidemic has been declared in the CAR, with 16 victims as of 8 October, and a few cases in the capital Bangui.<br>
644
+ <br>
645
+
646
+ <A class=bluelinks href="/glide/public/search/details.jsp?glide=19585">TC-2011-000155-PHL</a><br>
647
+ <strong>Tropical Cyclone,Philippines</strong>: On 10 October 2011, the active low pressure area (ALPA) East of Mindanao developed into a tropical depression and maintained its strength as it moved in a Westward direction. On 11 October, it intensified into a storm as it continues to threaten Eastern Visayas and Northeastern Mindanao. Based on initial report, around 74 families in Cagayan de Oro City and 150 families in Misamis Oriental were affected and evacuated to higher grounds due to floods caused by heavy rains induced by Tropical Storm "Ramon". <br>
648
+ <br>
649
+
650
+ </td>
651
+ </tr>
652
+
653
+ </table>
654
+ </td>
655
+ </tr>
656
+ </table>
657
+ <script language="JavaScript">
658
+ <!--
659
+ bLoading=true;
660
+ if (document.glide.events.selectedIndex<0)
661
+ document.glide.events.selectedIndex=0;
662
+ if ((document.glide.level0.selectedIndex<0)&&(document.glide.level1.selectedIndex<0))
663
+ {
664
+ document.glide.level0.selectedIndex=0;
665
+ document.glide.level1.selectedIndex=0;
666
+ }
667
+ bLoading=false;
668
+ // -->
669
+ </script>
670
+ <!-- Tag for Statistics, Charts, Reports (and in the future Maps) -->
671
+ <input type='hidden' name='process' value='0'>
672
+ <input type='hidden' name='X_Resolution' value=''>
673
+ <script language="JavaScript">
674
+ <!--
675
+ document.glide.X_Resolution.value=screen.width;
676
+ // -->
677
+ </script>
678
+
679
+ </form>
680
+ </BODY>
681
+ </html>
682
+
683
+ http_version: "1.1"
684
+ - !ruby/struct:VCR::HTTPInteraction
685
+ request: !ruby/struct:VCR::Request
314
686
  method: :get
315
687
  uri: http://glidenumber.net:80/glide/public/search/details.jsp?glide=19526&last=1&record=1
316
- body: !!null
317
- headers:
318
- user-agent:
319
- - Mechanize/2.0.1 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
320
- accept-encoding:
321
- - gzip,deflate,identity
322
- accept-charset:
323
- - ISO-8859-1,utf-8;q=0.7,*;q=0.7
324
- accept-language:
688
+ body:
689
+ headers:
690
+ accept-language:
325
691
  - en-us,en;q=0.5
326
- cookie:
327
- - JSESSIONID=BAE76F5B35F43B784B7D8674CF586E1A
328
- host:
329
- - glidenumber.net
330
- referer:
331
- - !ruby/object:URI::HTTP
332
- scheme: http
333
- user: !!null
334
- password: !!null
692
+ connection:
693
+ - keep-alive
694
+ user-agent:
695
+ - Mechanize/2.0.1 Ruby/1.8.7p334 (http://github.com/tenderlove/mechanize/)
696
+ accept-encoding:
697
+ - gzip,deflate,identity
698
+ referer:
699
+ - !ruby/object:URI::HTTP
700
+ fragment:
335
701
  host: glidenumber.net
336
- port: 80
702
+ opaque:
703
+ password:
337
704
  path: /glide/public/search/search.jsp
338
- query: !!null
339
- opaque: !!null
340
- registry: !!null
341
- fragment: !!null
342
- parser: !!null
343
- connection:
344
- - keep-alive
345
- keep-alive:
705
+ port: 80
706
+ query:
707
+ registry:
708
+ scheme: http
709
+ user:
710
+ cookie:
711
+ - JSESSIONID=ACA05DD811016C5712B92DC96CDBCBF4
712
+ host:
713
+ - glidenumber.net
714
+ accept-charset:
715
+ - ISO-8859-1,utf-8;q=0.7,*;q=0.7
716
+ keep-alive:
346
717
  - 300
347
- response: !ruby/struct:VCR::Response
348
- status: !ruby/struct:VCR::ResponseStatus
718
+ response: !ruby/struct:VCR::Response
719
+ status: !ruby/struct:VCR::ResponseStatus
349
720
  code: 200
350
721
  message: OK
351
- headers:
352
- date:
353
- - Tue, 23 Aug 2011 09:05:24 GMT
354
- server:
722
+ headers:
723
+ content-type:
724
+ - text/html;charset=UTF-8
725
+ server:
355
726
  - Apache
356
- content-length:
357
- - '5233'
358
- keep-alive:
727
+ date:
728
+ - Wed, 12 Oct 2011 03:06:30 GMT
729
+ content-length:
730
+ - "5684"
731
+ keep-alive:
359
732
  - timeout=15, max=100
360
- content-type:
361
- - text/html;charset=ISO-8859-1
362
- body: ! "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n\r\n<html>\r\n<head>\r\n\t<title>GLIDE
363
- Record</title>\r\n</head> \r\n<META http-equiv=\"Content-Type\" content=\"text/html;
364
- charset=ISO-8859-1\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<link
365
- rel=stylesheet type=\"text/css\" href=\"/glide/style.css\">\r\n<body topmargin=\"0\"
366
- leftmargin=\"0\">\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"
367
- width=\"850\"><tr><td width=\"100%\" bgcolor=\"D9DDE2\"><img src=\"/glide/images/menu.gif\"
368
- width=\"750\" height=\"55\" border=\"0\" alt=\"GLIDEnumber net\" usemap=\"#menumap\">\r\n<map
369
- name=\"menumap\">\r\n<area alt=\"\" coords=\"312,33,360,13\" href=\"/glide\">\r\n<area
370
- alt=\"\" coords=\"375,13,462,32\" href=\"/glide/public/preferences/preferences.jsp\">\r\n<area
371
- alt=\"\" coords=\"472,13,534,32\" href=\"/glide/public/user/login.jsp\">\r\n<area
372
- alt=\"\" coords=\"539,32,607,13\" href=\"/glide/public/user/register.jsp\">\r\n<area
373
- alt=\"\" coords=\"609,13,662,31\" href=\"javascript:openHelp('welcome')\" shape=\"RECT\">\r\n<area
374
- alt=\"\" coords=\"665,32,741,11\" href=\"/glide/public/contact.jsp\">\r\n</map></td></tr><tr><td
375
- height=\"3\"></td></tr></table>\r\n<script language=\"JavaScript\">\r\n<!--
376
- \r\nfunction openHelp(page)\r\n{\r\npage=\"/glide/help/\"+page+\".jsp\";\r\ndocument.helpwindow=window.open(page,'window','width=630,height=500,left=10,screenX=10,top=50,screenY=50,scrollbars=no,resizable=no');\r\ndocument.helpwindow.focus();\r\n}\r\n//
377
- -->\r\n</script>\r\n\r\n\r\n\r\n<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\"
378
- width=\"850\">\r\n<form name=\"glide\" action=\"details.jsp\" method=\"post\">\r\n<tr>\r\n
379
- \ <td class='bgDark' height=\"25\"><span class=\"titleText\">GLIDE Record</span></td>\r\n
380
- \ <td class='bgDark' height=\"25\" align=\"right\">\r\n\r\n\t<a href=\"details.jsp?record=1&last=1\"><img
381
- src=\"/glide/images/arrow-first.gif\" width=\"14\" height=\"15\" border=\"0\"
382
- alt=\"First record\"></a>\r\n\t<a href=\"details.jsp?record=1&last=1\"><img
383
- src=\"/glide/images/arrow-back.gif\" width=\"14\" height=\"15\" border=\"0\"
384
- alt=\"First record\"></a>\r\n <span class='basefontSmallWhite'>(1 of 1)</span>\r\n\t<a
385
- href=\"details.jsp?record=1&last=1\"><img src=\"/glide/images/arrow-forward.gif\"
386
- width=\"14\" height=\"15\" border=\"0\" alt=\"First record\"></a>\r\n\t<a href=\"details.jsp?record=1&last=1\"><img
387
- src=\"/glide/images/arrow-last.gif\" width=\"14\" height=\"15\" border=\"0\"
388
- alt=\"First record\"></a>\r\n \t\r\n\t</td>\r\n</tr>\r\n<tr><td colspan=\"2\"
389
- height=\"5\"></td></tr>\r\n<tr>\r\n <td width=650 valign=\"top\"><!-- The whole
390
- search screen -->\r\n\t<INPUT type='hidden' size='15' maxlength='21' name='docid'
391
- VALUE=\"19526\">\r\n <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\"
392
- class=\"basefontSmall\" width='645'>\r\n\t\r\n\r\n\t<tr><td class='bgLight'
393
- align=\"right\" width=\"200\" height='20'>Event:</td><td class='bgLightLight'
394
- width=\"450\"> <strong>MS Mud Slide</strong></td></tr>\r\n\t<tr><td class='bgLight'
395
- align=\"right\" height='20'>Number:</td><td class='bgLightLight'> <strong>
396
- 2011-000110</strong></td></tr>\r\n\t<tr><td class='bgLight' align=\"right\"
397
- height='20'>Country:</td><td class='bgLightLight'> <strong>UGA Uganda</strong></td></tr>\r\n\t<tr><td
398
- class='bgLight' align=\"right\" height='20' valign=\"top\">Location:</td><td
399
- class='bgLightLight' valign=\"top\"> </td></tr>\r\n\t<tr><td class='bgLight'
400
- align=\"right\" height='20'>Date (Y-M-D):</td><td class='bgLightLight'> 2011-8-12</td></tr>\r\n\t<tr><td
401
- class='bgLight' align=\"right\" height='20'>Time:</td><td class='bgLightLight'>
402
- </td></tr>\r\n\t<tr><td class='bgLight' align=\"right\" height='20'>Duration:</td><td
403
- class='bgLightLight'> </td></tr>\r\n\t<tr><td class='bgLight' align=\"right\"
404
- height='20'>Magnitude:</td><td class='bgLightLight'> </td></tr>\r\n\t<tr><td
405
- class='bgLight' align=\"right\" height='40' valign=\"top\">Information Source:</td><td
406
- class='bgLightLight' valign=\"top\">Uganda Red Cross</td></tr>\r\n\t<tr><td
407
- class='bgLight' align=\"right\" height='70' valign=\"top\">Comments:</td><td
408
- class='bgLightLight' valign=\"top\"> Mudslide caused by heavy rains left over
409
- 6,400 in need of urgent re-settlement, 5 injured and 3 bodies still trapped
410
- under debris. WFP is distributing food aid to 26 families with assistance of
411
- Red Cross.</td></tr>\r\n\t<tr><td class='bgLight' height=10></td><td class='bgLightLight'></td>
412
- </tr>\r\n\r\n\t<tr><td class='bgLight' colspan=2 align=\"center\">\r\n <a
413
- class=\"blueLinks\" href='search.jsp?nStart=0'><img border=0 src=\"/glide/images/done.gif\"></a>\r\n\t</td></tr>\r\n
414
- \ </table>\r\n </td>\r\n <td bgcolor=\"#f4f0e3\" valign=\"top\"><!-- The side
415
- element -->\r\n <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"200\">\r\n
416
- \ \t<tr>\r\n\t<td bgcolor=\"#ddd3ac\" width=\"200\">\r\n\t <span class=\"subtitleText\">Useful
417
- Links:</span></td>\r\n\t</tr>\r\n \t<tr>\r\n\t <td width=\"150\">\r\n\t <a
418
- class=\"blueLinks\" href='search.jsp?nStart=0'>Back to Search results</a><br>\r\n\t
419
- \ <a class=\"blueLinks\" href='search.jsp'>New Search</a><br>\r\n\t <a class=\"blueLinks\"
420
- href='/glide/public/result/stats.jsp'>Statistics</a><br>\r\n\t <a class=\"blueLinks\"
421
- href='/glide/public/result/chart.jsp'>Charts</a><br>\r\n\t <a class=\"blueLinks\"
422
- href='/glide/public/result/report.jsp'>Tabular reports</a><br>\r\n\t\t \r\n\t\t
423
- \ \r\n\t <br>\r\n\t </td>\r\n\t</tr> \r\n \r\n\t\t\r\n\r\n\r\n <tr>\r\n\t<td
424
- bgcolor=\"#ddd3ac\" width=\"200\">\r\n\t <span class=\"subtitleText\">Related
425
- Records:</span></td>\r\n\t</tr>\r\n\t<tr>\r\n <td class='basefontSmall'>\r\n\r\n\t\t\r\n\t
426
- \ </td>\r\n\t</tr>\r\n\r\n\r\n </table>\r\n </td>\r\n</tr>\r\n</table>\r\n</form>\r\n</BODY>\r\n</html>\r\n"
427
- http_version: '1.1'
733
+ body: |
734
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
735
+
736
+ <html>
737
+ <head>
738
+ <title>GLIDE Record</title>
739
+ </head>
740
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+ <link rel=stylesheet type="text/css" href="/glide/style.css">
756
+ <body topmargin="0" leftmargin="0">
757
+ <table cellpadding="0" cellspacing="0" border="0" width="850"><tr><td width="100%" bgcolor="D9DDE2"><img src="/glide/images/menu.gif" width="750" height="55" border="0" alt="GLIDEnumber net" usemap="#menumap">
758
+ <map name="menumap">
759
+ <area alt="" coords="312,33,360,13" href="/glide">
760
+ <area alt="" coords="375,13,462,32" href="/glide/public/preferences/preferences.jsp">
761
+ <area alt="" coords="472,13,534,32" href="/glide/public/user/login.jsp">
762
+ <area alt="" coords="539,32,607,13" href="/glide/public/user/register.jsp">
763
+ <area alt="" coords="609,13,662,31" href="javascript:openHelp('welcome')" shape="RECT">
764
+ <area alt="" coords="665,32,741,11" href="/glide/public/contact.jsp">
765
+ </map></td></tr><tr><td height="3"></td></tr></table>
766
+ <script language="JavaScript">
767
+ <!--
768
+ function openHelp(page)
769
+ {
770
+ page="/glide/help/"+page+".jsp";
771
+ document.helpwindow=window.open(page,'window','width=630,height=500,left=10,screenX=10,top=50,screenY=50,scrollbars=no,resizable=no');
772
+ document.helpwindow.focus();
773
+ }
774
+ // -->
775
+ </script>
776
+
777
+
778
+
779
+
780
+ <table cellspacing="0" cellpadding="2" border="0" width="850">
781
+ <form name="glide" action="details.jsp" method="post">
782
+ <tr>
783
+ <td class='bgDark' height="25"><span class="titleText">GLIDE Record</span></td>
784
+ <td class='bgDark' height="25" align="right">
785
+
786
+ <a href="details.jsp?record=1&last=1"><img src="/glide/images/arrow-first.gif" width="14" height="15" border="0" alt="First record"></a>
787
+ <a href="details.jsp?record=1&last=1"><img src="/glide/images/arrow-back.gif" width="14" height="15" border="0" alt="First record"></a>
788
+ <span class='basefontSmallWhite'>(1 of 1)</span>
789
+ <a href="details.jsp?record=1&last=1"><img src="/glide/images/arrow-forward.gif" width="14" height="15" border="0" alt="First record"></a>
790
+ <a href="details.jsp?record=1&last=1"><img src="/glide/images/arrow-last.gif" width="14" height="15" border="0" alt="First record"></a>
791
+
792
+ </td>
793
+ </tr>
794
+ <tr><td colspan="2" height="5"></td></tr>
795
+ <tr>
796
+ <td width=650 valign="top"><!-- The whole search screen -->
797
+ <INPUT type='hidden' size='15' maxlength='21' name='docid' VALUE="19526">
798
+ <table border="0" cellpadding="3" cellspacing="0" class="basefontSmall" width='645'>
799
+
800
+
801
+ <tr><td class='bgLight' align="right" width="200" height='20'>Event:</td><td class='bgLightLight' width="450"> <strong>MS Mud Slide</strong></td></tr>
802
+ <tr><td class='bgLight' align="right" height='20'>Number:</td><td class='bgLightLight'> <strong> 2011-000110</strong></td></tr>
803
+ <tr><td class='bgLight' align="right" height='20'>Country:</td><td class='bgLightLight'> <strong>UGA Uganda</strong></td></tr>
804
+ <tr><td class='bgLight' align="right" height='20' valign="top">Location:</td><td class='bgLightLight' valign="top"> </td></tr>
805
+ <tr><td class='bgLight' align="right" height='20'>Date (Y-M-D):</td><td class='bgLightLight'> 2011-8-12</td></tr>
806
+ <tr><td class='bgLight' align="right" height='20'>Time:</td><td class='bgLightLight'> </td></tr>
807
+ <tr><td class='bgLight' align="right" height='20'>Duration:</td><td class='bgLightLight'> </td></tr>
808
+ <tr><td class='bgLight' align="right" height='20'>Magnitude:</td><td class='bgLightLight'> </td></tr>
809
+ <tr><td class='bgLight' align="right" height='40' valign="top">Information Source:</td><td class='bgLightLight' valign="top">Uganda Red Cross</td></tr>
810
+ <tr><td class='bgLight' align="right" height='70' valign="top">Comments:</td><td class='bgLightLight' valign="top"> Mudslide caused by heavy rains left over 6,400 in need of urgent re-settlement, 5 injured and 3 bodies still trapped under debris. WFP is distributing food aid to 26 families with assistance of Red Cross.</td></tr>
811
+ <tr><td class='bgLight' height=10></td><td class='bgLightLight'></td> </tr>
812
+
813
+ <tr><td class='bgLight' colspan=2 align="center">
814
+ <a class="blueLinks" href='search.jsp?nStart=0'><img border=0 src="/glide/images/done.gif"></a>
815
+ </td></tr>
816
+ </table>
817
+ </td>
818
+ <td bgcolor="#f4f0e3" valign="top"><!-- The side element -->
819
+ <table border="0" cellpadding="2" cellspacing="0" width="200">
820
+ <tr>
821
+ <td bgcolor="#ddd3ac" width="200">
822
+ <span class="subtitleText">Useful Links:</span></td>
823
+ </tr>
824
+ <tr>
825
+ <td width="150">
826
+ <a class="blueLinks" href='search.jsp?nStart=0'>Back to Search results</a><br>
827
+ <a class="blueLinks" href='search.jsp'>New Search</a><br>
828
+ <a class="blueLinks" href='/glide/public/result/stats.jsp'>Statistics</a><br>
829
+ <a class="blueLinks" href='/glide/public/result/chart.jsp'>Charts</a><br>
830
+ <a class="blueLinks" href='/glide/public/result/report.jsp'>Tabular reports</a><br>
831
+
832
+
833
+ <br>
834
+ </td>
835
+ </tr>
836
+
837
+ <tr><td bgcolor="#ddd3ac" width="200"><span class="subtitleText">More about this GLIDE:</span></td></tr>
838
+ <tr><td class='basefontSmall'><strong>The following sites contain information
839
+ about this event:</strong><br><br>
840
+
841
+ <A target="extern" class=bluelinks href="http://www.reliefweb.int/rw/dbc.nsf/doc108?OpenForm&emid=MS-2011-000110-UGA">OCHA/ReliefWeb</a><br>
842
+ <br>
843
+ </td>
844
+ </tr>
845
+
846
+
847
+
848
+
849
+ <tr>
850
+ <td bgcolor="#ddd3ac" width="200">
851
+ <span class="subtitleText">Related Records:</span></td>
852
+ </tr>
853
+ <tr>
854
+ <td class='basefontSmall'>
855
+
856
+
857
+ </td>
858
+ </tr>
859
+
860
+
861
+ </table>
862
+ </td>
863
+ </tr>
864
+ </table>
865
+ </form>
866
+ </BODY>
867
+ </html>
868
+
869
+ http_version: "1.1"