You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/js/WatchCrawler.js

27 lines
966 B

function handleResponse(){
if(http.readyState == 4){
var response = http.responseXML;
indexingTable=document.getElementById("indexingTable");
entries=response.getElementsByTagName("entry");
for(i=0;i<entries.length;i++){
row=document.createElement("tr");
//simply add all fields chronologically
//TODO: add them by Name
field=entries[i].firstChild;
while(field != null){
if(field.nodeType == 1 && field.nodeName != "inProcess"){//Element
col=document.createElement("td");
text=document.createTextNode(field.firstChild.nodeValue);
col.appendChild(text);
row.appendChild(col);
}
field=field.nextSibling;
}
indexingTable.appendChild(row);
}
}
}
sndReq("/xml/queues/indexing_p.xml");