Easy Weather Parser

Replace http://weather.yahoo.com/united-states/california/beverly-hills-12795711/ with the place you want the get the weather but make sure it is still from weather.yahoo.com

--Get Weather
set WebsiteHtml to do shell script "curl [url=http://weather.yahoo.com/united-states/california/beverly-hills-12795711/]http://weather.yahoo.com/united-states/california/beverly-hills-12795711/"[/url]
set text item delimiters to "Current conditions as of"
set {Parse, text item delimiters} to {text item 2 of WebsiteHtml, "High: "} --Parse/High Temp
set {HighWeather, text item delimiters} to {text item 2 of Parse, "&"}
set {HighWeather, text item delimiters} to {text item 1 of HighWeather, "Low: "} --High Temp/Low Temp
set {LowWeather, text item delimiters} to {text item 2 of Parse, "&"}
set {LowWeather, text item delimiters} to {text item 1 of LowWeather, "<div id=" & quote & "yw-cond" & quote & ">"} --Low Temp/Get Weather Condition
set {WeatherCondition, text item delimiters} to {text item 2 of Parse, "</div>"}
set WeatherCondition to text item 1 of WeatherCondition
--Get Weather

say "The weather condition today is " & WeatherCondition & " The high is " & HighWeather & " The low is " & LowWeather using "Alex"

Heres a challange for you, that script is good don’t get me wrong, but it’s always cool to aim higher.

Try getting the users location with google latitude and returning that location to a version of your script that can use a postcode to tell the weather at the location of that user. I have a google latitude script you could use if your interested in trying?

Can you post the google latitude script?