<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw='http://wellformedweb.org/CommentAPI/' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rl='http://www.purl.org/RESTLog/'>
  <channel>
    <title>Google2Atom</title>
    <link>http://wellformedweb.org/news/Google2Atom</link>
    <description>
&lt;p&gt;Welcome to the Google2Atom web service. Just enter your 
  search and your &lt;a href="http://www.google.com/apis/"&gt;Google key&lt;/a&gt; 
  below. Once you press "Search" you will get an &lt;a   href="http://www.mnot.net/drafts/draft-nottingham-atom-format-00.html"&gt;
  Atom&lt;/a&gt; feed of the search results. 
&lt;/p&gt;

&lt;form method="get" action="http://wellformedweb.org/cgi-bin/google2atom.cgi"&gt; 
&lt;p&gt;&lt;input size="50" name="q"/&gt;&lt;/p&gt;
&lt;p&gt;Google Key: &lt;input size="20" name="license_key"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;input type="submit" value=" Search "/&gt;&lt;/p&gt;
&lt;/form&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The Google Key is no longer mandatory, if it's not 
  supplied it will use my own key. In light of that please feel free to 
  use my key for experimentation, but if you start making heavy use
  of this service please get your own Google API Key to avoid
  limiting others use of this service.&lt;/p&gt;

&lt;p&gt;This is a REST based reformulation of the Google API. As such it uses 
  query parameters in a GET based HTTP request to do the search. That is, it works
  just like the regular google web page, but this form returns 
  a well-formed XML document instead of a web page. Why is this better?&lt;/p&gt;

&lt;dl&gt;
  &lt;dt&gt;Simplicity&lt;/dt&gt;
  &lt;dd&gt;
    It works just like the google web page, so it is 
    conceptually easier to understand.
  &lt;/dd&gt;

  &lt;dt&gt;Composability&lt;/dt&gt;
  &lt;dd&gt;Since the request is just a simple GET the results of a query can be composed
    with other web services. For example, the results could be transformed using
    XSLT or fed into a validator.
  &lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Bonus Features&lt;/h3&gt;

&lt;p&gt;One feature found in this interface that is not found
  in the original Google API is the well-formedness of the 
  results content. 
  &lt;a href="http://bitworking.org/news/Announcing_pyTidy"&gt;PyTidy&lt;/a&gt; 
  is used to transform the HTML
  snippets from the Google API into well-formed XML and place
  those into 'content' elements with type='text/html' and 
  mode='xml'.
&lt;/p&gt;

&lt;h3&gt;Colophon&lt;/h3&gt;

&lt;p&gt;Google2Atom is written in &lt;a href="http://www.python.org"&gt;Python&lt;/a&gt; and uses
   both the &lt;a href="http://bitworking.org/news/Announcing_pyTidy"&gt;
   pyTidy&lt;/a&gt; and &lt;a href="http://www.diveintomark.org/projects/pygoogle/"&gt;
   pyGoogle&lt;/a&gt; libraries.&lt;/p&gt;

</description>
    <dc:creator>BitWorking, Inc</dc:creator>
  </channel>
</rss>



