看板 Blog 關於我們 聯絡資訊
※ 引述《presto (我是無敵小機嘎)》之銘言: : 我的方法是在側邊欄加入某板友提供的語法: : <form id="searchthis" action="http://xxxxx.blogspot.com/search" : style="display:inline;" method="get"> : <input id="b-query" maxlength="153" name="q" size="10" type="text"/> : <input id="b-searchbtn" value="搜尋" class="blue" type="submit"/> : </form> : 最近幾周都沒辦法正常搜尋, : 某些文章可以搜尋的到,但是有些明明網誌裡就有的文章它就是搜尋不到, : 其實這種情況以前也有發生幾次,但過沒幾天就會恢復, : 這次不知道為什麼好像永遠好不了的樣子, : 請問有人知道原因嗎?或是大家有相同的問題嗎? : 沒有搜尋功能的話,在找blogger之前的文章來說相當麻煩, : 「較舊的文章」這項功能非常不方便, : 不知道大家都怎麼管理舊文,方便尋找? 不知道問題還存在? 剛好去翻Abin的網誌 內嵌搜尋引擎來做 Blog 的全文搜尋 (Blog Search) http://abintech.twidv.com/2006/11/blog-blog-search.html google搜尋: <form method="get" action="http://www.google.com/search"> <input type="text" name="q" maxlength="255" size="32" value="Google search"> <input type="hidden" name="sitesearch" value="abintech.blogspot.com"> <input type="submit" name="btnG" value="Google search"> </form> 其中 32是輸入文字框的大小,看要不要改成10就跟你原本的一樣格式 Google search是搜尋框的預設文字(可以不要加) abintech.blogspot.com改成你的網址 Google search是按鈕上的文字 大概長這樣http://screensnapr.com/u/eeda7c.png
看起來也很乾淨(不過搜尋頁面也是跑到google去) 看要不要多放一個 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.117.65.100 ※ 編輯: chhs 來自: 122.117.65.100 (09/09 16:57)