Searching subdomains with a Google search box

· Weblog Concepts

Aha! I asked the question about non-root level addresses in the Google search box code in the comments on John Robb’s blog and Brian Buck supplied part of the answer:

site:blogs.salon.com inurl:0001111 rss

This will do a search on Radio Free Blogistan for the keyword rss.

P.S.: The google search operators page — I’ve got this bookmarked.

I’m going to try this now. I think I’ll replace the calendar with it. … Hmm, it’s a little trickier than I first thought. The sample code John supplies gives his domain URL twice. I’m not sure where to invoke the inurl value, but I’ll play around with it and see if I can get it working. Right now I’ve got the sample search box offsite at http://memewatch.com/blogistan/search.html.