[REBOL] Ralph's weather.r
From: ralph::abooks::com at: 7-May-2001 15:42
Here's the weather script I've been using at our http://abooks.com site for
some time now (REBOL embedded within PHP). See it in action at:
http://abooks.com/cgi-bin/weather.r
And here's the script (enjoy!):
#!/rebol/rebol --cgi
REBOL[
TITLE: "weather.r"
AUTHOR: "Ralph Roberts"]
print "Content-Type: text/html^/"
a: read http://weather.noaa.gov/cgi-bin/iwszone?Sites=:ncz053
;;;;; go to the NOAA site and find your local weather
;;;;; to get the URL above
b: ""
print <pre>
parse/all a [thru "ZONE FORECAST PRODUCT" copy b thru "</pre>"]
print b
;;;;;; read REBOL FOR DUMMIES, order at http://rebolpress.com