title: Yahoo Weather API - "City not found" error on various cities
body: <p>I don't know if this is the place for this question, but here's the problem:</p>
  
  <p>I have an web app that fetch weather data from various brazilian cities using Yahoo Weather API. Basically, I got all woeid numbers from this site: <a href="http://woeid.rosselliot.co.nz/" rel="nofollow">http://woeid.rosselliot.co.nz/</a>. After I got all woeid numbers, I've created a web page that makes a ajax call (through jQuery) to fetch all weather info:</p>
  
  <pre><code>var woeid = 455997;
  var url_yahoo = "http://weather.yahooapis.com/forecastrss?w=" + woeid + "&amp;u=c";
  $.ajax({
      url: 'http://ajax.googleapis.com/ajax/services/feed/load?output=xml&amp;v=1.0&amp;callback=?&amp;q=' + encodeURIComponent(url_yahoo),
      dataType: 'json',
      cache: false,
      success: function(data) {
          data = $(data.responseData.xmlString).find("item");
          var condition_node = $(data).find("yweather\\:condition");
          var forecasts_node = {
              "today": $(data).find("yweather\\:forecast").eq(0),
              "tomorrow": $(data).find("yweather\\:forecast").eq(1),
              "after_tomorrow": $(data).find("yweather\\:forecast").eq(2)
          }
          var temperatures = {
              "today": {
                  "now": condition_node.attr("temp"),
                  "min": (forecasts_node['today']).attr("low"),
                  "max": (forecasts_node['today']).attr("high")
              },
              "tomorrow": {
                  "min": (forecasts_node['tomorrow']).attr("low"),
                  "max": (forecasts_node['tomorrow']).attr("high")
              },
              "after_tomorrow": {
                  "min": (forecasts_node['after_tomorrow']).attr("low"),
                  "max": (forecasts_node['after_tomorrow']).attr("high")
              }
          }
          console.log( temperatures['today'] );
      }
  })
  </code></pre>
  
  <p>The example above can fetch all temperatures from various cities. All I need to do is change WOEID number on the variable with the same name. The city with WOEID number of 455997 is Sobral - CE - Brazil. Basically, this ajax call will open the url "weather.yahooapis.com/forecastrss?w={WOEID_NUMBER}&amp;u=c", extract all info from resulting XML file, and show on browser's console all temperatures, as shown below:</p>
  
  <pre><code>Object {now: 38, min: 25, max: 32}
  </code></pre>
  
  <p>It was working fine last year, with all temperatures being shown inside "temperatures" array variable. But around two months ago, it stopped working, returning 'undefined' on all indexes.</p>
  
  <pre><code>Object {now: undefined, min: undefined, max: undefined}
  </code></pre>
  
  <p>For debugging purposes, I tried the url that is loaded by ajax (<a href="http://weather.yahooapis.com/forecastrss?w=455997&amp;u=c" rel="nofollow">http://weather.yahooapis.com/forecastrss?w=455997&amp;u=c</a>). Yahoo should return me all forecast info related to Sobral - CE - Brazil, but instead it returns me the XML below:</p>
  
  <pre><code>&lt;rss xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0"&gt;
      &lt;channel&gt;
          &lt;title&gt;Yahoo! Weather - Error&lt;/title&gt;
          &lt;description&gt;Yahoo! Weather Error&lt;/description&gt;
          &lt;item&gt;
              &lt;title&gt;City not found&lt;/title&gt;
              &lt;description&gt;Weather Data not Available at the moment&lt;/description&gt;
          &lt;/item&gt;
      &lt;/channel&gt;
  &lt;/rss&gt;
  </code></pre>
  
  <p>Thus, my webapp can't fetch any weather info related to my city. The same issue is happening with another brazilian cities, such as below:</p>
  
  <pre><code>Sobral, Ceara, Brazil - WOEID 455997
  Tianguá, Ceara, Brazil - WOEID 453622
  São Benedito, Ceará, Brazil - WOEID 449511
  Ubajara, Ceara, Brazil - WOEID 454340
  Viçosa, Ceara, Brazil - WOEID 461578
  Guaraciaba do Norte, Ceara, Brazil - WOEID 452761
  </code></pre>
  
  <p>For your information, the same issue is happening on iOS 5's weather app. It can't show info about some of the cities above, and it was working fine a few months ago.</p>
  
  <p>I can't find any recent info about this issue. I don't know if it's something temporary, or if it means that the service is going to be discontinued on the future. Is anyone having this same issue as me?</p>