Googleでサイト内検索
Googleの検索ボックスを追加してみた。
試しにいくつかのキーワードで検索してみたが、
まぁ、そこそこ表示されるキーワードもある。
少しは便利になるかな?
追加したコードは、概ね次のとおり。
<!-- SiteSearch Google -->
<form method=get action="http://www.google.co.jp/search">
<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" width="100%">
<tr><td nowrap align="center">
<a href="http://www.google.co.jp/">
<img src="http://www.google.co.jp/intl/ja/logos/Logo_25wht.gif" border="0" alt="Google" align="absmiddle">
</a>
</td></tr>
<tr><td nowrap align="center">
<input type=text name=q size=22 maxlength=255 value="">
</td></tr>
<tr><td nowrap align="center">
<input type=submit name=btnG value="Google 検索">
</td></tr>
<tr><td nowrap align="center">
<input type=radio name=sitesearch value="">WWW を検索<br />
<input type=radio name=sitesearch value="http://okazu.air-nifty.com/" checked>ブログ内を検索
<input type=hidden name=domains value="http://okazu.air-nifty.com/">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8><input type=hidden name=hl value="ja">
</td></tr>
</table>
</form>
<!-- SiteSearch Google -->
参考:
リンク、検索機能を追加(http://www.google.co.jp/intl/ja/searchcode.html) - Google内
« VMware Playerのスナップショット管理ツール「NMH」 | トップページ | Windows XPをセーフモードで起動する »
「パソコン・インターネット」カテゴリの記事
- モッピー(moppy)に登録したので広告(2013.10.12)
- VMware PlayerのBIOS画面表示(2012.12.10)
- ウイルスバスターのポップアップ広告を消す(2012.06.25)
この記事へのコメントは終了しました。
« VMware Playerのスナップショット管理ツール「NMH」 | トップページ | Windows XPをセーフモードで起動する »
コメント