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

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to