記事の件数が増えてきて、自分でも探すのが大変になってきたので
「サイト内を検索」できるようにしてみました。

左側のサイドバーに「検索」というのを作ってありますので、
そこに検索キーワードを入力するとこのBlog内の検索をしてくれます。

ただし検索エンジンにはGoogle(日本版)を使ってますんで、
Googleのクローラにまだ反映されてない記事、キーワードについては
検索できません。

このスクリプトは「うたたね雑記」さんの「ブログ内検索」を参考にさせてもらいました。

そちらではヤプログでのやり方が載っていますが、リストの反映の仕方以外はココログでもそのまま利用できます。

ありがとうございます。

手順についても少し書いておきましょう。

(1)Googleにサイト登録する。
「サイトの登録/削除」
もちろん無料です。

(2)ココログの管理メニューから
「TOP」→「マイリスト」を選び、
「マイリストの新規作成」で「リストのタイプ」を「リンク」に、
「リストの名前」を任意のものに(ここでは「検索」にしました)
して新規作成。

(3)そのリスト「検索」をクリックし、
「設定」→「2.高度な設定」で
「メモの表示」を「テキスト表示」にし、「変更を保存」

(4)「検索」の「管理」から
「URL を入力すると、新しいリンクを簡単に追加できます。」
のテキストボックスに何も入力しないでそのまま「追加」を押す。

(5)「タイトル」「URL」「メモ」の入力欄が現れるので、それぞれ

「タイトル」: 任意のもの(ここでは「サイト内検索」)
「URL」  :空欄にします。
「メモ」 :以下の色の違う部分をコピペして入力してください

と入力し、「保存して反映」を押す。

(出来たら下のソースは一旦メモ帳などにコピペしてから、「メモ」の欄に再度コピペしてください)

<!– Google –>
<form method=GET action=”http://www.google.co.jp/search”>
<input type=”text” name=”q” size=”5″ maxlength=”255″ style=”width:95px;” />
input type=hidden name=hl value=”ja”>
<input type=hidden name=ie value=UTF-8>
<input type=submit name=btnG value=”検索”>
<input type=”hidden” name=”domains” value=”★ブログURL★” />
<input type=”hidden” name=”sitesearch” value=”★ブログURL★” />
</form>
<!– Google –>

★に囲まれた部分はあなたのブログのアドレスを半角英数字で入力します。
注意するのは、そのアドレスを「/スラッシュ」で締めくくらない事。
僕のブログの場合
○「 http://blackpepper.cocolog-nifty.com 」
×「 http://blackpepper.cocolog-nifty.com/ 」
でした。

(6)「マイリスト」の設定が終わったので、
「ウェブログ」→「デザイン」から「コンテンツ」で今作った
マイリストをリストに加えて「変更を保存」

(7)「ウェブログ」→「デザイン」から「並べ方」で置きたい位置に
リストを設定する。

*この部分にはFlashの機能を使っているのでFlashプラグインが使えるブラウザが必要になります。

以上です。

検索はついていた方がやはり便利ですね。
使ってみてください。

・参考サイト 「うたたね雑記」より「ブログ内検索」







関連記事(試験運用中)

  • No related posts




  • コメント/トラックバック:8 個 »

    トラックバックURL: http://blackpepper.oops.jp/wp/archives/1081/trackback


    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 62

    トラックバック & ピンバック

    1. Blog内検索など

      Blogは思いついた記事を都度書き込んでいく適時性が持ち味だと感じる。人間の注意

      トラックバック by The Shira Blog — 2005/8/28 日曜日 @ 21:55

    2. サイト内検索フォーム設置

      どれくらい役立つか未だ判らないが、「サイト内検索」、つまり、本サイト http

      トラックバック by nouse — 2005/8/31 水曜日 @ 18:52


    コメント


      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    1. 検索あるとべんりですよね~
      楽天やめるときに検索がついてるところを探しました。
      新着リスト外せるのと。

      コメント by pglove — 2004/9/11 土曜日 @ 17:46


    2. Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    3. >pgloveさん

      お久しぶりです。
      そうですか~。
      やっぱり自分で使ってて
      「不便だな」と感じた点は次のとき
      気をつけますよね。

      検索はさすがにほとんどのBlogでついてますね。基本的な機能ですね。

      コメント by Black Pepper — 2004/9/11 土曜日 @ 17:53


    4. Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    5. トラックバックありがとうございます。
      はじめまして、うたねと申します。

      ブログ内検索は、設置者自身が一番重宝してしてたりするんですよね…。。。
      私もそのために色々調べた結果を備忘録として残しておいたのですが…。(でもお役に立てたようで、凄まじく嬉しいですv)

      コメント by うたね — 2004/9/11 土曜日 @ 18:30


    6. Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    7. はじめまして。
      サイト内検索、便利そうだなぁと思って
      参考にさせていただきました!

      ベーシックでも色々やってる方がいて
      勉強になります~。

      まだ反映されてないので実感できませんが
      これで便利になるはず♪
      ありがとうございました!

      コメント by すみ — 2004/9/12 日曜日 @ 19:35


    8. Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    9. http://www.aivy.co.jp/BLOG_TEST/nagasawa/archives/2004/09/913.html

      エントリーとは直接関係ないけど、
      モダシンさんのところで取り上げられていますね。

      コメント by yuta — 2004/9/13 月曜日 @ 15:26


    10. Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87

      Deprecated: Function ereg() is deprecated in /home/users/1/oops.jp-blackpepper/web/wp/wp-content/themes/glosyblue-1-3/comments.php on line 87
    11. >うたねさん

      ありがとうございます。うたねさんのページはとてもわかりやすくて
      迷うことなく、検索の機能がつけられました。
      確かに備忘録って設置した本人が一番必要としているものですよね(笑)。

      そちらにはGoogle(米国版)での修正版の手順も載っていましたが、ココログの場合(サブドメインの関係で)この手順でいっても特に不都合はないようです。

      ありがとうございました。

      >すみさん

      はじめまして。
      あまり手をかけていないので、まだ完全かどうかわからないものなのですが、
      設置自体は問題なかったようで、しかも喜んでいただけてうれしいです。

      ベーシックでいろいろ知恵を絞るのも面白いですよね。
      ありがとうございます。

      >yutaさん

      トラックバックでも知りました。
      Modern Syntaxさんのところはすごく丁寧に書いてもらえて、、、
      光栄です。
      今日はなぜかBlog Peopleにも選ばれたりとこっち方面に関しては
      ラッキーな日なんです。

      コメント by Black Pepper — 2004/9/13 月曜日 @ 16:17

    コメントをどうぞ

    コメント、トラックバックは確認後に表示されます。しばらくお待ちくださいね。

    段落や改行は自動挿入です。メールアドレスはサイト上では非表示です。
    使用できる HTML タグ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>