Seesaaブログには、検索ボックスがついているが、デフォルト値が以下のようにYahoo検索になっているので、記事検索には使いにくい。
そこで、デフォルト値を記事のように変更しようと思う。
変更するには、Blog管理画面のデザイン→コンテンツから変更する。
検索のコンテンツを押して、右上のコンテンツHTML編集ボタンを押す。
以下のような部分があり、1行目に「checked="checked"」という箇所があると思うが、これがY!ウェブにチェックが入るためのコードである。
<td class="sASnone"><input type="radio" name="vs" value="" id="radio1<% content.id %>" checked="checked" /></td> <td class="sASweb"><label for="radio1<% content.id %>">ウェブ</label></td> <td class="sASnone"><input type="radio" name="vs" value="<% blog.page_url %>" id="radio2<% content.id %>" /></td> <td class="sASarticle"><label for="radio2<% content.id %>">記事</label></td>
つまり、それを3行目の「記事」に移してやれば良い。以下のような感じ。
<td class="sASnone"><input type="radio" name="vs" value="" id="radio1<% content.id %>" /></td> <td class="sASweb"><label for="radio1<% content.id %>">ウェブ</label></td> <td class="sASnone"><input type="radio" name="vs" value="<% blog.page_url %>" id="radio2<% content.id %>" checked="checked" /></td> <td class="sASarticle"><label for="radio2<% content.id %>">記事</label></td>