Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- WatchCrawler_p shows max. 80 characters of URLs now (maybe dynamically adjustable based on browser width?) - typo in BlacklistCleaner
karlchenofhell4f2e6ef47b83
diff --git a/htroot/BlacklistCleaner_p.java b/htroot/BlacklistCleaner_p.javaindex d91b57635..e3f8ac573 100644--- a/htroot/BlacklistCleaner_p.java+++ b/htroot/BlacklistCleaner_p.java@@ -83,7 +83,9 @@ public class BlacklistCleaner_p {private static final int ERR_HOST_WRONG_CHARS = 4;private static final int ERR_DOUBLE_OCCURANCE = 5;- public static final Class[] supportedBLEngines = { plasmaSwitchboard.class };+ public static final Class[] supportedBLEngines = {+ defaultURLPattern.class+ };public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {serverObjects prop = new serverObjects();diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.jsindex e094b41e0..edfe6536a 100644--- a/htroot/js/WatchCrawler.js+++ b/htroot/js/WatchCrawler.js@@ -210,6 +210,14 @@ function updateTable(indexingqueue, tablename){}}+function shortenURL(url) {+ if (url.length > 80) {+ return url.substr(0, 80) + "...";+ } else {+ return url;+ }+}+function createIndexingRow(queue, profile, initiator, depth, modified, anchor, url, size, deletebutton){row=document.createElement("tr");row.setAttribute("height", 10);@@ -219,7 +227,7 @@ function createIndexingRow(queue, profile, initiator, depth, modified, anchor, urow.appendChild(createCol(depth));row.appendChild(createCol(modified));row.appendChild(createCol(anchor));- row.appendChild(createLinkCol(url, url));+ row.appendChild(createLinkCol(url, shortenURL(url)));row.appendChild(createCol(size));row.appendChild(deletebutton);return row;