From ff3246927291254521d381c3ca3fab1345ae6742 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 14 Nov 2011 20:19:41 +0000 Subject: [PATCH] added a link to /api/util/getpageinfo_p.xml as API to crawl start info and to ViewFile.html git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8035 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/CrawlStartExpert_p.html | 3 +++ htroot/CrawlStartSite_p.html | 3 +++ htroot/ViewFile.html | 8 ++++++++ htroot/js/IndexCreate.js | 2 ++ 4 files changed, 16 insertions(+) diff --git a/htroot/CrawlStartExpert_p.html b/htroot/CrawlStartExpert_p.html index 944bd1405..5d0d55fcc 100644 --- a/htroot/CrawlStartExpert_p.html +++ b/htroot/CrawlStartExpert_p.html @@ -17,6 +17,9 @@ + +
+ #%env/templates/header.template%# #%env/templates/submenuIndexCreate.template%#

Expert Crawl Start

diff --git a/htroot/CrawlStartSite_p.html b/htroot/CrawlStartSite_p.html index 70ab6f426..bdcfc89c7 100644 --- a/htroot/CrawlStartSite_p.html +++ b/htroot/CrawlStartSite_p.html @@ -17,6 +17,9 @@ + +
+ #%env/templates/header.template%# #%env/templates/submenuIndexCreate.template%#

Site Crawling

diff --git a/htroot/ViewFile.html b/htroot/ViewFile.html index 0f4a511f7..6b706999c 100644 --- a/htroot/ViewFile.html +++ b/htroot/ViewFile.html @@ -7,6 +7,14 @@ + +
+ +API + +See the page info about the url. +
+ #(display)# #%env/templates/simpleheader.template%# :: diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js index 41f7f5378..ab687bd2d 100644 --- a/htroot/js/IndexCreate.js +++ b/htroot/js/IndexCreate.js @@ -76,4 +76,6 @@ function loadInfos() { 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; sndReq('/api/util/getpageinfo_p.xml?actions=title,robots&url='+url); + document.getElementById("api").innerHTML = "APISee the page info about the start url."; + }