Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added a link to /api/util/getpageinfo_p.xml as API to crawl start info and to ViewFile.html
orbiterff3246927291
diff --git a/htroot/CrawlStartExpert_p.html b/htroot/CrawlStartExpert_p.htmlindex 944bd1405..5d0d55fcc 100644--- a/htroot/CrawlStartExpert_p.html+++ b/htroot/CrawlStartExpert_p.html@@ -17,6 +17,9 @@</style></head><body id="IndexCreate">++<div id="api"></div>+#%env/templates/header.template%##%env/templates/submenuIndexCreate.template%#<h2>Expert Crawl Start</h2>diff --git a/htroot/CrawlStartSite_p.html b/htroot/CrawlStartSite_p.htmlindex 70ab6f426..bdcfc89c7 100644--- a/htroot/CrawlStartSite_p.html+++ b/htroot/CrawlStartSite_p.html@@ -17,6 +17,9 @@</style></head><body id="IndexCreate">++<div id="api"></div>+#%env/templates/header.template%##%env/templates/submenuIndexCreate.template%#<h2>Site Crawling</h2>diff --git a/htroot/ViewFile.html b/htroot/ViewFile.htmlindex 0f4a511f7..6b706999c 100644--- a/htroot/ViewFile.html+++ b/htroot/ViewFile.html@@ -7,6 +7,14 @@<script type="text/javascript" src="/js/highslide/highslide.js"></script></head><body>++<div id="api">+<a href="http://localhost:8090/api/util/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 url.</span>+</div>+#(display)##%env/templates/simpleheader.template%#::diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.jsindex 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 = "<a href='http://localhost:8090/api/util/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>";+}