reliefweb_scraper 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +4 -0
- data/.rspec +4 -0
- data/Gemfile +10 -0
- data/README.md +25 -0
- data/Rakefile +21 -0
- data/lib/glidenumber.rb +51 -0
- data/lib/reliefweb.rb +39 -0
- data/reliefweb_scraper.gemspec +27 -0
- data/spec/fixtures/vcr_cassettes/glidenumber.yml +427 -0
- data/spec/fixtures/vcr_cassettes/reliefweb.yml +785 -0
- data/spec/lib/glidenumber_spec.rb +19 -0
- data/spec/lib/reliefweb_spec.rb +29 -0
- data/spec/spec_helper.rb +19 -0
- metadata +126 -0
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
Reliefweb Scraper
|
2
|
+
=================
|
3
|
+
|
4
|
+
* Scrapes featured disasters from http://reliefweb.int/countries.
|
5
|
+
* Retrieves extra information by searching http://glidenumber.net
|
6
|
+
|
7
|
+
Objects such as Reliefweb::Disaster and Glidenumber::Record are subclasses of Hashie::Mash,
|
8
|
+
so you can work with them in the following ways:
|
9
|
+
|
10
|
+
disaster = Reliefweb.featured_disasters.first
|
11
|
+
puts disaster["title"]
|
12
|
+
puts disaster.title
|
13
|
+
|
14
|
+
|
15
|
+
Examples
|
16
|
+
--------
|
17
|
+
|
18
|
+
* Return an array of featured disasters
|
19
|
+
|
20
|
+
Reliefweb.featured_disasters(:verbose => true)
|
21
|
+
|
22
|
+
* Fetch disaster information from http://glidenumber.net
|
23
|
+
|
24
|
+
Glidenumber.find("OT-2011-000110-UGA")
|
25
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'bundler'
|
3
|
+
require "rspec/core/rake_task"
|
4
|
+
|
5
|
+
Bundler::GemHelper.install_tasks
|
6
|
+
|
7
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
8
|
+
t.verbose = false
|
9
|
+
t.rspec_opts = %w[--format progress]
|
10
|
+
end
|
11
|
+
|
12
|
+
|
13
|
+
namespace :featured_disasters do
|
14
|
+
desc "Fetch and print a list of featured disasters from Reliefweb"
|
15
|
+
task :fetch do
|
16
|
+
require 'reliefweb'
|
17
|
+
require 'awesome_print'
|
18
|
+
ap Reliefweb.featured_disasters(:verbose => true)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
data/lib/glidenumber.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'date'
|
2
|
+
require 'hashie'
|
3
|
+
require 'mechanize'
|
4
|
+
|
5
|
+
module Glidenumber
|
6
|
+
class SearchError < StandardError; end
|
7
|
+
class ParseError < StandardError; end
|
8
|
+
|
9
|
+
class Record < Hashie::Mash; end
|
10
|
+
|
11
|
+
def self.find(glidenumber)
|
12
|
+
unless query = glidenumber.upcase[/([0-9]{4}-[0-9]{6}-[A-Z]{3})/,1]
|
13
|
+
raise ArgumentError.new("Glidenumber is invalid. Should contain: 1234-123456-ABC")
|
14
|
+
end
|
15
|
+
agent = Mechanize.new
|
16
|
+
agent.post("http://glidenumber.net/glide/public/search/search.jsp",
|
17
|
+
{'X_Resolution' => "1280",
|
18
|
+
'events' => "*",
|
19
|
+
'ftoption' => "&",
|
20
|
+
'go.x' => "0",
|
21
|
+
'go.y' => "0",
|
22
|
+
'keywords' => query,
|
23
|
+
'level0' => "*",
|
24
|
+
'level1' => "*",
|
25
|
+
'maxhits' => "10",
|
26
|
+
'nStart' => "0",
|
27
|
+
'posted' => "0",
|
28
|
+
'process' => "0",
|
29
|
+
'sortby' => "0"}
|
30
|
+
)
|
31
|
+
links = agent.page.parser.css("table tr td.bgLightLight table tr td table tr.bgLightLight[2] a")
|
32
|
+
if links.size != 1
|
33
|
+
if links.empty?
|
34
|
+
raise SearchError.new("Did not find any records matching: #{query}")
|
35
|
+
else
|
36
|
+
raise SearchError.new("Found too many records matching: #{query}")
|
37
|
+
end
|
38
|
+
end
|
39
|
+
link = links.first
|
40
|
+
glidenumber = link.text.strip
|
41
|
+
agent.get(link.attributes["href"].to_s)
|
42
|
+
|
43
|
+
country = agent.page.parser.css("table tr td table.basefontSmall tr[3] td.bgLightLight strong").text.strip.split.last
|
44
|
+
raise ParseError.new("Could not find country on Glidenumber page!") if country == ""
|
45
|
+
date = agent.page.parser.css("table tr td table.basefontSmall tr[5] td.bgLightLight[2]").text.strip
|
46
|
+
date = Date.strptime(date, '%Y-%m-%d')
|
47
|
+
|
48
|
+
Record.new({:country => country, :date => date, :glidenumber => glidenumber})
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
data/lib/reliefweb.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'date'
|
2
|
+
require 'hashie'
|
3
|
+
require 'mechanize'
|
4
|
+
require File.join(File.dirname(__FILE__), 'glidenumber')
|
5
|
+
|
6
|
+
module Reliefweb
|
7
|
+
class ParseError < StandardError; end
|
8
|
+
|
9
|
+
def self.agent
|
10
|
+
@agent ||= Mechanize.new
|
11
|
+
end
|
12
|
+
|
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?
|
21
|
+
links.map do |link|
|
22
|
+
title = link.text.sub(/-[^-]*$/, '').strip
|
23
|
+
href = link.attributes["href"].to_s
|
24
|
+
puts "== Fetching glide number from #{href} (#{title})..." if options[:verbose]
|
25
|
+
reliefweb_glide = fetch_glidenumber(href)
|
26
|
+
puts "== Fetching glide details for #{reliefweb_glide}..." if options[:verbose]
|
27
|
+
record = Glidenumber.find(reliefweb_glide)
|
28
|
+
Disaster.new({:title => title}.merge(record.to_hash))
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.fetch_glidenumber(link)
|
33
|
+
agent.get(link)
|
34
|
+
agent.page.parser.css("div#page div.view div.view-content div.field-name-field-glide").text.strip
|
35
|
+
end
|
36
|
+
|
37
|
+
class Disaster < Hashie::Mash; end
|
38
|
+
end
|
39
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "reliefweb_scraper"
|
6
|
+
s.version = "0.1.0"
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Nathan Broadbent", "Stanley Lau"]
|
9
|
+
s.email = ["it_dept@crossroads.org.hk"]
|
10
|
+
s.homepage = "http://www.crossroads.org.hk"
|
11
|
+
s.summary = %q{Scrape Reliefweb featured disasters}
|
12
|
+
s.description = %q{Scrapes reliefweb's featured disasters, and pulls additional information from glidenumber.net}
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
|
19
|
+
s.add_dependency('mechanize', ">= 2.0.1")
|
20
|
+
s.add_dependency('hashie', ">= 1.1.0")
|
21
|
+
|
22
|
+
s.add_development_dependency("rspec", "~> 2.5.0")
|
23
|
+
s.add_development_dependency("vcr", "~> 1.11.1")
|
24
|
+
s.add_development_dependency("webmock", "~> 1.7.0")
|
25
|
+
s.add_development_dependency("awesome_print", "~> 0.4.0")
|
26
|
+
end
|
27
|
+
|
@@ -0,0 +1,427 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
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:
|
15
|
+
- 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:
|
23
|
+
- keep-alive
|
24
|
+
keep-alive:
|
25
|
+
- 300
|
26
|
+
response: !ruby/struct:VCR::Response
|
27
|
+
status: !ruby/struct:VCR::ResponseStatus
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
date:
|
32
|
+
- Tue, 23 Aug 2011 09:05:22 GMT
|
33
|
+
server:
|
34
|
+
- Apache
|
35
|
+
set-cookie:
|
36
|
+
- JSESSIONID=BAE76F5B35F43B784B7D8674CF586E1A; Path=/glide
|
37
|
+
keep-alive:
|
38
|
+
- timeout=15, max=100
|
39
|
+
transfer-encoding:
|
40
|
+
- 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\"> <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 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> <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. </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
|
314
|
+
method: :get
|
315
|
+
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:
|
325
|
+
- 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
|
335
|
+
host: glidenumber.net
|
336
|
+
port: 80
|
337
|
+
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:
|
346
|
+
- 300
|
347
|
+
response: !ruby/struct:VCR::Response
|
348
|
+
status: !ruby/struct:VCR::ResponseStatus
|
349
|
+
code: 200
|
350
|
+
message: OK
|
351
|
+
headers:
|
352
|
+
date:
|
353
|
+
- Tue, 23 Aug 2011 09:05:24 GMT
|
354
|
+
server:
|
355
|
+
- Apache
|
356
|
+
content-length:
|
357
|
+
- '5233'
|
358
|
+
keep-alive:
|
359
|
+
- 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'
|