OT: Useful start page
Nigel Ridley
nigel at prayingforisrael.net
Tue Feb 3 02:32:11 UTC 2009
Matthew Flaschen wrote:
> Nigel Ridley wrote:
>> 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?
>
> Below is the full page, corrected. Your Kubuntu form was using get
> instead of post, and the input names were wrong. I also
> de-tag-soupified the page while I was at it.
>
> Matt Flaschen
>
> <?xml version="1.0" encoding="utf-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <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 id="searchform" name="searchform" method="post"
> action="http://kubuntuforums.net/forums/index.php?action=search2">
> <p>
> <input type="text" size="31" name="search"/>
> <input type="submit" value="Search" name="submit"/>
> </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_images">
> <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="youtube-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_general">
> <p>
> <input type="text" name="q" size="31" maxlength="256"
> id="google_general-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>
>
Thanks Matthew!
It works great :-)
Blessings,
Nigel
More information about the kubuntu-users
mailing list