Source: site.view [edit]
Function name: weather
Arguments: zip
Description: Returns weather object
Page type: webl
Render function:   tableRender
Module: global

Page source:

var P = (GetURL(`http://weather.yahoo.com/search/weather2?p=`+ToString(zip)) ? nil);
if (P != nil) then
   var T = Elem(P, "table") directlycontain Pat(P, "Currently:");
   if Size(T)>0 then
      var T2 = Elem(P, "table") directlycontain T[0];
      var TDs = Elem(P, "td") inside T2[0];
      var w = [. .];
      w["Current Temp"] := Str_Trim(Text(TDs[2]));
      w["Description"] := Str_Trim(Text(TDs[3]));
      w["Today's High"] := Str_Trim(Text(TDs[6]));
      w["Today's Low"] := Str_Trim(Text(TDs[9]));
      [w]
   else
      P;
   end
else
   nil
end;