title: Parsing Google News RSS with PHP
body: <p>I want to parse Google News rss with PHP. I managed to run this code:</p>
  
  <pre><code>&lt;?
  $news = simplexml_load_file('http://news.google.com/news?pz=1&amp;cf=all&amp;ned=us&amp;hl=en&amp;topic=n&amp;output=rss');
  
  foreach($news-&gt;channel-&gt;item as $item) {
      echo "&lt;strong&gt;" . $item-&gt;title . "&lt;/strong&gt;&lt;br /&gt;";
      echo strip_tags($item-&gt;description) ."&lt;br /&gt;&lt;br /&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>However, I'm unable to solve following problems. For example:</p>
  
  <ol>
  <li>How can i get the hyperlink of the news title?</li>
  <li>As each of the Google news has many related news links in footer, (and my code above includes them also). How can I remove those from the description?</li>
  <li>How can i get the image of each news also? (Google displays a thumbnail image of each news)</li>
  </ol>
  
  <p>Thanks.</p>