Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

hendis patch from http://www.yacy-forum.de/viewtopic.php?p=16212#16212

rramthun5b85d9269036
diff --git a/htroot/Network.java b/htroot/Network.java
index c90d3f569..f364bb615 100644
--- a/htroot/Network.java
+++ b/htroot/Network.java
@@ -213,7 +213,7 @@ public class Network {
} else {
// generate table
final int page = Integer.parseInt(post.get("page", "1"));
- final int maxCount = 300;
+ final int maxCount = Integer.parseInt(post.get("maxCount", "300"));
int conCount = 0;
if (yacyCore.seedDB == null) {
prop.put("table", 0);//no remote senior/principal proxies known"
diff --git a/htroot/Network.xml b/htroot/Network.xml
index b5b1d25c3..fe9565a0a 100644
--- a/htroot/Network.xml
+++ b/htroot/Network.xml
@@ -1,6 +1,19 @@
<?xml version="1.0"?>
#(table)#
::
+<peers>
+#{list}#
+ <peer>
+ <hash>#[hash]#</hash>
+ <fullname>#[fullname]#</fullname>
+ <version>#[version]#</version>
+ <ppm>#[ppm]#</ppm>
+ <uptime>#[uptime]#</uptime>
+ <links>#[links]#</links>
+ <words>#[words]#</words>
+ </peer>
+#{/list}#
+</peers>
::
<peers>
<active>
@@ -48,4 +61,4 @@
2 - not in online mode
-->
</peers>
-#(/table)#
\ No newline at end of file
+#(/table)#
diff --git a/locales/de.lng b/locales/de.lng
index 1aa63ccfe..761fb4947 100644
--- a/locales/de.lng
+++ b/locales/de.lng
@@ -15,7 +15,7 @@
#-------------------------------------------------------
#File: Language_p.html
-#Only part 1.
+#Only part 1 of Language_p.html
#Contributors are in chronological ordern, not how much they did absolutely.
#Thank you for your help!
<!-- lang -->default\(english\)==Deutsch