2012-12-13 117 views
0

我正在使用Google的鏈接自定義搜索引擎。以下是我的代碼。但我無法獲得任何結果。我正在嘗試搜索一個網站www.penmai.com。請找到 http://niranjan.99k.org/wa/cref_cse.xmlGoogle Custom Search僅返回「無結果」

<html> 
    <head> 
     <form id="cref" action="http://www.google.com/cse"> 
      <input type="hidden" name="cref" value="http://niranjan.99k.org/wa/cref_cse.xml" /> 
      <input type="text" name="q" size="40" /> 
      <input type="submit" name="sa" value="Search" /> 
     </form> 

    </head> 
    <body> 
     <script type="text/javascript" src="http://www.google.com/cse/brand?form=cref"></script> 
<!-- Google CSE Search Box Ends --> 
    </body> 
</html> 

回答

0

的問題是與您試圖獲取從數據的位置.. CSE只託管的網頁作品,而不是像.XML

文件
相關問題