tdiary 4.0.2.20140201 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/ChangeLog +3 -0
- data/Gemfile +5 -5
- data/Gemfile.lock +48 -29
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/index.rb +2 -2
- data/js/01conf.js +16 -0
- data/misc/convert2.rb +3 -3
- data/misc/filter/limitdays.rb +2 -2
- data/misc/filter/linkcheck.rb +2 -2
- data/misc/lib/fcgi_patch.rb +3 -3
- data/misc/paas/cloudfoundry/Gemfile.lock +51 -48
- data/misc/paas/heroku/Gemfile.lock +23 -21
- data/misc/paas/sqale/Gemfile.lock +23 -21
- data/misc/plugin/a.rb +4 -4
- data/misc/plugin/calendar2.rb +1 -1
- data/misc/plugin/category.rb +3 -3
- data/misc/plugin/comment_emoji_autocomplete.rb +1 -1
- data/misc/plugin/comment_mail-qmail.rb +1 -1
- data/misc/plugin/comment_mail-sendmail.rb +1 -1
- data/misc/plugin/comment_mail-smtp.rb +1 -1
- data/misc/plugin/counter.rb +27 -27
- data/misc/plugin/disp_referrer.rb +1 -1
- data/misc/plugin/en/amazon.rb +2 -2
- data/misc/plugin/en/category.rb +1 -1
- data/misc/plugin/en/counter.rb +1 -1
- data/misc/plugin/en/disp_referrer.rb +1 -1
- data/misc/plugin/en/kw.rb +1 -1
- data/misc/plugin/en/search_form.rb +1 -1
- data/misc/plugin/en/todo.rb +1 -1
- data/misc/plugin/en/weather.rb +5 -2
- data/misc/plugin/image.rb +2 -2
- data/misc/plugin/ja/disp_referrer.rb +7 -7
- data/misc/plugin/ja/my-sequel.rb +1 -1
- data/misc/plugin/ja/recent_comment3.rb +1 -1
- data/misc/plugin/ja/referer_scheme.rb +1 -1
- data/misc/plugin/ja/search_control.rb +1 -1
- data/misc/plugin/ja/search_form.rb +2 -2
- data/misc/plugin/ja/todo.rb +1 -1
- data/misc/plugin/ja/weather.rb +17 -12
- data/misc/plugin/makelirs.rb +4 -4
- data/misc/plugin/my-ex.rb +1 -1
- data/misc/plugin/my-sequel.rb +1 -1
- data/misc/plugin/pb-show.rb +1 -1
- data/misc/plugin/recent_comment.rb +5 -5
- data/misc/plugin/recent_comment3.rb +2 -2
- data/misc/plugin/recent_namazu.rb +4 -4
- data/misc/plugin/recent_rss.rb +7 -7
- data/misc/plugin/referer_scheme.rb +2 -2
- data/misc/plugin/search-default.rb +1 -1
- data/misc/plugin/sn.rb +3 -3
- data/misc/plugin/speed_comment.rb +1 -1
- data/misc/plugin/squeeze.rb +8 -8
- data/misc/plugin/tb-show.rb +1 -1
- data/misc/plugin/theme_online.rb +25 -0
- data/misc/plugin/tlink.rb +2 -2
- data/misc/plugin/todo.rb +2 -2
- data/misc/plugin/weather.rb +82 -26
- data/misc/plugin/whatsnew.rb +1 -1
- data/misc/plugin/xmlrpc/xmlrpc.rb +11 -11
- data/misc/theme_convert/theme_convert.rb +3 -3
- data/plugin/00default.rb +35 -28
- data/plugin/50sp.rb +1 -1
- data/plugin/60sf.rb +1 -1
- data/plugin/90migrate.rb +2 -2
- data/plugin/en/00default.rb +1 -1
- data/plugin/ja/00default.rb +1 -1
- data/spec/acceptance/append_comment_spec.rb +18 -18
- data/spec/acceptance/append_diary_spec.rb +22 -22
- data/spec/acceptance/bugfix/encoding_error_spec.rb +1 -1
- data/spec/acceptance/save_conf_comment_spec.rb +15 -15
- data/spec/acceptance/save_conf_default_spec.rb +26 -26
- data/spec/acceptance/save_conf_dnsbl_spec.rb +19 -19
- data/spec/acceptance/save_conf_filter_spec.rb +6 -6
- data/spec/acceptance/save_conf_plugin_spec.rb +11 -11
- data/spec/acceptance/save_conf_referer_spec.rb +4 -4
- data/spec/acceptance/save_conf_security_spec.rb +28 -28
- data/spec/acceptance/update_diary_spec.rb +16 -16
- data/spec/acceptance/view_category_spec.rb +1 -1
- data/spec/acceptance/view_comment_spec.rb +6 -6
- data/spec/acceptance/view_diary_spec.rb +25 -25
- data/spec/acceptance/view_referer_spec.rb +3 -3
- data/spec/core/compatible_spec.rb +5 -5
- data/spec/core/configuration_spec.rb +3 -3
- data/spec/core/core_ext_spec.rb +7 -7
- data/spec/core/io/default_spec.rb +1 -1
- data/spec/core/plugin_spec.rb +41 -41
- data/spec/core/rack/assets/precompile_spec.rb +3 -3
- data/spec/core/rack/html_anchor_spec.rb +15 -15
- data/spec/core/rack/static_spec.rb +3 -3
- data/spec/core/rack/valid_request_path_spec.rb +13 -13
- data/spec/core/style/tdiary_style_spec.rb +10 -10
- data/spec/core/style/wiki_style_spec.rb +16 -16
- data/spec/plugin/bq_spec.rb +2 -2
- data/spec/spec_helper.rb +3 -1
- data/tdiary/configuration.rb +2 -2
- data/tdiary/environment.rb +1 -1
- data/tdiary/io/default.rb +1 -1
- data/tdiary/lang/ja.rb +2 -2
- data/tdiary/tasks/db.rake +5 -5
- data/tdiary/version.rb +1 -1
- data/test/disp_referrer_test.rb +4 -4
- data/test/my-sequel_test.rb +1 -1
- data/test/test_plugin_helper.rb +47 -0
- data/test/weather-ADDS-METARS-PHTO-140131.html +109 -0
- data/test/weather-ADDS-METARS-RJAA-130131.html +111 -0
- data/test/weather-ADDS-METARS-RJAA-130227.html +111 -0
- data/test/weather_test.rb +144 -18
- data/update.rb +2 -2
- metadata +10 -3
@@ -42,7 +42,7 @@ honbun
|
|
42
42
|
</div>
|
43
43
|
EOF
|
44
44
|
end
|
45
|
-
it { @diary.to_html.
|
45
|
+
it { expect(@diary.to_html).to eq @html }
|
46
46
|
end
|
47
47
|
|
48
48
|
context 'CHTML' do
|
@@ -56,11 +56,11 @@ honbun
|
|
56
56
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
57
57
|
EOF
|
58
58
|
end
|
59
|
-
it { @diary.to_html({}, :CHTML).
|
59
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
60
60
|
end
|
61
61
|
|
62
62
|
context 'to_src' do
|
63
|
-
it { @diary.to_src.
|
63
|
+
it { expect(@diary.to_src).to eq @source }
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
@@ -97,7 +97,7 @@ replace
|
|
97
97
|
</div>
|
98
98
|
EOF
|
99
99
|
end
|
100
|
-
it { @diary.to_html.
|
100
|
+
it { expect(@diary.to_html).to eq @html }
|
101
101
|
end
|
102
102
|
|
103
103
|
describe '#add_section' do
|
@@ -131,7 +131,7 @@ honbun
|
|
131
131
|
</div>
|
132
132
|
EOF
|
133
133
|
end
|
134
|
-
it { @diary.to_html.
|
134
|
+
it { expect(@diary.to_html).to eq @html }
|
135
135
|
end
|
136
136
|
|
137
137
|
describe '#delete_section' do
|
@@ -157,7 +157,7 @@ honbun
|
|
157
157
|
</div>
|
158
158
|
EOF
|
159
159
|
end
|
160
|
-
it { @diary.to_html.
|
160
|
+
it { expect(@diary.to_html).to eq @html }
|
161
161
|
end
|
162
162
|
|
163
163
|
describe 'test_wiki_style2' do
|
@@ -185,7 +185,7 @@ honbun
|
|
185
185
|
</div>
|
186
186
|
EOF
|
187
187
|
end
|
188
|
-
it { @diary.to_html.
|
188
|
+
it { expect(@diary.to_html).to eq @html }
|
189
189
|
end
|
190
190
|
|
191
191
|
context 'CHTML' do
|
@@ -198,7 +198,7 @@ honbun
|
|
198
198
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
199
199
|
EOF
|
200
200
|
end
|
201
|
-
it { @diary.to_html({}, :CHTML).
|
201
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
@@ -237,7 +237,7 @@ honbun
|
|
237
237
|
</div>
|
238
238
|
EOF
|
239
239
|
end
|
240
|
-
it { @diary.to_html.
|
240
|
+
it { expect(@diary.to_html).to eq @html }
|
241
241
|
end
|
242
242
|
|
243
243
|
context 'CHTML' do
|
@@ -254,7 +254,7 @@ honbun
|
|
254
254
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
255
255
|
EOF
|
256
256
|
end
|
257
|
-
it { @diary.to_html({}, :CHTML).
|
257
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
258
258
|
end
|
259
259
|
end
|
260
260
|
|
@@ -300,7 +300,7 @@ ge
|
|
300
300
|
</div>
|
301
301
|
EOF
|
302
302
|
end
|
303
|
-
it { @diary.to_html.
|
303
|
+
it { expect(@diary.to_html).to eq @html }
|
304
304
|
end
|
305
305
|
|
306
306
|
context 'CHTML' do
|
@@ -324,7 +324,7 @@ ge
|
|
324
324
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
325
325
|
EOF
|
326
326
|
end
|
327
|
-
it { @diary.to_html({}, :CHTML).
|
327
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
328
328
|
end
|
329
329
|
end
|
330
330
|
|
@@ -372,7 +372,7 @@ http://ja.wikipedia.org/wiki/%E9%AF%96
|
|
372
372
|
</div>
|
373
373
|
EOF
|
374
374
|
end
|
375
|
-
it { @diary.to_html.
|
375
|
+
it { expect(@diary.to_html).to eq @html }
|
376
376
|
end
|
377
377
|
|
378
378
|
context 'CHTML' do
|
@@ -392,7 +392,7 @@ http://ja.wikipedia.org/wiki/%E9%AF%96
|
|
392
392
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
393
393
|
EOF
|
394
394
|
end
|
395
|
-
it { @diary.to_html({}, :CHTML).
|
395
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
396
396
|
end
|
397
397
|
end
|
398
398
|
|
@@ -422,7 +422,7 @@ appended body
|
|
422
422
|
</div>
|
423
423
|
EOF
|
424
424
|
end
|
425
|
-
it { @diary.to_html.
|
425
|
+
it { expect(@diary.to_html).to eq @html }
|
426
426
|
end
|
427
427
|
|
428
428
|
context 'CHTML' do
|
@@ -435,7 +435,7 @@ appended body
|
|
435
435
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
436
436
|
EOF
|
437
437
|
end
|
438
|
-
it { @diary.to_html({}, :CHTML).
|
438
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
439
439
|
end
|
440
440
|
end
|
441
441
|
end
|
data/spec/plugin/bq_spec.rb
CHANGED
@@ -14,8 +14,8 @@ describe "bq plugin w/" do
|
|
14
14
|
@body_snippet = plugin.bq('foo')
|
15
15
|
end
|
16
16
|
|
17
|
-
it { @body_snippet.
|
18
|
-
:src => 'foo') }
|
17
|
+
it { expect(@body_snippet).to eq(expected_html_body(
|
18
|
+
:src => 'foo')) }
|
19
19
|
end
|
20
20
|
|
21
21
|
def expected_html_body(options)
|
data/spec/spec_helper.rb
CHANGED
data/tdiary/configuration.rb
CHANGED
@@ -71,10 +71,10 @@ module TDiary
|
|
71
71
|
str.force_encoding(charset || 'utf-8')
|
72
72
|
end
|
73
73
|
unless str.valid_encoding?
|
74
|
-
str.encode!('utf-16be', {:
|
74
|
+
str.encode!('utf-16be', {invalid: :replace, undef: :replace})
|
75
75
|
end
|
76
76
|
unless str.encoding == Encoding::UTF_8
|
77
|
-
str.encode!('utf-8', {:
|
77
|
+
str.encode!('utf-8', {invalid: :replace, undef: :replace})
|
78
78
|
end
|
79
79
|
str
|
80
80
|
end
|
data/tdiary/environment.rb
CHANGED
@@ -7,7 +7,7 @@ module TDiary::Cache; end
|
|
7
7
|
# Set up gems listed in the Gemfile.
|
8
8
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
9
9
|
|
10
|
-
require 'bundler/setup' if File.
|
10
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
11
11
|
|
12
12
|
if defined?(Bundler)
|
13
13
|
env = [:default]
|
data/tdiary/io/default.rb
CHANGED
data/tdiary/lang/ja.rb
CHANGED
@@ -23,11 +23,11 @@ def mobile_encoding
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def to_mobile( str )
|
26
|
-
str.encode(mobile_encoding, {:
|
26
|
+
str.encode(mobile_encoding, {invalid: :replace, undef: :replace})
|
27
27
|
end
|
28
28
|
|
29
29
|
def to_mail( str )
|
30
|
-
str.encode('iso-2022-jp', {:
|
30
|
+
str.encode('iso-2022-jp', {invalid: :replace, undef: :replace})
|
31
31
|
end
|
32
32
|
|
33
33
|
def migrate_to_utf8( str )
|
data/tdiary/tasks/db.rake
CHANGED
@@ -47,9 +47,9 @@ namespace :db do
|
|
47
47
|
primary_key [:diary_id, :no]
|
48
48
|
end unless db.table_exists?(:comments)
|
49
49
|
|
50
|
-
diaries.each do |
|
50
|
+
diaries.each do |d, diary|
|
51
51
|
no = 0
|
52
|
-
if /(\d\d\d\d)(\d\d)(\d\d)/ =~
|
52
|
+
if /(\d\d\d\d)(\d\d)(\d\d)/ =~ d
|
53
53
|
year = $1
|
54
54
|
month = $2
|
55
55
|
day = $3
|
@@ -57,7 +57,7 @@ namespace :db do
|
|
57
57
|
entry = db[:diaries].filter(:year => year,
|
58
58
|
:month => month,
|
59
59
|
:day => day,
|
60
|
-
:diary_id =>
|
60
|
+
:diary_id => d)
|
61
61
|
if entry.count > 0
|
62
62
|
entry.update(:title => diary.title,
|
63
63
|
:last_modified => diary.last_modified.to_i,
|
@@ -68,7 +68,7 @@ namespace :db do
|
|
68
68
|
db[:diaries].insert(:year => year,
|
69
69
|
:month => month,
|
70
70
|
:day => day,
|
71
|
-
:diary_id =>
|
71
|
+
:diary_id => d,
|
72
72
|
:title => diary.title,
|
73
73
|
:last_modified => diary.last_modified.to_i,
|
74
74
|
:style => diary.style,
|
@@ -78,7 +78,7 @@ namespace :db do
|
|
78
78
|
|
79
79
|
diary.each_comment(diary.count_comments(true)) do |com|
|
80
80
|
no += 1
|
81
|
-
comment = db[:comments].filter(:diary_id =>
|
81
|
+
comment = db[:comments].filter(:diary_id => d, :no => no)
|
82
82
|
if comment.count > 0
|
83
83
|
comment.update(:name => com.name, :mail => com.mail, :last_modified => com.date.to_i, :visible => com.visible?, :comment => com.body)
|
84
84
|
else
|
data/tdiary/version.rb
CHANGED
data/test/disp_referrer_test.rb
CHANGED
@@ -16,15 +16,15 @@ require 'uri'
|
|
16
16
|
# top level. Therefore, we will spit required objects defined
|
17
17
|
# in tdiary.rb to the top level.
|
18
18
|
|
19
|
-
#
|
20
|
-
class
|
19
|
+
# Stub for @conf
|
20
|
+
class DispReferrerStubConf
|
21
21
|
def secure; false; end
|
22
22
|
def options; {}; end
|
23
23
|
def referer_table; []; end
|
24
24
|
def no_referer; []; end
|
25
25
|
def io_class; nil; end
|
26
26
|
end
|
27
|
-
@conf =
|
27
|
+
@conf = DispReferrerStubConf.new
|
28
28
|
|
29
29
|
# Required module and class structures
|
30
30
|
module TDiary
|
@@ -45,7 +45,7 @@ require 'disp_referrer'
|
|
45
45
|
|
46
46
|
class TestSearchEngines < Test::Unit::TestCase
|
47
47
|
def setup
|
48
|
-
@dr2_setup = DispRef2Setup.new(
|
48
|
+
@dr2_setup = DispRef2Setup.new(DispReferrerStubConf.new, nil, true, [], '')
|
49
49
|
end
|
50
50
|
|
51
51
|
def match(url, keyword, provider = nil)
|
data/test/my-sequel_test.rb
CHANGED
@@ -164,7 +164,7 @@ class TestMySequelConf < Test::Unit::TestCase
|
|
164
164
|
:title => 'Test to show text area',
|
165
165
|
:default => "a\nb\ncc",
|
166
166
|
:index => 4,
|
167
|
-
:textarea => {:
|
167
|
+
:textarea => {rows: 2},
|
168
168
|
}
|
169
169
|
}
|
170
170
|
@my_sequel_conf = MySequel::Conf.new(@defaults)
|
data/test/test_plugin_helper.rb
CHANGED
@@ -105,4 +105,51 @@ module TDiary
|
|
105
105
|
@conf = TDiary::ConfStub.new
|
106
106
|
end
|
107
107
|
end
|
108
|
+
|
109
|
+
class StubPlugin
|
110
|
+
def self.inherited(child)
|
111
|
+
super
|
112
|
+
child.module_eval(<<-EOS)
|
113
|
+
def context
|
114
|
+
binding
|
115
|
+
end
|
116
|
+
EOS
|
117
|
+
end
|
118
|
+
|
119
|
+
include TDiary::PluginTestStub
|
120
|
+
|
121
|
+
def StubPlugin::_load_plugin(plugin_relative_path, lang = 'en')
|
122
|
+
plugin_class = Class.new(StubPlugin)
|
123
|
+
plugin = plugin_class.new(lang)
|
124
|
+
plugin.load(plugin_relative_path)
|
125
|
+
return plugin_class, plugin
|
126
|
+
end
|
127
|
+
|
128
|
+
def StubPlugin::load_plugin(plugin_relative_path, lang = 'en')
|
129
|
+
return StubPlugin::_load_plugin(plugin_relative_path, lang = 'en')[1]
|
130
|
+
end
|
131
|
+
|
132
|
+
def StubPlugin::new_plugin(plugin_relative_path, lang = 'en')
|
133
|
+
return StubPlugin::_load_plugin(plugin_relative_path, lang = 'en')[0]
|
134
|
+
end
|
135
|
+
|
136
|
+
def initialize(lang = 'en')
|
137
|
+
@lang = lang
|
138
|
+
reset
|
139
|
+
end
|
140
|
+
|
141
|
+
def load(plugin_relative_path)
|
142
|
+
reset
|
143
|
+
ppath = TDiary::PluginTestHelper.absolute_path_of(plugin_relative_path)
|
144
|
+
pl10n = TDiary::PluginTestHelper.resource_absolute_path_of(plugin_relative_path, @lang)
|
145
|
+
File.open(pl10n){|f| eval(f.read, context, TDiary::PluginTestHelper.resource_relative_path_of(plugin_relative_path, @lang))}
|
146
|
+
File.open(ppath){|f| eval(f.read, context, plugin_relative_path)}
|
147
|
+
end
|
148
|
+
|
149
|
+
def reset
|
150
|
+
@options = {}
|
151
|
+
@conf_genre_label = {}
|
152
|
+
@conf = TDiary::ConfStub.new
|
153
|
+
end
|
154
|
+
end
|
108
155
|
end
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
<HTML>
|
3
|
+
<HEAD>
|
4
|
+
<TITLE>ADDS - METARS form results</TITLE>
|
5
|
+
<LINK REL="StyleSheet" type="text/css" HREF="/layout/awc/mystyle.css">
|
6
|
+
</HEAD>
|
7
|
+
<BODY BGCOLOR="#FFFFFF">
|
8
|
+
<TABLE SUMMARY="This table is used for formatting purposes only" BORDER=0 CELLPADDING=3 CELLSPACING=0>
|
9
|
+
<TR VALIGN="top">
|
10
|
+
<TD ALIGN="left" COLSPAN="2">
|
11
|
+
<H2>Aviation Digital Data Service (ADDS)</H2>
|
12
|
+
Output produced by METARs form (1550 UTC 31 January 2014)<BR>
|
13
|
+
found at <A HREF="http://www.aviationweather.gov/adds/metars/"> http://www.aviationweather.gov/adds/metars/</A><BR> <BR>
|
14
|
+
</TD>
|
15
|
+
</TR>
|
16
|
+
<TR VALIGN="top">
|
17
|
+
<TD ALIGN="left" COLSPAN="2">
|
18
|
+
<TR VALIGN="top">
|
19
|
+
<TD ALIGN="right">
|
20
|
+
<FONT COLOR="#9999CC"><STRONG>METAR text:</STRONG></FONT>
|
21
|
+
</TD>
|
22
|
+
<TD ALIGN="left" BGCOLOR="#CDCDCD">
|
23
|
+
<STRONG>PHTO 311453Z 00000KT 10SM FEW030 OVC110 18/17 A2989 RMK
|
24
|
+
AO2 SLP120 T01830167 56003</STRONG>
|
25
|
+
</TD>
|
26
|
+
</TR>
|
27
|
+
<TR VALIGN="top">
|
28
|
+
<TD ALIGN="right">
|
29
|
+
<FONT COLOR="#9999CC"><STRONG>Conditions at:</STRONG></FONT>
|
30
|
+
</TD>
|
31
|
+
<TD ALIGN="left">
|
32
|
+
PHTO
|
33
|
+
(HILO , HI, US) observed 1453 UTC 31 January 2014
|
34
|
+
</TD>
|
35
|
+
</TR>
|
36
|
+
<TR VALIGN="top">
|
37
|
+
<TD ALIGN="right">
|
38
|
+
<FONT COLOR="#9999CC"><STRONG>Temperature:</STRONG></FONT>
|
39
|
+
</TD>
|
40
|
+
<TD ALIGN="left">
|
41
|
+
18.3°C (65°F)
|
42
|
+
</TD>
|
43
|
+
</TR>
|
44
|
+
<TR VALIGN="top">
|
45
|
+
<TD ALIGN="right">
|
46
|
+
<FONT COLOR="#9999CC"><STRONG>Dewpoint:</STRONG></FONT>
|
47
|
+
</TD>
|
48
|
+
<TD ALIGN="left">
|
49
|
+
16.7°C (62°F) [RH = 90%]
|
50
|
+
</TD>
|
51
|
+
</TR>
|
52
|
+
<TR VALIGN="top">
|
53
|
+
<TD ALIGN="right">
|
54
|
+
<FONT COLOR="#9999CC"><STRONG>Pressure (altimeter):</STRONG></FONT>
|
55
|
+
</TD>
|
56
|
+
<TD ALIGN="left">
|
57
|
+
29.89 inches Hg (1012.3 mb)<BR>[Sea-level pressure: 1012.0 mb]
|
58
|
+
</TD>
|
59
|
+
</TR>
|
60
|
+
<TR VALIGN="top">
|
61
|
+
<TD ALIGN="right">
|
62
|
+
<FONT COLOR="#9999CC"><STRONG>Winds:</STRONG></FONT>
|
63
|
+
</TD>
|
64
|
+
<TD ALIGN="left">
|
65
|
+
calm
|
66
|
+
</TD>
|
67
|
+
</TR>
|
68
|
+
<TR VALIGN="top">
|
69
|
+
<TD ALIGN="right">
|
70
|
+
<FONT COLOR="#9999CC"><STRONG>Visibility:</STRONG></FONT>
|
71
|
+
</TD>
|
72
|
+
<TD ALIGN="left">
|
73
|
+
10 or more miles (16+ km)
|
74
|
+
</TD>
|
75
|
+
</TR>
|
76
|
+
<TR VALIGN="top">
|
77
|
+
<TD ALIGN="right">
|
78
|
+
<FONT COLOR="#9999CC"><STRONG>Ceiling:</STRONG></FONT>
|
79
|
+
</TD>
|
80
|
+
<TD ALIGN="left">
|
81
|
+
11000 feet AGL
|
82
|
+
</TD>
|
83
|
+
</TR>
|
84
|
+
<TR VALIGN="top">
|
85
|
+
<TD ALIGN="right">
|
86
|
+
<FONT COLOR="#9999CC"><STRONG>Clouds:</STRONG></FONT>
|
87
|
+
</TD>
|
88
|
+
<TD ALIGN="left">
|
89
|
+
few clouds at 3000 feet AGL<BR>overcast cloud deck at 11000 feet AGL
|
90
|
+
</TD>
|
91
|
+
</TR>
|
92
|
+
<TR VALIGN="top">
|
93
|
+
<TD ALIGN="right">
|
94
|
+
<FONT COLOR="#9999CC"><STRONG>Weather:</STRONG></FONT>
|
95
|
+
</TD>
|
96
|
+
<TD ALIGN="left">
|
97
|
+
no significant weather observed at this time
|
98
|
+
</TD>
|
99
|
+
</TR>
|
100
|
+
<TR VALIGN="middle">
|
101
|
+
<TD ALIGN="left" COLSPAN="2">
|
102
|
+
<HR WIDTH="65%">
|
103
|
+
</TD>
|
104
|
+
</TR>
|
105
|
+
</TD>
|
106
|
+
</TR>
|
107
|
+
</TABLE>
|
108
|
+
</BODY>
|
109
|
+
</HTML>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
<!-- http://aviationweather.gov/adds/metars/?station_ids=RJAA&std_trans=translated&chk_metars=on&hoursStr=most+recent+only&submitmet=Submit -->
|
3
|
+
<html><head>
|
4
|
+
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
5
|
+
<title>ADDS - METARS form results</title>
|
6
|
+
<link rel="StyleSheet" type="text/css" href="ADDS-METARS-RJAA-130131_files/mystyle.css">
|
7
|
+
</head>
|
8
|
+
<body bgcolor="#FFFFFF">
|
9
|
+
<table summary="This table is used for formatting purposes only" border="0" cellpadding="3" cellspacing="0">
|
10
|
+
<tbody><tr valign="top">
|
11
|
+
<td colspan="2" align="left">
|
12
|
+
<h2>Aviation Digital Data Service (ADDS)</h2>
|
13
|
+
Output produced by METARs form (1304 UTC 31 January 2013)<br>
|
14
|
+
found at <a href="http://aviationweather.gov/adds/metars/"> http://aviationweather.gov/adds/metars/</a><br> <br>
|
15
|
+
</td>
|
16
|
+
</tr>
|
17
|
+
<tr valign="top">
|
18
|
+
<td colspan="2" align="left">
|
19
|
+
</td></tr><tr valign="top">
|
20
|
+
<td align="right">
|
21
|
+
<font color="#9999CC"><strong>METAR text:</strong></font>
|
22
|
+
</td>
|
23
|
+
<td align="left" bgcolor="#CDCDCD">
|
24
|
+
<strong>RJAA 311230Z 24002KT 9999 FEW030 M02/M04 Q1034 NOSIG RMK
|
25
|
+
1CU030 A3055</strong>
|
26
|
+
</td>
|
27
|
+
</tr>
|
28
|
+
<tr valign="top">
|
29
|
+
<td align="right">
|
30
|
+
<font color="#9999CC"><strong>Conditions at:</strong></font>
|
31
|
+
</td>
|
32
|
+
<td align="left">
|
33
|
+
RJAA
|
34
|
+
(NEW TOKYO INTL A, JP) observed 1230 UTC 31 January 2013
|
35
|
+
</td>
|
36
|
+
</tr>
|
37
|
+
<tr valign="top">
|
38
|
+
<td align="right">
|
39
|
+
<font color="#9999CC"><strong>Temperature:</strong></font>
|
40
|
+
</td>
|
41
|
+
<td align="left">
|
42
|
+
-2.0�C (28�F)
|
43
|
+
</td>
|
44
|
+
</tr>
|
45
|
+
<tr valign="top">
|
46
|
+
<td align="right">
|
47
|
+
<font color="#9999CC"><strong>Dewpoint:</strong></font>
|
48
|
+
</td>
|
49
|
+
<td align="left">
|
50
|
+
-4.0�C (25�F) [RH = 86%]
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr valign="top">
|
54
|
+
<td align="right">
|
55
|
+
<font color="#9999CC"><strong>Pressure (altimeter):</strong></font>
|
56
|
+
</td>
|
57
|
+
<td align="left">
|
58
|
+
30.53 inches Hg (1034.0 mb)
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr valign="top">
|
62
|
+
<td align="right">
|
63
|
+
<font color="#9999CC"><strong>Winds:</strong></font>
|
64
|
+
</td>
|
65
|
+
<td align="left">
|
66
|
+
from the WSW (240 degrees) at 2 MPH (2 knots; 1.0 m/s)
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr valign="top">
|
70
|
+
<td align="right">
|
71
|
+
<font color="#9999CC"><strong>Visibility:</strong></font>
|
72
|
+
</td>
|
73
|
+
<td align="left">
|
74
|
+
6 or more miles (10+ km)
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr valign="top">
|
78
|
+
<td align="right">
|
79
|
+
<font color="#9999CC"><strong>Ceiling:</strong></font>
|
80
|
+
</td>
|
81
|
+
<td align="left">
|
82
|
+
at least 12,000 feet AGL
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr valign="top">
|
86
|
+
<td align="right">
|
87
|
+
<font color="#9999CC"><strong>Clouds:</strong></font>
|
88
|
+
</td>
|
89
|
+
<td align="left">
|
90
|
+
few clouds at 3000 feet AGL
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr valign="top">
|
94
|
+
<td align="right">
|
95
|
+
<font color="#9999CC"><strong>Weather:</strong></font>
|
96
|
+
</td>
|
97
|
+
<td align="left">
|
98
|
+
no significant weather observed at this time
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr valign="middle">
|
102
|
+
<td colspan="2" align="left">
|
103
|
+
<hr width="65%">
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
|
107
|
+
|
108
|
+
</tbody></table>
|
109
|
+
|
110
|
+
|
111
|
+
</body></html>
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
2
|
+
<html><head>
|
3
|
+
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
4
|
+
<title>ADDS - METARS form results</title>
|
5
|
+
<link rel="StyleSheet" type="text/css" href="weather-ADDS-METARS-RJAA-130227_files/mystyle.css">
|
6
|
+
</head>
|
7
|
+
<body bgcolor="#FFFFFF">
|
8
|
+
<table summary="This table is used for formatting purposes only" border="0" cellpadding="3" cellspacing="0">
|
9
|
+
<tbody><tr valign="top">
|
10
|
+
<td colspan="2" align="left">
|
11
|
+
<h2>Aviation Digital Data Service (ADDS)</h2>
|
12
|
+
Output produced by METARs form (0253 UTC 27 February 2013)<br>
|
13
|
+
found at <a href="http://aviationweather.gov/adds/metars/"> http://aviationweather.gov/adds/metars/</a><br> <br>
|
14
|
+
</td>
|
15
|
+
</tr>
|
16
|
+
<tr valign="top">
|
17
|
+
<td colspan="2" align="left">
|
18
|
+
</td></tr><tr valign="top">
|
19
|
+
<td align="right">
|
20
|
+
<font color="#9999CC"><strong>METAR text:</strong></font>
|
21
|
+
</td>
|
22
|
+
<td align="left" bgcolor="#CDCDCD">
|
23
|
+
<strong>RJAA 270230Z 34011KT 0900 R34L/P1800N R34R/1700U -RA FG
|
24
|
+
FEW001 BKN002 BKN003 05/04 Q1011 NOSIG RMK 1ST001 5ST002
|
25
|
+
7ST003 A2987</strong>
|
26
|
+
</td>
|
27
|
+
</tr>
|
28
|
+
<tr valign="top">
|
29
|
+
<td align="right">
|
30
|
+
<font color="#9999CC"><strong>Conditions at:</strong></font>
|
31
|
+
</td>
|
32
|
+
<td align="left">
|
33
|
+
RJAA
|
34
|
+
(NEW TOKYO INTL A, JP) observed 0230 UTC 27 February 2013
|
35
|
+
</td>
|
36
|
+
</tr>
|
37
|
+
<tr valign="top">
|
38
|
+
<td align="right">
|
39
|
+
<font color="#9999CC"><strong>Temperature:</strong></font>
|
40
|
+
</td>
|
41
|
+
<td align="left">
|
42
|
+
5.0�C (41�F)
|
43
|
+
</td>
|
44
|
+
</tr>
|
45
|
+
<tr valign="top">
|
46
|
+
<td align="right">
|
47
|
+
<font color="#9999CC"><strong>Dewpoint:</strong></font>
|
48
|
+
</td>
|
49
|
+
<td align="left">
|
50
|
+
4.0�C (39�F) [RH = 93%]
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr valign="top">
|
54
|
+
<td align="right">
|
55
|
+
<font color="#9999CC"><strong>Pressure (altimeter):</strong></font>
|
56
|
+
</td>
|
57
|
+
<td align="left">
|
58
|
+
29.85 inches Hg (1011.0 mb)
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr valign="top">
|
62
|
+
<td align="right">
|
63
|
+
<font color="#9999CC"><strong>Winds:</strong></font>
|
64
|
+
</td>
|
65
|
+
<td align="left">
|
66
|
+
from the NNW (340 degrees) at 13 MPH (11 knots; 5.7 m/s)
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
<tr valign="top">
|
70
|
+
<td align="right">
|
71
|
+
<font color="#9999CC"><strong>Visibility:</strong></font>
|
72
|
+
</td>
|
73
|
+
<td align="left">
|
74
|
+
0.56 miles (0.90 km)
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr valign="top">
|
78
|
+
<td align="right">
|
79
|
+
<font color="#9999CC"><strong>Ceiling:</strong></font>
|
80
|
+
</td>
|
81
|
+
<td align="left">
|
82
|
+
200 feet AGL
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr valign="top">
|
86
|
+
<td align="right">
|
87
|
+
<font color="#9999CC"><strong>Clouds:</strong></font>
|
88
|
+
</td>
|
89
|
+
<td align="left">
|
90
|
+
few clouds at 100 feet AGL<br>broken clouds at 200 feet AGL<br>broken clouds at 300 feet AGL
|
91
|
+
</td>
|
92
|
+
</tr>
|
93
|
+
<tr valign="top">
|
94
|
+
<td align="right">
|
95
|
+
<font color="#9999CC"><strong>Weather:</strong></font>
|
96
|
+
</td>
|
97
|
+
<td align="left">
|
98
|
+
FG -RA (fog, light rain)
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
<tr valign="middle">
|
102
|
+
<td colspan="2" align="left">
|
103
|
+
<hr width="65%">
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
|
107
|
+
|
108
|
+
</tbody></table>
|
109
|
+
|
110
|
+
|
111
|
+
</body></html>
|