OT: Useful start page

Nigel Ridley nigel at prayingforisrael.net
Mon Feb 2 17:14:59 UTC 2009


O. Sinclair wrote:
> Nigel Ridley wrote:
>> Nigel Ridley wrote:
>>> Hi guys& gals,
>>>
>>> I've been using the following for ages now and find it very useful. I think the original version 
>>> came with Libranet (an old Linux distro that has now gone the way of the Dodo).
>>> Perhaps someone would care to debug the 'Kubuntu Forums search' form as I can't get it to return 
>>> a search query (my PHP is nearly non-existent).
>>>
>>> So here it is:
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html>
>>> <head>
>>> <title>Local Start Page</title>
>>> </head>
>>> <body onload="document.getElementById('Kubuntu').focus()">
>>>
>>> <h3>Useful search start page</h3>
>>>
>>> <p>
>>> This is a local page to avoid using the network on disconnected machines.<br />
>>> </p>
>>>
>>> <p>
>>> <a href="http://www.oreillynet.com/linux/cmd/">O'RIELLY Linux Commands</a>
>>> <br />
>>> <br />
>>> </p>
>>>
>>> <p>
>>> <a href="http://kubuntuforums.net/forums/index.php?" >Kubuntu Forum Search</a>
>>> </p>
>>> <form action="http://kubuntuforums.net/forums/index.php?action=search2" method="get" 
>>> accept-charset="ISO-8859-1">
>>> <p>
>>> <input type="text"   name="q" size="31" maxlength="256" id="Kubuntu" />
>>> <input type="submit" value="Search" />
>>> </p>
>>> </form>
>>>
>>> <p>
>>> <a href="http://www.google.com/linux">Google Linux Search</a>
>>> </p>
>>> <form action="http://www.google.com/linux" method="get">
>>> <p>
>>> <input type="text"   name="q" size="31" maxlength="256" id="Linux" />
>>> <input type="hidden" name="restrict" value="linux" />
>>> <input type="submit" value="Search" />
>>> </p>
>>> </form>
>>>
>>> <p>
>>> <a href="http://www.google.com/imghp?hl=en&ie=UTF-8&oe=UTF-8&q=&tab=wi">Google 
>>> Image Search</a>
>>> </p>
>>>
>>> <form action="http://www.google.com/images" method="get" id="google">
>>> <p>
>>> <input type="text"   name="q" size="31" maxlength="256" id="google-input" />
>>> <input type="submit" value="Search" />
>>> </p>
>>> </form>
>>>
>>> <p>
>>> <a href="http://www.youtube.com/?hl=en&tab=w1">YouTube Search</a>
>>> </p>
>>>
>>> <form action="http://www.youtube.com/results?search" method="get" id="google">
>>> <p>
>>> <input type="text"   name="q" size="31" maxlength="256" id="google-input" />
>>> <input type="submit" value="Search" />
>>> </p>
>>>
>>> </form>
>>>
>>> <p>
>>> <a href="http://www.google.com/">Google General Search</a>
>>> </p>
>>>
>>> <form action="http://www.google.com/search" method="get" id="google">
>>> <p>
>>> <input type="text"   name="q" size="31" maxlength="256" id="google-input" />
>>> <input type="submit" value="Search" />
>>> </p>
>>> </form>
>>>
>>> <p>
>>> <a href="http://directory.google.com/">Google Web Directory</a>
>>> </p>
>>>
>>> <form action="http://www.google.com/search" method="get">
>>> <p>
>>> <input type="hidden" name="cat" value="gwd/Top" />
>>> <input type="text"   name="q" size="31" maxlength="256" value="" />
>>> <input type="submit" value="Search" />
>>> </p>
>>> </form>
>>>
>>> </body>
>>> </html>
>>>
>>>
>> Oops! I should have said to save the above as 'start_page.html' or something similar, and point 
>> your browser of choice to it, then use it as your 'Home Page'.
>>
>> I hope it's useful...
>>
>> Blessings,
>>
>> Nigel
>>
>>
> Nice one, thanks! I saved it and have every intention of using it as 
> start for Firefox - and possibly add some stuff to it later
> 
> Sinclair
> 

Just a reminder that the 'Kubuntu Forums' search only takes you to the search page. I haven't 
managed to figure out the code to do an actual search from the 'Start Page'.
Somebody want to debug it?

Blessings,

Nigel





More information about the kubuntu-users mailing list