作者chhs (星风写语)
看板Blog
标题Re: [Blogger] 搜寻不到文章
时间Wed Sep 9 16:52:58 2009
※ 引述《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)