O'Reilly Hacks
oreilly.comO'Reilly NetworkSafari BookshelfConferences Sign In/My Account | View Cart   
Book List Learning Lab PDFs O'Reilly Gear Newsletters Press Room Jobs  



Get a clustered view of a country or US state in Google News
Google News allows you to search for news originating from a perticular geographic location, but frequently the results of these searches are not 'clustered' like the results in the default categories.

Contributed by:
Michael Bernstein
[09/04/05 | Discuss (0) | Link to this hack]

Google News allows you to search for news originating from a particular geographic location, but frequently the results of many of these searches are not 'clustered' like the results in the default categories.

Try this: open the 'Advanced Search' page for Google News, and enter 'washington' in the location box. Clicking the 'Google Search' button will give you a list of news stories from Washington state, but although they are sorted by relevancy, they are not clustered.

To turn clustering on, a simple hack is to add some search terms of common words that Google will automatically discard, such as adding 'a the an' into the field labelled 'with at least one of the words'. This causes news items from Washington to be clustered in the search results, and produces the search string 'a OR the OR an location:wa'.

Using this same trick will also cluster news items in a custom category from a US state or country.


O'Reilly Home | Privacy Policy

© 2007 O'Reilly Media, Inc.
Website: | Customer Service: | Book issues:

All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.