From 62b6c2b9e7b921f8462cfad3f3fcb4c58a610852 Mon Sep 17 00:00:00 2001 From: hydrox Date: Wed, 2 Nov 2005 10:31:52 +0000 Subject: [PATCH] *)added news count to News.html git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1014 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/News.html | 8 ++++---- htroot/News.java | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/htroot/News.html b/htroot/News.html index a9a717816..f1e23d22c 100644 --- a/htroot/News.html +++ b/htroot/News.html @@ -51,13 +51,13 @@ More news services will follow.

Above you can see four menues:


:: diff --git a/htroot/News.java b/htroot/News.java index a60fa8c31..06d3cfad1 100644 --- a/htroot/News.java +++ b/htroot/News.java @@ -115,6 +115,10 @@ public class News { // show overview prop.put("table", 0); prop.put("page", 0); + prop.put("table_insize", yacyCore.newsPool.size(yacyNewsPool.INCOMING_DB)); + prop.put("table_prsize", yacyCore.newsPool.size(yacyNewsPool.PROCESSED_DB)); + prop.put("table_ousize", yacyCore.newsPool.size(yacyNewsPool.OUTGOING_DB)); + prop.put("table_pusize", yacyCore.newsPool.size(yacyNewsPool.PUBLISHED_DB)); } else { // generate table prop.put("table", 1);