我的谷歌自定义搜索引擎有问题。我只想在我的搜索引擎顶部显示最新的帖子。但现在是从 2009 年到 2013 年。我想从 2013 年到 2009 年展示它。
这是我的搜索框代码,
<div id="google_search_main">
<form id="cse-search-box" action="/pages/other/search_results.html">
<input type="hidden" name="cx" value="xxxxxxxxxxxxxx" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="UTF-8" />
<LookAndFeel text_font="Arial, sans-serif"/> <Logo />
<table cellspacing="0" cellpadding="0" border="0">
<tr> <!-- Commenting out the 100 icon -->
<td valign="middle"><input name="q" type="text" id="google_custom_search_0" class="google_search_img" style="border:1px solid #d0cece;width:<?php echo $width; ?>px;height:26px;line-height:26px;margin-top:0px;" />
</td>
<td valign="middle"><input type="image" src="<?php echo $path; ?>images/go_button.gif" name="sa" value="Go" /></td>
</tr>
</table>
</form>
</div>
这是我的代码片段,
<div id="results_xxxxxxxxx:9bykknrld80" style="width:100%"></div>
<script type="text/javascript">
var googleSearchIframeName = "results_xxxxxxxxxxxx:9bykknrld80";
var googleSearchFormName = "searchbox_xxxxxxxxxxxx:9bykknrld80";
var googleSearchFrameWidth = 824;
var googleSearchFrameborder = 0;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="'/cse'/brand'?form='cref" ></script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
帮我找到这个问题的解决方案。
谢谢