Forms for Portals: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
Everyone's personal web pages should get some love.  This project is a collection of forms to help you quickly access google, dictionary, wikipedia, imdb, maps, yellow pages, etc. from your own web pages.
Everyone's personal web pages should get some love.  This project is a collection of forms to help you quickly access google, dictionary, wikipedia, imdb, maps, yellow pages, etc. from your own web pages.


'''Google search'''
----
 
<htmlet>form_google</htmlet>
<htmlet>form_google</htmlet>
<pre>
<pre>
  <center>
  <FORM name="google" method=GET action="http://www.google.com/search" target="_top">
  <TABLE border=0 width=180 cellpadding=0 cellspacing=0>
<INPUT accesskey="g" TYPE=text name=q size="24" maxlength=255 value="">
    <FORM name="google" method=GET action="http://www.google.com/search" target="_top">
  <INPUT class="aButton" type=submit name=btnG VALUE="Google">
    <tr>
<INPUT type=hidden name=num VALUE="20">
    <td align=left valign=center width=75%>
</FORM>
    <INPUT accesskey="g" TYPE=text name=q size="24" maxlength=255 value="">
</pre>
    </td>
 
    <td align=center valign=center width=25%>
----
    <INPUT class="aButton" type=submit name=btnG VALUE="Google">
 
     </td></tr>
<htmlet>form_dictionary</htmlet>
     <INPUT type=hidden name=num VALUE="20">
<pre>
    </FORM>
<form method="get" action="http://dictionary.reference.com/search" target="_top">
</td></tr>
<input type="hidden" name="db" value="*">
</TABLE>
<input accesskey="c" type="text" name="q" size="24" maxlength="50">
</center>
<input class="aButton" type="submit" value="Dictionary">
</form>
</pre>
 
----
 
<htmlet>form_wikipedia</htmlet>
<pre>
<!-- replace "go" with "fulltext" for a search instead - currently wikipedia has this disabled,tho -->
<FORM name="searchform" method=GET action="http://en.wikipedia.org/wiki/Special:Search" id="searchform" target="_top">
<input accesskey="w" id="searchInput" name="search" type="text" size=24 value="">
<input class="aButton" value="Wikipedia" type="submit" name="go">
</FORM>
</pre>
 
----
 
<htmlet>form_imdb</htmlet>
<pre>
<FORM action="http://www.imdb.com/find" method="GET" NAME="QSFORM" target="_top">
<INPUT type="hidden" name="s" value="all">
<INPUT accesskey="i" type="text" name="q" size="24">
<INPUT class="aButton" type="submit" value="IMDB" class=qsgo>
</form>
</pre>
 
----
 
<htmlet>form_googlemaps</htmlet>
<pre>
<form method="get" action="http://maps.google.com/maps" target="_top">
<input type=hidden name=f value=q>
<input type=hidden name=source value=s_q />
<input type=hidden name=hl value=en />
<input type=hidden name=geocode value="" />
<input accesskey="a" type=text name=q title="Search the map" size="24" />
<span id=so style=display:none>
     <select name=mrt />
        <option value=all selected=selected>All results</option>
     </select>
</span>
<input type=submit id=q_sub name=btnG tabindex=2 class="aButton" value="Google Maps" />
</form>
</pre>
 
----
 
<htmlet>form_yahooyellowpages</htmlet>
<pre>
<form name="yp" method="get" action="http://yp.yahoo.com/py/ypResults.py" target="_top">
<input accesskey="y" type=text name="stx" size=24>
<input class="aButton" type="submit" name="Submit" value="Yahoo Yellow Pages">
<input type="hidden" name="stp" value="a">
<input type="hidden" name="tab" value="B2C">
<!-- you'll want to adjust these for your location... -->
<INPUT TYPE="hidden" NAME="city" VALUE="Holly Springs">
<INPUT TYPE="hidden" NAME="state" VALUE="NC">
<INPUT TYPE="hidden" NAME="zip" VALUE="27540">
<INPUT TYPE="hidden" NAME="country" VALUE="us">
<INPUT TYPE="hidden" NAME="msa" VALUE="6640">
<INPUT TYPE="hidden" NAME="slt" VALUE="35.637900">
<INPUT TYPE="hidden" NAME="sln" VALUE="-78.836200">
<INPUT TYPE="hidden" NAME="cs" VALUE="5">
</form>
</pre>
</pre>

Revision as of 22:46, 4 March 2009

Everyone's personal web pages should get some love. This project is a collection of forms to help you quickly access google, dictionary, wikipedia, imdb, maps, yellow pages, etc. from your own web pages.


 <FORM name="google" method=GET action="http://www.google.com/search" target="_top">
 <INPUT accesskey="g" TYPE=text name=q size="24" maxlength=255 value="">
 <INPUT class="aButton" type=submit name=btnG VALUE="Google">
 <INPUT type=hidden name=num VALUE="20">
 </FORM>

<form method="get" action="http://dictionary.reference.com/search" target="_top">
<input type="hidden" name="db" value="*">
<input accesskey="c" type="text" name="q" size="24" maxlength="50">
<input class="aButton" type="submit" value="Dictionary">
</form>

<!-- replace "go" with "fulltext" for a search instead - currently wikipedia has this disabled,tho -->
<FORM name="searchform" method=GET action="http://en.wikipedia.org/wiki/Special:Search" id="searchform" target="_top">
<input accesskey="w" id="searchInput" name="search" type="text" size=24 value="">
<input class="aButton" value="Wikipedia" type="submit" name="go">
</FORM>

<FORM action="http://www.imdb.com/find" method="GET" NAME="QSFORM" target="_top">
<INPUT type="hidden" name="s" value="all">
<INPUT accesskey="i" type="text" name="q" size="24">
<INPUT class="aButton" type="submit" value="IMDB" class=qsgo>
</form>

<form method="get" action="http://maps.google.com/maps" target="_top">
<input type=hidden name=f value=q>
<input type=hidden name=source value=s_q />
<input type=hidden name=hl value=en />
<input type=hidden name=geocode value="" />
<input accesskey="a" type=text name=q title="Search the map" size="24" />
<span id=so style=display:none>
    <select name=mrt />
        <option value=all selected=selected>All results</option>
    </select>
</span>
<input type=submit id=q_sub name=btnG tabindex=2 class="aButton" value="Google Maps" />
</form>

<form name="yp" method="get" action="http://yp.yahoo.com/py/ypResults.py" target="_top">
<input accesskey="y" type=text name="stx" size=24>
<input class="aButton" type="submit" name="Submit" value="Yahoo Yellow Pages">
<input type="hidden" name="stp" value="a">
<input type="hidden" name="tab" value="B2C">
<!-- you'll want to adjust these for your location... -->
<INPUT TYPE="hidden" NAME="city" VALUE="Holly Springs">
<INPUT TYPE="hidden" NAME="state" VALUE="NC">
<INPUT TYPE="hidden" NAME="zip" VALUE="27540">
<INPUT TYPE="hidden" NAME="country" VALUE="us">
<INPUT TYPE="hidden" NAME="msa" VALUE="6640">
<INPUT TYPE="hidden" NAME="slt" VALUE="35.637900">
<INPUT TYPE="hidden" NAME="sln" VALUE="-78.836200">
<INPUT TYPE="hidden" NAME="cs" VALUE="5">
</form>