mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
automatically set the Q flag for smb/ftp start urls (split pdf support)
This commit is contained in:
parent
8600ea01dd
commit
d9603039ff
|
@ -77,7 +77,7 @@ function loadInfos() {
|
|||
document.getElementById("ajax").setAttribute("src",AJAX_ON);
|
||||
|
||||
url=document.getElementById("crawlingURL").value;
|
||||
//if (url.indexOf("ftp") == 0 || url.indexOf("smb") == 0) document.getElementById("crawlingQ").disabled=true; else document.getElementById("crawlingQ").disabled=false;
|
||||
if (url.indexOf("ftp") == 0 || url.indexOf("smb") == 0) document.getElementById("crawlingQ").checked = true; // since the pdf parser update for page separation, we need to set this
|
||||
sndReq('/api/getpageinfo_p.xml?actions=title,robots&url='+url);
|
||||
document.getElementById("api").innerHTML = "<a href='http://localhost:8090/api/getpageinfo_p.xml?actions=title,robots&url=" + url + "' id='apilink'><img src='/env/grafics/api.png' width='60' height='40' alt='API'/></a><span>See the page info about the start url.</span>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user