6TX3 ?=?= ;Arial MS Sans Serif "Times New Roman) 3Arial B~Arial MS Sans Serif ` ?=?= 4 ?=?= prefsJ`V?=?=  "; GK W[ `k?=w author Mikel Maron authorEmailmikel_maron@yahoo.com description homePageUrlnameWeather releaseDateversion0.1 ?=?= VArial ?=?= LANDwinon any (pta) //boilerplate for your responder pta^.responseHeaders.["Content-Type"] = "text/html" pta^.code = 200 //everything was OK pta^.responseBody = "" //build response return (true) V2.?=?= any2.?=?= :B J condition,(string.lower (path) beginsWith "/weather/")enabledmethods4 ?=?= ?=?= Arial ?=?=LANDwinThis script runs every hour. JArial ?=?=LANDwinThis script runs every minute. Arial ?=?=LANDwinThis script runs every night. {w.?=?=  ". 9 everyHourb everyMinute. everyNight{ ?=?= ?=?= ?=?= nj.?=?=  ' ,fileMenuradio user 9n Arial ?=?=LANDwindialog.notify ("Hello, World!") Arial ?=?={LANDwinWeather Hello World p Arial B=p }Arial ?=?= LANDwinThis script returns a string which appears in the Status Center on the Radio UserLand home page. return ("I'm a cool Tool!") &) Arial ;WN$?=?N  prefsJzips 94114 10001JArial ?=?= LANDwinThis script runs in its own thread. loop //loop until the application quits Add your code here. thread.sleepFor (10) //sleep for ten seconds TP.?=?= ctenabledscript kTtArial FF2LANDwinon finalFilter (pta) pta^.renderedText = string.replace (pta^.renderedText, "[[title]]", "") return (true) ����������������������������� ���-���� MS Sans Serif��������������������� ��������������Eu`Q�������2LAND�������win������������on firstFilter (adrPageTable) return (true) �����������������������*��[���� MS Sans Serif��������������������� ��������������Eu7a���m���L�3*lLAND�������win������������on pageFilter (pta) if typeOf (pta^.template) == outlineType or typeOf (pta^.template) == wpTextType table.assign (@pta^.template, string (pta^.template)) if typeOf (pta^.template) == stringType and not pta^.indirectTemplate pta^.template = string.replace (pta^.template, "<title>", "[[title]]") html.addPageToGlossary (pta) return (true) �����������������������������������������������y���.���EF�������� ���� ��� ����$���0 ����; finalFilter������� firstFilter�������� pagefilter���������V MS Sans Serif��������������������� �����������P�E��$����������������������������C�������?������7?=�������� ����url���http://127.0.0.1/Weather/���C���n�����������������8H������VArial����������������������������� ������������������������������������������������n����������W����������������������space���/GIFfGIF89a�������!����,�������D�;��VArial����������������������������� ������������������������������������������������������������V��������������� ������� �������"�������+ ����0���: ����C���L ����Q���[ ����aalink���008000bgcolor���FFFFFFflRenderlink���0000FFspaceGif���spacetext���000000vlink���800080��VArial����������������������������� �������������������������������������������������d��������<��������Arial����������������������������� ��������������FF�������LAND�������win������������<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>{title} {metaTags ()} {bodyTag ()} {bodytext} dn8>VArial nFFFF000000060001001777AA00000000005A0000000010017101904900218000006000600329200-1032921FFFFF010E0000100000031000000010E84032921FE048E000163293000020000001200000000E,#title "Home" 000400000009000000020100000500000009000000020100000600000032000000010F310FFFF0C00000 20 000700000019000000010201E00008000000A90000000140,Geneva40,10A0304E44000101000090000001500000002096177096177000A000000150000000232921F32921F000B00000005000000020000C0000001200000001E369AF10000F0000005200000000400 10 4,appn4,send4,84,&4,84,34,800130000007E00000000DA91F8CE1C1D1E1F7F1B044,-..'"FFFF0FFFF0FFFE000000060001001777AAPĵ7}5#``7F  * 4@ HT [g q} #filters#ftpSite #glossary#imagesn#prefs+ #templateV#toolsindex@VVerdana ??8` ?=?= EX*Arial ?=E62?B9?BR modules662?BF?Bh weather06 $?BO?Bn  edit htmlN Arialvie.?BO?B  " (edit"Rhtml*titleWeatherB?=?B>  !- 8D IU i backgroundZ callbacks e getWeather7"menu 8statusCenterMessage Ght?=?B+  $0 AM ^j }  WeatherDatav WeatherInfoWeatherNodeTypesWeatherResponderrWeatherRpcHandlers WeatherSoapHandlers6 WeatherSuite 4 WeatherTGl Arial ?BcOk LANDwinon edit (pta, args, page) local(htmltext = "", indentlevel = 0) on add(s) htmltext = htmltext + (string.filledstring("\t",indentlevel) + s + "\r\n") if defined (args.edit) if defined (args.zips) WeatherData.zips = args.zips else WeatherData.zips = "" delete(@WeatherData.cache) return false add("Enter US Zipcodes

") local (zips = "") if defined (WeatherData.zips) zips = WeatherData.zips add ("

") return htmltext ˀ=Zc Arial ?=?BM7LANDwinon getWeather () local (htmltext = "") local (zips) htmltext = "" if defined (WeatherData.zips) zips = WeatherData.zips local (count = string.countFields(zips," ")); local (i) for i = 1 to count local (zip = string.nthField(zips," ",i)) if (string.length(zip) > 0) local (params = {"zipcode":zip}) htmltext = htmltext + "
" + zip + "" + soap.rpc.client("/soap/servlet/rpcrouter","getTemp",@params,"services.xmethods.net","80",methodNamespace:"m",methodNamespaceUri:"urn:xmethods-Temperature") htmltext = htmltext + "
" WeatherData.cache = htmltext getWeather() K=~?=?BI  $0 ?K \h y  % WeatherDatav WeatherInfoWeatherMyRadio@v4 ;)=v hEX p7vcArial ?Bn?B}LANDwinon html () if ! defined (WeatherData.cache) WeatherSuite.getWeather() return WeatherData.cache 8vlArial ?Bc?C)!2NLANDwinon edit (pta, args, page) local(htmltext = "", indentlevel = 0) on add(s) htmltext = htmltext + (string.filledstring("\t",indentlevel) + s + "\r\n") if defined (args.edit) if defined (args.zips) WeatherData.zips = args.zips else WeatherData.zips = "" delete(@WeatherData.cache) return false local (symbols = "") if defined (WeatherData.zips) zips = WeatherData.zips add ("
63.01000190.03[Arial ?=?T}LANDwinThis script runs every minute. local (day, month, year, hour, minute, second) date.get (clock.now (), @day, @month, @year, @hour, @minute, @second) if (minute % 15 == 0) WeatherSuite.getWeather() [Y1B.?=@  cache{Y~8?BOFa  " '1 7edit"Rhtml3sidenarrowtitleWeather= fi Arial ?=?T. LANDwinon getWeather () local (htmltext = "") local (zips) htmltext = "
94114
" if defined (WeatherData.zips) zips = WeatherData.zips local (count = string.countFields(zips," ")); local (i) for i = 1 to count local (zip = string.nthField(zips," ",i)) if (string.length(zip) > 0) local (params = {"zipcode":zip}) htmltext = htmltext + "" htmltext = htmltext + "
" + zip + "
" + soap.rpc.client("/cheeso9/zips/ZipService.a=`6T0OY1B= J` &)= GhEX `gArial ?BnO,&qLANDwinon html (page) if ! defined (WeatherData.cache) WeatherSuite.getWeather() return WeatherData.cache Uc?=Pu cache;Click Edit above to configure Weatherht>80.0
11100-999.0
zips 94114 11100d align=right>-999.03302582.04350690.01414177.0prefsJzips#94114 10001 13245 33025 43506 1414141T0Of Arial ?=Fq5TrArial ?=OkCgLANDwinon getWeather () local (htmltext = "") local (zips) htmltext = "" if defined (WeatherData.zips) zips = WeatherData.zips else WeatherData.cache = "Click Edit above to configure Weather"; return local (count = string.countFields(zips," ")); local (i) for i = 1 to count local (zip = string.nthField(zips," ",i)) if (string.length(zip) > 0) local (params = {"zipcode":zip}) htmltext = htmltext + "" htmltext = htmltext + "" htmltext = htmltext + "" htmltext = htmltext + "
" + zip + "
" + soap.rpc.client("/cheeso9/zips/ZipService.asmx","ZipTo1CityAndState",@params,"hosting.msugs.ch","80",soapAction:"http://dinoch.dyndns.org/webservices/ZipTo1CityAndState") + "" + soap.rpc.client("/soap/servlet/rpcrouter","getTemp",@params,"services.xmethods.net","80",methodNamespace:"m",methodNamespaceUri:"urn:xmethods-Temperature") + "
" WeatherData.cache = htmltext getWeather() 'J~?=?BI  $0 ?K \h y  % WeatherData4 WeatherInfoWeatherMyRadioWeatherNodeTypesWeatherResponderrWeatherRpcHandlers WeatherSoapHandlers6 WeatherSuite 4 WeatherThreadWeatherWebsiteWeatherWindowTypes<V28A LArial  ?=PsLLANDwinWeatherData zips WeatherInfo WeatherMyRadio modules weather edit html side title WeatherNodeTypes WeatherResponder WeatherRpcHandlers WeatherSoapHandlers WeatherSuite background everyHour everyMinute everyNight callbacks getWeather menu statusCenterMessage WeatherThread WeatherWebsite WeatherWindowTypes /////////////pG/pG/pG/pG////////////////////////////////P//P//'