From 405878182fdaca71adfe966ce066782ba9ea1cb2 Mon Sep 17 00:00:00 2001 From: bhoerdzn Date: Tue, 8 Oct 2013 15:04:31 +0200 Subject: [PATCH] Use list template for all other option lists. Fixed some template expressions. --- htroot/CrawlStartExpert_p.html | 71 +++++++--------------- htroot/CrawlStartExpert_p.java | 107 ++++++++++++++++++++++++--------- 2 files changed, 99 insertions(+), 79 deletions(-) diff --git a/htroot/CrawlStartExpert_p.html b/htroot/CrawlStartExpert_p.html index 65ad42a89..626ef9310 100644 --- a/htroot/CrawlStartExpert_p.html +++ b/htroot/CrawlStartExpert_p.html @@ -25,8 +25,8 @@ } // Load Filters - if (cId !== "deleteoldon" && cId !== "deleteoldoff" && - cId !== "deleteoldage") { + if (cId === "rangeDomain" || cId === "rangeSubpath" || + cId === "rangeWide") { if ($('#rangeDomain').prop("checked") || $('#rangeSubpath').prop("checked")) { // restrict to sub-path / domain @@ -110,7 +110,7 @@ (function($) { $.fn.check = function() { return this.each(function() { - $(this).attr("checked", "checked"); + $(this).attr("checked", "checked").prop("checked", true); }); }; })(jQuery); @@ -118,7 +118,7 @@ (function($) { $.fn.uncheck = function() { return this.each(function() { - $(this).removeAttr("checked"); + $(this).removeAttr("checked").prop("checked", false); }); }; })(jQuery); @@ -316,28 +316,15 @@
Delete only old
Treat documents that are loaded - ago as stale and delete them before the crawl is started. + #(deleteIfOlderSelect)#:: + #{list}##{/list}# + #(/deleteIfOlderSelect)# + + ago as stale and delete them before the crawl is started.
@@ -349,20 +336,19 @@ A web crawl performs a double-check on all links found in the internet against the internal database. If the same url is found again, then the url is treated as double when you check the 'no doubles' option. A url may be loaded again when it has reached a specific age, to use that check the 're-load' option. - Never load any page that is already known. Only the start-url may be loaded again. + Never load any page that is already known. Only the start-url may be loaded again.
Re-load
-
Treat documents that are loaded +
Treat documents that are loaded - ago as stale and load them again. If they are younger, they are ignored. + ago as stale and load them again. If they are younger, they are ignored.
@@ -380,20 +366,7 @@
info The caching policy states when to use the cache during crawling: - no cache: never use the cache, all content from - - -
- -
-
- info - This option is used by default for proxy prefetch, but is not needed for explicit crawling. - - -
- -