Skip to content

Commit

Permalink
Added "topic" query parameter to retrieve Google News topic scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
rretsiem committed Feb 9, 2011
1 parent e9afa27 commit 2ef541f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions google/google.news.xml
Expand Up @@ -4,6 +4,7 @@
<author>Martin Borho</author> <author>Martin Borho</author>
<documentationURL>http://code.google.com/apis/ajaxsearch/documentation/</documentationURL> <documentationURL>http://code.google.com/apis/ajaxsearch/documentation/</documentationURL>
<sampleQuery>select * from {table} where q = "new york"</sampleQuery> <sampleQuery>select * from {table} where q = "new york"</sampleQuery>
<sampleQuery>select * from {table} where topic = "h"</sampleQuery>
</meta> </meta>
<bindings> <bindings>
<select itemPath="json.responseData.results" produces="JSON"> <select itemPath="json.responseData.results" produces="JSON">
Expand All @@ -17,6 +18,7 @@
</paging> </paging>
<inputs> <inputs>
<key id='q' type='xs:string' paramType='query' /> <key id='q' type='xs:string' paramType='query' />
<key id='topic' type='xs:string' paramType='query'/>
<key id="ned" type="xs:string" paramType="query" required="false" default="us"/> <key id="ned" type="xs:string" paramType="query" required="false" default="us"/>
</inputs> </inputs>
</select> </select>
Expand Down

0 comments on commit 2ef541f

Please sign in to comment.