title: JavaScript API - how to do it in PHP (for Google News)
body: <p>Google News has API, described here:
  <a href="http://code.google.com/apis/newssearch/v1/index.html" rel="nofollow">http://code.google.com/apis/newssearch/v1/index.html</a></p>
  
  <p>But it is a JavaScript API (client side). I would like to run Google News search once a day for a fixed phrase, automatically, on a server and integrate the results into my database (server side, using PHP). </p>
  
  <p>Could anyone suggest how to deal with this, I mean on Google API side? I made a solution using PHP simple_html_dom class, which is parsing raw html and extracting elements like news title, body etc. But now I think it is not a professional solution, because if Google changes anything within the structure of their html, my code will break.</p>
  
  <p>So maybe there is a trick, how to use a JavaScript API in PHP?</p>