OT: Adding "kubuntu-users mailing list" to a search box - Solved!
Nigel Ridley
nigel at prayingforisrael.net
Fri Feb 27 20:05:31 UTC 2009
Nils Kassube wrote:
> Nigel Ridley wrote:
>> I'm still playing with my 'home' page for Firefox and thought that it
>> would be a good idea to be able to add "kubuntu-users mailing list"
>> to the search box below so that I could just type in my search
>> word/phrase and get results just from the kubuntu-users mailing list.
>>
>> Any ideas how to implement it? I did try a few experiments but
>> nothing worked so far :-(
>
> You could experiment with something like the original google page for
> advanced search. That would
> add "&as_epq=kubuntu-users+mailing+list&as_sitesearch=lists.ubuntu.com"
> to your query. I don't know much about HTML but maybe this works for
> you:
>
> <input name=as_epq type=hidden value=kubuntu-users+mailing+list>
> <input name=as_sitesearch type=hidden value=lists.ubuntu.com>
>
>
> Nils
>
Thanks Nils - that did it :-) I had to 'edit' your code a bit but the theory was spot on.
It now looks like this:
[code]
<p>
Google Kubuntu-users mailing list Search
</p>
<form action="http://www.google.com/search" method="get">
<p>
<input type="text" name="q" size="31" maxlength="256" id="kubuntu_list" />
<input type="hidden" name="as_epq" value="kubuntu-users+mailing+list">
<input type="hidden" name="as_sitesearch" value="lists.ubuntu.com">
<input type="submit" value="Search" />
</p>
</form>
[code]
Many blessings,
Nigel
More information about the kubuntu-users
mailing list