mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
62664d7252
Icons from herrlich TODO: Style it nicely ;-) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1689 6c8d7289-2bf4-0310-a012-ef5d649a1542
14 lines
439 B
JavaScript
14 lines
439 B
JavaScript
function handleResponse(){
|
|
if(http.readyState == 4){
|
|
var response = http.responseXML;
|
|
title=response.getElementsByTagName("title")[0].firstChild.nodeValue;
|
|
document.getElementsByName("title")[0].value=title;
|
|
}
|
|
}
|
|
function loadTitle(){
|
|
url=document.getElementsByName("url")[0].value;
|
|
if(document.getElementsByName("title")[0].value==""){
|
|
sndReq('/xml/util/getpageinfo_p.xml?actions=title&url='+url);
|
|
}
|
|
}
|