How to search multiple (specified) sites in one query?
October 19, 2009 1:41 PM   Subscribe

I want to issue a single search engine query that limits itself to a list of say ten to twenty specified domains. How? Google, for example, allows a single query term that restricts to, but what if I need to to search for say, for the term widget, at all of the sites in the list,,, etc? I could issue multiple queries, but I want a single homogenized list of results... Best marks will go to the query that can be used in an OpenSearch descriptor, or to a way of setting an OpenSearch descriptor to search several sites.
posted by blue_wardrobe to Computers & Internet (6 answers total) 5 users marked this as a favorite
Is there a reason the Google Custom Search Engine won't suit your needs? I think this is sort of the standard way to set this up.
posted by jessamyn at 1:44 PM on October 19, 2009

With google you can do this with -inurl:

your search string -inurl:(domain1|domain2|domain3)

I don't think opensearch has an equivalent
posted by Lanark at 1:48 PM on October 19, 2009

Another way of writing what Lanark said:
searchterms moresearchterms | |
The pipe character (|) represents OR in boolean logic. It's a good way to limit a search to a handful of sites but more than five or six would be pretty cumbersome.
posted by The Winsome Parker Lewis at 1:53 PM on October 19, 2009

Rollyo is built for your specific purpose. They call them Searchrolls.
posted by brock at 2:06 PM on October 19, 2009

Actually that should be

your search string inurl:(domain1|domain2|domain3)

inurl will restrict search to urls that contain those strings
-inurl will restrict search to urls that don't contain those strings

beatles -inurl:(wikipedia|amazon)
posted by Lanark at 2:31 PM on October 19, 2009

To do this on Bing would use
searchstring ( OR

The opensearch descriptor URL template would just have something like template="{searchstring}"
posted by Diddly at 2:49 PM on October 19, 2009

« Older How to export AutoArchive e-mail exported &...   |   Give Me Anime-Induced Nightmares Again Newer »
This thread is closed to new comments.