I am creating a weather page in PHP. The user enters a city/place name in a search form and I search for his input in where.yahooapis to find the 5 top relative woeids.
According to the Yahoo! Weather API documentation, a WOEID must be provided to obtain weather information for a specific region. The WOEID can be obtained by using the Yahoo! GeoPlanet service.
I am attempting to parse Yahoo\'s weather XML feed via this script. The parsing itself works: I am just struggling with getting the days to correspond with today, tomorrow and the day after.