Prompt caller for his preferred zipcode and play the weather forecast using Yahoo developer network - http://developer.yahoo.com/weather/
Step 1:
As in Hello Date, collect zipcode (response type - digits) from the caller using "Get Input" and store it as zipcode variable.
Step 2:
Using the "Condition" feature, prompt caller to reenter zipcode if he/she has not entered 5 digits.
Step 3:
Post zipcode to Yahoo! Developer network using "REST" feature and collect today's high and low forecast.
Post URL would be: http://weather.yahooapis.com/forecastrss?p=$zipcode
Enter the xml keys (hierarchy seperated by _) you wish to collect from the URL output in the result tab.
For eg: to collect low and high in the XML output from Yahoo!, use
rss_channel_item_yweather:forecast_low for low and rss_channel_item_yweather:forecast_high for high.
Step 4:
Play low and high using "Play message".







