From 8c1da27347505c5a09678e7ae93d1643e792006c Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 16 Sep 2010 22:04:14 +0000 Subject: [PATCH] - added more comments for user in site crawl servlet - added a disable/enable function in case that 'sitemap' is selected for functions that do (not) apply - better naming of menu items - limit default crawl depth git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7162 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/CrawlStartExpert_p.java | 2 +- htroot/CrawlStart_p.html | 24 +++++++++++++++++------- htroot/env/templates/header.template | 2 +- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/htroot/CrawlStartExpert_p.java b/htroot/CrawlStartExpert_p.java index 82ceaaeb5..ad2475193 100644 --- a/htroot/CrawlStartExpert_p.java +++ b/htroot/CrawlStartExpert_p.java @@ -43,7 +43,7 @@ public class CrawlStartExpert_p { //String repository = "http://" + ((a == null) ? "localhost:" + sb.getConfig("port", "8080") : a) + "/repository/"; prop.put("starturl", /*(intranet) ? repository :*/ "http://"); prop.put("proxyPrefetchDepth", env.getConfig("proxyPrefetchDepth", "0")); - prop.put("crawlingDepth", env.getConfig("crawlingDepth", "0")); + prop.put("crawlingDepth", Math.min(3, env.getConfigLong("crawlingDepth", 0))); prop.put("mustmatch", /*(intranet) ? repository + ".*" :*/ CrawlProfile.MATCH_ALL); prop.put("mustnotmatch", CrawlProfile.MATCH_NEVER); diff --git a/htroot/CrawlStart_p.html b/htroot/CrawlStart_p.html index 7a8753910..099b4317a 100644 --- a/htroot/CrawlStart_p.html +++ b/htroot/CrawlStart_p.html @@ -35,7 +35,8 @@
- + - +
Start URLStart URL
@@ -44,7 +45,8 @@ empty
Sitemap URLSitemap URL

@@ -52,7 +54,7 @@
run this crawl once
- scheduled, repeat the crawl every + scheduled, look every automatically. + for new documents automatically.
- full domain
- only sub-path of given url + full domain
+ only sub-path of given url
@@ -102,7 +104,15 @@ - +

Hints

+ #%env/templates/footer.template%# diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index 67fe88a1e..5a8e0d916 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -87,7 +87,7 @@

Peer Control