Update of /cvsroot/phpweather/web
In directory usw-pr-cvs1:/tmp/cvs-serv21106
Added Files:
style.css links.php
Log Message:
More files for the website.
--- NEW FILE ---
/* Stylesheet made for www.gimpster.com */
/* $Id: style.css,v 1.1 2002/03/18 17:36:04 gimpster Exp $ */
body, p, a, td, th {
font-family: verdana, arial, helvetica, sans-serif;
}
body {
background: white;
color: black;
}
dt {
font-weight: bold;
clear: both;
padding-top: 10px;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: red;
}
p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
p.nav-parents {
font-size: 110%;
text-align: center;
}
p.nav-siblings {
text-align: center;
}
/*
p.head {
font-weight: bold;
}
p.section {
margin-top: 1em;
font-size: 150%;
font-weight: bold;
}
p.subsection {
font-size: 120%;
font-weight: bold;
}
p.subsubsection {
font-size: 110%;
font-style: italic;
}
*/
p.footer {
margin-top: 0;
margin-bottom: 0;
font-size: 80%;
text-align: center;
}
td {
vertical-align: top;
}
--- NEW FILE ---
<?php
/* $Id: links.php,v 1.1 2002/03/18 17:36:04 gimpster Exp $ */
require('include/header.php');
?>
<p>These webpages have information regarding the parsing of METARs and
other subjects related to PHP Weather.</p>
<dl>
<dt><a href="http://tgsv5.nws.noaa.gov/oso/oso1/oso12/fmh1/fmh1ch12.htm">Federal Meteorological Handbook No. 1, Chapter 12 Coding</a></dt>
<dd><p>
This is the document I've used as a reference while writing
<a href="http://www.sourceforge.net/projects/phpweather/">PHP
Weather</a>. It conforms with the WMO Manual on Codes No. 306. If you
want to learn how to read the raw coded messages, or want to make a
parser yourself, you should read this. It might seam a bit complicated
at first sight, but when you've read it a couple of times things start
to clear up :-)
</p></dd>
<dt><a href="http://www.wcnet.org/~jzawodn/perl/Geo-METAR/">Geo::METAR</a></dt>
<dd><p>
Geo::METAR is written by <a
href="mailto:Je...@Za...">Jeremy D. Zawodny</a>, and is the
<a href="http://www.perl.com">Perl</a> module that I used as a
template for PHP Weather. I searched the web for a PHP-script that
could translate a METAR, but instead I found Geo::METAR. When
looking at the Perl-code I realised that I could just translate it
into PHP-code without any problems. So I did, and the result is
PHP Weather.
</p></dd>
<dt><a href="http://weather.noaa.gov/weather/metar.shtml">METAR Data Access</a></dt>
<dd><p>
Here you'll find the raw METAR data. In PHP Weather I download the
reports via HTTP from <a
href="http://weather.noaa.gov/pub/data/observations/metar/stations/">http://weather.noaa.gov/pub/data/observations/metar/stations/</a>.</p>
<p>To use any of these services you have to know the
four-character ICAO Location Indicator for the station. The easiest
way to find the Location Indicator is to go to <a
href="http://weather.noaa.gov/weather/ccworld.html">this page</a>.
There you'll be able to choose a country, and the choose a station
from a list of stations is that country.
</p></dd>
<dt><a href="http://rtccom.net/~thammer/phorecast-0.1.tgz">Phorecast</a></dt>
<dd><p>
<a href="mailto:th...@rt...">Todd Hammer</a> has made a
script, that parsed forecasts for the US. It can be used with or
without PHP Weather, but I think it complements is fine - assuming
you live in the US.
</p></dd>
<dt><a href="http://oreo.somewhere.net/">O.R.E.O Weather</a></dt>
<dd><p>
<a href="http://oreo.somewhere.net/">O.R.E.O Weather</a> is a
program written in Toolbook, a language like Visual Basic, that
uses PHP Weather to display the current weather.
</p></dd>
</dl>
<?php
require('include/footer.php');
?>
|