September 28, 2002

Searching subdomains with a Google search box

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.

Posted by xian at September 28, 2002 4:39 PM

try this in your sample search page:

input type=q value=" inurl:0001111"

insert the brackets start and finish too, of course.

the type is set to the same as the initial text taken from the text input, this way when you click submit it appends the " inurl:0001111" to the rest of whatever you want to search for (just as if it was typed into the google search box itself).

I haven't tested, but imagine you'd need the space before the inurl, as normal search syntax needs it, I think.

Posted by: prostistudent at November 1, 2003 4:46 AM
Other incoming links (via Technorati)

Hosted by Mediajunkie.

Sponsors
On this day in 2005
Wanted: better Netflix-blog integration: So I just returned Coffee and Cigarettes and Netflix invites me to give it some stars and maybe review it for my Netflix friends. I guess I can bother to improve their data and their ability to recommend things for me and my friends (not that I've ever yet relied on... (Weblog Concepts)
On this day in 2004
Finding a better metaphor: I think Annalee Newitz is onto a better frame for blogging than the tired old media-pundit sliver in her Techsploitation column in the SF Bay Guardian: reality TV. It seems in many ways as if our entire media culture is devoted to broadcasting ephemera. Blogs, like reality TV, record the minutiae... (Weblog Concepts)
On this day in 2003
Imminent death of blogging predicted -Film at 11: Written in the mode of a jaded Internet old-timer (how weak is that?), a New York Press Media & Politics item points out the deep irrelevance of weblogs, noting that they are "a circle jerk" and that the best bloggers long to be media columnists like ol' no-signature who penned the... (Journalism)
Microsoft, Apple blog plans?: The Blog Herald reads about a panel at the upcoming Microsoft PDC conference and predicts that MS will roll out a blogging tool as part of MSN or SharePoint. SharePoint 2003 includes a "Web Log" web package for including a blog-like element in a SharePoint collaborative website, but it's only semibakes... (Products)
Substantial blogging at Edwards site: Mike Kasper from EdwardsforPrez.com (an unofficial Edwards-supporter site) followed up my comment from a few days ago about John Edwards writing some of his own blog entries. I compared his first efforts to cat-blogging, in the sense of journal- or diaristic entries. I actually think that's a good place to start... (Politics)