From 03c5906ae737633bf1c4cc0d9e388beba18850ea Mon Sep 17 00:00:00 2001 From: karlchenofhell Date: Wed, 7 Mar 2007 11:50:03 +0000 Subject: [PATCH] - minor bugfixes for url-fetcher & http://www.yacy-forum.de/viewtopic.php?t=3646 - PerformanceMemory_p.html is valid XHTML again git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3440 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ConfigRobotsTxt_p.java | 6 +--- htroot/CrawlURLFetch_p.html | 2 +- htroot/CrawlURLFetch_p.java | 2 ++ htroot/PerformanceMemory_p.html | 34 ++++++++++--------- htroot/Settings_p.java | 9 ++--- htroot/Status_p.inc | 2 +- .../de/anomic/plasma/plasmaSwitchboard.java | 2 +- 7 files changed, 27 insertions(+), 30 deletions(-) diff --git a/htroot/ConfigRobotsTxt_p.java b/htroot/ConfigRobotsTxt_p.java index 0f0062322..159e68816 100644 --- a/htroot/ConfigRobotsTxt_p.java +++ b/htroot/ConfigRobotsTxt_p.java @@ -48,8 +48,6 @@ // javac -classpath .:../classes ConfigRobotsTxt_p.java // if the shell's current path is HTROOT -import java.util.regex.Pattern; - import de.anomic.http.httpHeader; import de.anomic.http.httpdRobotsTxtConfig; import de.anomic.plasma.plasmaSwitchboard; @@ -60,8 +58,6 @@ import de.anomic.yacy.yacyCore; public class ConfigRobotsTxt_p { - public static final Pattern entryBeginPattern = Pattern.compile("# (\\w*) \\((\\d*) entries\\)"); - public static servletProperties respond(httpHeader header, serverObjects post, serverSwitch env) { final servletProperties prop = new servletProperties(); @@ -82,7 +78,7 @@ public class ConfigRobotsTxt_p { rbc.setStatusDisallowed(post.containsKey(httpdRobotsTxtConfig.STATUS)); rbc.setSurftipsDisallowed(post.containsKey(httpdRobotsTxtConfig.SURFTIPS)); rbc.setWikiDisallowed(post.containsKey(httpdRobotsTxtConfig.WIKI)); - ((plasmaSwitchboard)env).setConfig(plasmaSwitchboard.ROBOTS_TXT, rbc.toString()); + env.setConfig(plasmaSwitchboard.ROBOTS_TXT, rbc.toString()); } } diff --git a/htroot/CrawlURLFetch_p.html b/htroot/CrawlURLFetch_p.html index 70136bbd5..251d4ea9f 100644 --- a/htroot/CrawlURLFetch_p.html +++ b/htroot/CrawlURLFetch_p.html @@ -80,7 +80,7 @@
Last run duration:
#[lastRun]# ms
Last server response:
#[lastServerResponse]#
Last fetched URLs:
#[lastFetchedURLs]#
-
Failed URLs:
+
Last failed URLs:
#[error]#