title: Google results in XML/JSON - using the Custom Search Engine
body: <p>I'm having difficulty figuring out the right format for URL calls to a Google Custom Search Engine (CSE) to return results in XML (using their <a href="https://developers.google.com/custom-search/json-api/v1/overview" rel="nofollow">free service</a> for 100 calls per day).  I've set up an account and CSE. So now I have a public URL <code>https://www.google.com/cse/publicurl?cx=010317493064298903457:5bsx2whinf8</code> to search BBC news. But I can't figure out from the documentation how to develop the URL call to return results in XML format..</p>
  
  <p><code>https://www.google.com/cse/publicurl?cx=010317493064298903457:5bsx2whinf8&amp;q=lon‌​don&amp;start=0&amp;num=10&amp;output=xml_no_dtd</code> (based on the code provided in the CSE setup options) gives results in html frame.</p>
  
  <p><code>http://www.google.com/search?start=0&amp;num=10&amp;q=london&amp;client=google-csbe&amp;output=‌​xml_no_dtd&amp;cx=010317493064298903457:5bsx2whinf8</code> (following the <a href="https://developers.google.com/custom-search/docs/xml_results" rel="nofollow">XML API examples</a>) also returns HTML.</p>
  
  <p>Very grateful for an idea where I'm going wrong.</p>