@ -3,10 +3,9 @@
< head >
< title > YaCy Interactive Search< / title >
#%env/templates/metas.template%#
< script type= "text/j avascript">
< script language= "J avascript">
//< ![CDATA[
function xmlhttpPost() {
var searchform = document.forms['searchform'];
search(searchform.query.value);
}
@ -20,7 +19,7 @@ function search(query) {
else if (window.ActiveXObject) { // IE
self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
}
self.xmlHttpReq.open('GET', "yacysearch.json?verify=false& resource=local& maximumRecords=100& query=" + query, true);
self.xmlHttpReq.open('GET', "yacysearch.json?verify=false& resource=local& maximumRecords=100& query=" + query, true);
self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
self.xmlHttpReq.onreadystatechange = function() {
if (self.xmlHttpReq.readyState == 4) {
@ -90,7 +89,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
#%env/templates/embeddedheader.template%#
#(/display)#
< form class = "search small" id = "searchform" action = "get" onkeyup = "xmlhttpPost(); return false;" >
< form class = "search small" name = "searchform" action = "yacyinteractive.html" method = "get" onkeyup = "xmlhttpPost(); return false;" >
< h2 > #[promoteSearchPageGreeting]#< / h2 >
< div class = "yacylogo" >
< a href = "#[promoteSearchPageGreeting.homepage]#" class = "yacylogo" > < img src = "#[promoteSearchPageGreeting.smallImage]#" alt = "yacysearch" / > < / a >