Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
LiveUpdate. (this does not work correctly at the Moment :-/)
allo749f44d144ba
diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.jsindex 7fd92de1c..761503390 100644--- a/htroot/js/WatchCrawler.js+++ b/htroot/js/WatchCrawler.js@@ -3,6 +3,16 @@ function handleResponse(){var response = http.responseXML;indexingTable=document.getElementById("indexingTable");entries=response.getElementsByTagName("entry");++ //skip the Tableheade+ row=indexingTable.firstChild.nextSibling.nextSibling;++ while(row != null){ //delete old entries+ indexingTable.removeChild(row);+ row=indexingTable.firstChild.nextSibling.nextSibling;+ }++ dark=false;for(i=0;i<entries.length;i++){row=document.createElement("tr");@@ -10,7 +20,7 @@ function handleResponse(){//TODO: add them by Namefield=entries[i].firstChild;while(field != null){- if(field.nodeType == 1 && field.nodeName != "inProcess"){//Element+ if(field.nodeType == 1 && field.firstChild!=null && field.nodeName != "inProcess"){//Elementcol=document.createElement("td");text=document.createTextNode(field.firstChild.nodeValue);col.appendChild(text);@@ -18,9 +28,14 @@ function handleResponse(){}field=field.nextSibling;}-+ if(dark){+ row.setAttribute("class", "TableCellDark");+ }else{+ row.setAttribute("class", "TableCellLight");+ }indexingTable.appendChild(row);+ dark=!dark;}}}-sndReq("/xml/queues/indexing_p.xml");+window.setInterval("sndReq('/xml/queues/indexing_p.xml')", 5000);