OT: Adding "kubuntu-users mailing list" to a search box

Nigel Ridley nigel at prayingforisrael.net
Sat Feb 28 08:06:58 GMT 2009


Matthew Flaschen wrote:
> Nigel Ridley wrote:
>>> As I don't use FF I cannot give you the exact answer but this should help 
>>> you!
> 
> What does it have to do with Firefox?
> 
>> After typing 'wireless' into the search box I get:
>> http://www.google.com/search?q=wireless
> 
> Nigel, it's not very efficient if you just guess and copy other people's
> code without understanding.  HTML forms are well worth learning.  I
> suggest you go through a tutorial, such as
> http://www.htmlgoodies.com/tutorials/forms/article.php/3479121 .
> Anyway, what you want is:
> 
> <form
>    action="http://www.google.com/search"
>    method="get" id="google_general">
>   <p>
>     <input type="hidden" name="sitesearch"
> value="lists.ubuntu.com/archives/kubuntu-users/"/>
>     <input type="text"   name="q" size="31" maxlength="256"
> id="google_general-input" />
>     <input type="submit" value="Search" />
>   </p>
> </form>
> 
> Matt Flaschen
> 
Thanks Matt. Your code is nice and 'clean'. I had already looked at howto's on html forms but 
couldn't find anything specific about how I wanted to adapt mine.

Blessings,

Nigel




More information about the kubuntu-users mailing list