","");
$warning = get($site,"\">","<");
$warning = trim($warning);
$currcond = get($site,"
Condition:","");
$currcond = get($currcond, "", "");
$temp = get($site,"Temperature:","");
$temp = get($temp, "", "°C");
$wind = get($site,"Wind:","");
$wind = get($wind,"", "");
$forecond = get($site,"longdesc=\"#f1\" alt=\"","\"");
$pop = get($site,"");
$pop = get($pop,">","<");
$temphigh = get($site,"","");
//if ($temphigh == " ")
// $temphigh = -99;
//else
// $temphigh = get($temphigh,">","°");
$templow = get($site,"","");
//if ($templow == " ")
// $templow = -99;
//else
// $templow = get($templow,">","°");
$humidity = get($site,"Humidity:","/dd>");
$humidity = get($humidity,">"," %<");
$windchill = get($site," title=\"Wind Chill\">","/dd>");
$windchill = get($windchill,"dd>","<");
if ($pop == " ")
$pop = 0;
else
$pop = substr($pop, 0, strlen($pop) - 1);
$pop = trim($pop);
if (($windchill < -60)||($windchill > 60))
$windchill = 99;
if ($templow == "")
$templow = -99;
if ($temphigh == "")
$temphigh = -99;
echo "\n";
echo "" . $currcond . "\n";
echo "" . $temp . "\n";
echo "" . $windchill . "\n";
echo "" . $wind . "\n";
echo "" . $humidity . "\n";
echo "" . $forecond . "\n";
echo "" . $temphigh . "\n";
echo "" . $templow . "\n";
echo "" . $pop . "\n";
echo "\n";
echo "\n";
?>