title: Error/Warning parsing RSS XML :(
body: <p>I did this </p>
  
  <pre><code>&lt;blink&gt;
  $xml = file_get_contents(http://weather.yahooapis.com/forecastrss?w=12797541);
  $yahoo_response = new SimpleXMLElement($xml , 0, true);
  &lt;/blink&gt;
  </code></pre>
  
  <p>And I got an XML parse warning like this:</p>
  
  <pre><code>PHP Warning:  SimpleXMLElement::__construct()
  [&lt;a href='simplexmlelement.--construct'&gt;simplexmlelement.--construct&lt;/a&gt;]:
  I/O warning : failed to load external entity &amp;quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; 
  </code></pre>
  
  <p>.....</p>
  
  <p>With an important part of the message being this:</p>
  
  <pre><code>I/O warning : failed to load external entity 
  </code></pre>
  
  <p>And I could not parse anything with this line:</p>
  
  <pre><code>echo (string) $yahoo_response-&gt;rss-&gt;channel-&gt;item-&gt;title;
  </code></pre>
  
  <p>Does anyone know how to fix this or get around it?</p>
  
  <p>Thanks,
  Alex</p>