[OWW-SC] Minimal Google "Local Search" is now available for testing

Bill F bill.altmail at gmail.com
Wed Feb 13 18:14:24 EST 2008


(This page can be found at the following URL:
http://openwetware.org/wiki/OpenWetWare:Software/Projects/Local_Search)

The Local Search feature is accessed via a template: There currently are no
arguments required. Just drop in the tag and you have a local search box.
It's not elegant but it works pretty well.

{{GoogleSearch}}

Please post any comments on the following discussion page:

http://openwetware.org/wiki/OpenWetWare:Software/Projects/Local_Search/Discussion

Please use this as the way you deploy the search. If you look inside of it,
you will note that there is a  single  parser  tag, <google />. Please use
the template rather than the tag. As i add aditional parameters, I'll
continue to support the template.

Just place the following tag anywhere in a page hierarchy and it will create
a search box that will only search the hierarchically descending pages.

Thanks once more to Austin for suggesting this approach. And thanks to
Google for religiously searching OWW on a regular basis to make it possible.

There are a few enhancement I'm going to add next.

1. When you hit search with nothing in the box, Google currently will return
all of the pages. This isn't a bad thing but it's not necessary. Instead,
hitting search with nothing in the search box will do.....

nothing!

2. This won't immeiately work for private wikis. I'm adding support so that
it will locate the current website next. This isn't a big deal but it's
useful enough that Barry may want to use it in his private wiki and
currently won't be abe to.

3. Google provides a more exensive Javascript library to allow more complex
search features. I'll add support for this when I have time. This is a low
priority.

4. Currently,the pages returned are displayed on Google's website. I want to
redirect the content back to a local OWW page so that there won't be a
jarring experience of searcing and leaving then returning. I can use an html
iframe for this but I hate to do this for security reasons. The good thing
is that the results will always be limited to OWW so this may not be a huge
problem.

After clearing this up, I'll take my 'experience' in seeing how people use
this back to the native OWW search engine and see if we can better handle
results in a more timely manner.

Thanks.

B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/oww-sc/attachments/20080213/98db522c/attachment.htm


More information about the OWW-SC mailing list