修正google scholar搜索结果显示
This commit is contained in:
parent
ca027fa17b
commit
a40e920c91
|
@ -243,9 +243,9 @@ endforeach;
|
|||
<div id="gsearch">
|
||||
<ul id="searchctrl">
|
||||
<li><a href="javascript:;" class="googlesearch">Google搜索</a></li>
|
||||
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
||||
<li><a href="javascript:;" class="bingsearch">BING搜索</a></li>
|
||||
<li><a href="javascript:;" class="cnkiSearch">CNKI搜索</a></li>
|
||||
<li><a href="javascript:;" class="scholar">Google学术搜索</a></li>
|
||||
<li><a href="javascript:;" class="cnkiSearch">CNKI学术搜索</a></li>
|
||||
</ul>
|
||||
<ul id="searchlist">
|
||||
</ul>
|
||||
|
@ -480,7 +480,7 @@ function scholarSearch(keyword){
|
|||
items.push('<li>' + obj.error + '</li>');
|
||||
}else{
|
||||
$.each(obj.result, function(key, val) {
|
||||
var html = '<p><a href="' +val['url']+'" target="_blank">'+val['title']+'</a></p>'
|
||||
var html = val['title']
|
||||
+'<p>'
|
||||
+val['content']
|
||||
+'</p>';
|
||||
|
|
Loading…
Reference in New Issue