**HOWTO: Search the SDMB using Google
**Please post your own useful example searches in this thread. You may also be interested in my Doper RSS guide.
**Searching the entire board or within a forum
**Note that Google has not yet finished indexing the forums as of this writing.
This is the base query of all other queries. In order to restrict your search to a forum you must include a plus sign (+) before the name of the forum in quotes. Otherwise Google will interpret your quoted forum string as meaning “Give me all pages related to the forum”. Google’s relatedness algorithms are extremely fuzzy and return all possible results in the case of the SDMB. Including the plus sign tells Google to “do what I say, not what I mean.” Keep in mind that Google does not know what a forum is so the results still contain some fuzz. If you are constructing a url parameter you must encode the plus sign as %2B since a literal plus sign is interpreted as a space by Google:
[ul]
[li]**SDMB: **site:boards.straightdope.com[/li][LIST]
[li]http://www.google.com/search?q=site:boards.straightdope.com[/li][/ul]
[li]ATMB: site:boards.straightdope.com +“About This Message Board”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"About This Message Board"[/li][/ul]
[li]CCC: site:boards.straightdope.com +“Comments on Cecil’s Columns”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"Comments on Cecil’s Columns"[/li][/ul]
[li]CSR: site:boards.straightdope.com +“Comments on Staff Reports”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"Comments on Staff Reports"[/li][/ul]
[li]**GQ: **site:boards.straightdope.com +“General Questions”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"General Questions"[/li][/ul]
[li]**GD: **site:boards.straightdope.com +“Great Debates”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"Great Debates"[/li][/ul]
[li]**CS: **site:boards.straightdope.com +“Cafe Society”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"Cafe Society"[/li][/ul]
[li]**TGR: **site:boards.straightdope.com +“The Game Room”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"The Game Room"[/li][/ul]
[li]**IMHO: **site:boards.straightdope.com +“In My Humble Opinion”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"In My Humble Opinion"[/li][/ul]
[li]**MPSIMS: **site:boards.straightdope.com +“Mundane Pointless Stuff I Must Share”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"Mundane Pointless Stuff I Must Share"[/li][/ul]
[li]**The Pit: **site:boards.straightdope.com +“The BBQ Pit”[/li][ul]
[li]http://www.google.com/search?q=site:boards.straightdope.com %2B"The BBQ Pit"[/li][/ul]
[/LIST]
**Searching within active threads
**These active thread query constraints are only available as url parameters:
[ul]
[li]Past 24 hours: http://www.google.com/search?q=site:boards.straightdope.com**&tbs=qdr:d**[/li][li]Past week: http://www.google.com/search?q=site:boards.straightdope.com**&tbs=qdr:w**[/li][li]Past month: http://www.google.com/search?q=site:boards.straightdope.com**&tbs=qdr:m**[/li][li]Past year: http://www.google.com/search?q=site:boards.straightdope.com**&tbs=qdr:y**[/li][/ul]
**Searching within a date range using daterange
**Google has a [FONT=Courier New]daterange:start-end parameter but it is difficult to use because it requires Julian dates. You can use this converter from the US Naval Observatory but be sure to hack off the decimal place and everything that follows it since Google only understands the integer portion. Here are a few to get you started. Google’s date matching is good but sometimes a bit fuzzy. I’m using “board years” starting on 3-9-99 since thats the day before the first post (in vBulletin) and it was easiest for me:
[/FONT]
[ul]
[li]1999 March 09 - 2000 March 09: site:boards.straightdope.com daterange:2451247-2451613[/li][li]2000 March 09 - 2001 March 09: site:boards.straightdope.com daterange:2451613-2451978[/li][li]2001 March 09 - 2002 March 09: site:boards.straightdope.com daterange:2451978-2452343[/li][li]2002 March 09 - 2003 March 09: site:boards.straightdope.com daterange:2452343-2452708[/li][li]2003 March 09 - 2004 March 09: site:boards.straightdope.com daterange:2452708-2453074[/li][li]2004 March 09 - 2005 March 09: site:boards.straightdope.com daterange:2453074-2453439[/li][li]2005 March 09 - 2006 March 09: site:boards.straightdope.com daterange:2453439-2453804[/li][li]2006 March 09 - 2007 March 09:site:boards.straightdope.com daterange:2453804-2454169[/li][li]2007 March 09 - 2008 March 09:site:boards.straightdope.com daterange:2454169-2454535[/li][li]2008 March 09 - 2009 March 09:site:boards.straightdope.com daterange:2454535-2454900[/li][li]2009 March 09 - 2010 March 10:site:boards.straightdope.com daterange:2454900-2455265[/li][li]2010 March 09 - 2011 March 10: site:boards.straightdope.com daterange:2455265-2455630[/li][/ul]
Searching within thread titles using intitle**
**There is also an allintitle field but you will probably find intitle sufficient:
[ul]
[li]site:boards.straightdope.comintitle:“perfect master”[/li][LIST]
[li]http://www.google.com/search?q=site:boards.straightdope.com intitle:“perfect master”[/li][/ul]
[/LIST]
**Searching for posts written by a particular user
[SIZE=2]Google can see the “Find all posts by …” text that is visible after you click on the username associated with a post:[/SIZE]
**
[ul]
[li]site:boards.straightdope.com “Find all posts by Cecil Adams”[/li][LIST]
[li]http://www.google.com/search?q=site:boards.straightdope.com “Find all posts by Cecil Adams”[/li][/ul]
[/LIST]
A fuzzer variety of this search uses the inanchor field. Anchor text is simply the text that you see when you look at a hyperlink.
[ul]
[li]site:boards.straightdope.com inanchor:“Cecil Adams”[/li][LIST]
[li]http://www.google.com/search?q=site:boards.straightdope.com inanchor:“Cecil Adams”[/li][/ul]
[/LIST]
Fuzzier still is a site search for the username.
[ul]
[li]site:boards.straightdope.com “Cecil Adams”[/li][LIST]
[li]http://www.google.com/search?q=site:boards.straightdope.com “Cecil Adams”[/li][/ul]
[/LIST]
** Example searches
**Now that we’ve got all the pieces they are easy to put together. Here are some examples.
[ul]
[li]Find all posts that mention decapitation during the french revolution[/li][LIST]
[li]site:boards.straightdope.com decapitation “french revolution”[/li][/ul]
[li]Find all posts that mention decapitation in their title and french revolution anywhere else[/li][ul]
[li]site:boards.straightdope.com “french revolution” intitle:decapitation[/li][/ul]
[li]Find all posts written during the french revolution that mention decapitation. Hmm, I wonder why there aren’t any results…:smack:[/li][ul]
[li]site:boards.straightdope.com decapitation daterange:2374479-2378131[/li][/ul]
[li]Find all posts written between 2008-2009 that mention Obama[/li][ul]
[li]site:boards.straightdope.com obama daterange:2454466-2454832[/li][/ul]
[li]Find all posts by QED in the last year that occur in threads which mention gas. First you’ll have to find all posts by QED that occur in threads which mention gas and then add the [FONT=Courier New]&tbs=qdr:y url parameter. Note that its not possible to find all posts by QED that mention gas.[/li][/FONT]
[ul]
[li]site:boards.straightdope.com “Find all posts by QED” gas[/li][li]http://www.google.com/search?q=site:boards.straightdope.com “Find all posts by QED” gas&tbs=qdr:y[/li][/ul]
[li]SDMB vocabulary special. Note Google’s 32 word query limit.[/li][ul]
[li]site:boards.straightdope.com “Perfect Master”|“Gaudere’s Law”|felching|“The Grapist”|“Hi, Opal”|“Invisible Pink Unicorn”|“Junior Modding”|MMP|“1920s Style Death Ray”|“Penis ensues”|RO|Threadshitting|“When come back bring pie”[/li][/ul]
[li]SDMB vocab with fuzzy TubaDiva matching[/li][ul]
[li]site:boards.straightdope.com inanchor:TubaDiva “Perfect Master”|“Gaudere’s Law”|felching|“The Grapist”|“Hi, Opal”|“Invisible Pink Unicorn”|“Junior Modding”|MMP|“1920s Style Death Ray”|“Penis ensues”|RO|Threadshitting|“When come back bring pie”[/li][/ul]
[li]Conversations involving Charter Members but not Guests. elitism++[/li][ul]
[li]site:boards.straightdope.com -Guest +“Charter Member”[/li][/ul]
[li]Moderator activity in the last day[/li][ul]
[li]site:boards.straightdope.com Moderator[/li][li]http://www.google.com/search?q=site:boards.straightdope.com Moderator&tbs=qdr:d[/li][/ul]
[li]In Memoriam. This query demonstrates using dashes to achieve quotes within quotes.[/li][ul]
[li]site:boards.straightdope.com Find-all-posts-written-by-(“Dirty Devil”|“poohpah chalupa”|Mimi|Persephone|Padeye|FixedBack|Toymaker|Ayesha|barracuda|indecisive1|Askia|Palikia|“David Simmons”|Reeder|RickQ|BarnOwl)[/li][/ul]
[li]All NSFW General Questions[/li][ul]
[li]site:boards.straightdope.com NSFW +“General Questions”[/li][/ul]
[li]Conversations involving Guests but not Charter Members or Members. Also filter out the static html archives. elitism–[/li][ul]
[li]site:boards.straightdope.com guest -“Charter Member” -Member -“View Full Version”[/li][/ul]
[li]A strange collection of threads with no authors[/li][ul]
[li]site:boards.straightdope.com guest -“Find all posts by” -“View Full Version”[/li][/ul]
[/LIST]