1 |
maillog: 22/11/2005-03:53:22(+0100): Thomas de Grenier de Latour types |
2 |
> On Tue, 22 Nov 2005 01:11:14 +0000 |
3 |
> Mike Frysinger <vapier@g.o> wrote: |
4 |
> |
5 |
> > On Tue, Nov 22, 2005 at 01:53:01AM +0100, Ingo Bormuth wrote: |
6 |
> > > |
7 |
> > > - Where is the "Search for ______ in section ______" field ? I |
8 |
> > > would expect it somewhere on the top. See http://php.net for a |
9 |
> > > good and tiny one. |
10 |
> > |
11 |
> > ah, excellent idea ... we get people who ask for this from time |
12 |
> > to time in bugzilla ... |
13 |
> |
14 |
> A good start could be to do that the quick and ugly way, thanks to |
15 |
> Google (with some "site:www.gentoo.org/some/thing/" and other black |
16 |
> magic in the query terms). It saves implementation of a real local |
17 |
> search engine, and actually works surprinsingly fine. That's what i |
18 |
> use in some ConQuery search plugins (a Firefox extension): |
19 |
> http://forums.gentoo.org/viewtopic-t-380310.html |
20 |
> This screenshot shows the filters i have for www.g.o: |
21 |
> http://tdegreni.free.fr/gentoo/conquery/gentoo-simple-google-screenshot.png |
22 |
> (mailing search et al. are in other plugins, but sure in the case |
23 |
> of something like what is on php.net, it would be better in a |
24 |
> single form) |
25 |
|
26 |
And just in case someone decides to do it and is thinking about using |
27 |
JavaScript or some other magic to add "site:gentoo.org" to the query |
28 |
(the "q" parameter), you can supply "as_sitesearch" and "as_q" |
29 |
parameters instead of "q": |
30 |
|
31 |
<input type="text" name="as_q"/> |
32 |
<input type="hidden" name="as_sitesearch" name="gentoo.org"/> |
33 |
|
34 |
It would be cooler to get a personalized Google search, though. |
35 |
|
36 |
-- |
37 |
() Georgi Georgiev () Sometimes a man will tell his bartender () |
38 |
() chutz@×××.net () things he'll never tell his doctor. -- Dr. () |
39 |
() http://www.gg3.net/ () Phillip Boyce, "The Menagerie" ("The () |
40 |
() ------------------- () Cage"), stardate unknown. () |