diff --git a/htroot/Network.html b/htroot/Network.html
index 46e219d4a..13e7d41f9 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -65,9 +65,13 @@
#{list}#
-m
- p
- w #[alert]#
+ |
+ m
+ p
+ w
+ #(updatedProfile)#:: #(/updatedProfile)#
+ #(updatedWikiPage)#:: #(/updatedWikiPage)#
+ #(isCrawling)#:: #(/isCrawling)#
|
#[shortname]# |
diff --git a/htroot/Network.java b/htroot/Network.java
index 5b6d7e137..c90d3f569 100644
--- a/htroot/Network.java
+++ b/htroot/Network.java
@@ -270,26 +270,28 @@ public class Network {
String startURL;
String wikiPage;
String userAgent, location;
- final StringBuffer alert = new StringBuffer();
int PPM;
while (e.hasMoreElements() && conCount < maxCount) {
seed = (yacySeed) e.nextElement();
if (seed != null) {
+ prop.put(STR_TABLE_LIST + conCount + "_updatedProfile", 0);
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", 0);
+ prop.put(STR_TABLE_LIST + conCount + "_isCrawling", 0);
if (conCount >= maxCount) { break; }
if (seed.hash.equals(yacyCore.seedDB.mySeed.hash)) {
prop.put(STR_TABLE_LIST + conCount + "_dark", 2);
} else {
prop.put(STR_TABLE_LIST + conCount + "_dark", ((dark) ? 1 : 0) ); dark=!dark;
}
- alert.setLength(0);
if (updatedProfile.contains(seed.hash)) {
- alert.append(" ");
+ prop.put(STR_TABLE_LIST + conCount + "_updatedProfile", 1);
+ prop.put(STR_TABLE_LIST + conCount + "_updatedProfile_hash", seed.hash);
}
if ((wikiPage = (String) updatedWiki.get(seed.hash)) == null) {
- prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", "");
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", 0);
} else {
- prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", "?page=" + wikiPage);
- alert.append(" ");
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage_page", wikiPage);
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage_name", seed.get(yacySeed.NAME, "deadlink"));
}
try {
PPM = Integer.parseInt(seed.get(yacySeed.ISPEED, "-"));
@@ -297,9 +299,9 @@ public class Network {
PPM = 0;
}
if (((startURL = (String) isCrawling.get(seed.hash)) != null) && (PPM >= 10)) {
- alert.append(" ");
+ prop.put(STR_TABLE_LIST + conCount + "_isCrawling", 1);
+ prop.put(STR_TABLE_LIST + conCount + "_isCrawling_page", startURL);;
}
- prop.put(STR_TABLE_LIST + conCount + "_alert", alert.toString());
prop.put(STR_TABLE_LIST + conCount + "_hash", seed.hash);
String shortname = seed.get(yacySeed.NAME, "deadlink");
if (shortname.length() > 20) {
|