www.nilab.info 内の検索には Google より Yahoo! のほうが精度が良かった (というかGoogleはうちのサイトの深いところをクロールしてくれない) のでヤフー検索窓も設置してみた。

検索フォーム

HTMLコードはこんな感じ。


<!-- SiteSearch Yahoo : since 2007-10-08 -->
 
<form method="get" action="http://search.yahoo.co.jp/search" target="_top">
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
</td>
<td nowrap="nowrap">
<label for="ysbi" style="display: none">検索用語を入力</label>
<input type="text" name="p" size="31" maxlength="255" value="" id="ysbi"></input>
<label for="ysbb" style="display: none">検索フォームを送信</label>
 
<input type="submit" value="Yahoo! 検索" id="ysbb"></input>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="vs" value="" id="yss0"></input>
 
<label for="yss0" title="ウェブ検索"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="vs" value="www.nilab.info" checked id="yss1"></input>
<label for="yss1" title="検索 www.nilab.info"><font size="-1" color="#000000">www.nilab.info</font></label></td>
</tr>
</table>
<input type="hidden" name="fr" value="yjdnqp"></input>
<input type="hidden" name="ei" value="EUC-JP"></input>
 
</td></tr></table>
</form>
<!-- SiteSearch Yahoo -->

# いまだにEUC-JP

Ref. Yahoo!デベロッパーネットワーク - 検索パラメータ仕様 - Yahoo!検索(ウェブ検索)

tags: zlashdot Zura YahooJapan

Posted by NI-Lab. (@nilab)