*)added news count to News.html

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1014 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hydrox 20 years ago
parent 5f68b6886b
commit 62b6c2b9e7

@ -51,13 +51,13 @@ More news services will follow.</p>
<p> <p>
Above you can see four menues: Above you can see four menues:
<ul> <ul>
<li><b>Incoming News</b>: latest news that arrived your peer. <li><b>Incoming News (#[insize]#)</b>: latest news that arrived your peer.
Only these news will be used to display specific news services as explained above. Only these news will be used to display specific news services as explained above.
You can process these news with a button on the page to remove their appearance from the IndexCreate and Network page</li> You can process these news with a button on the page to remove their appearance from the IndexCreate and Network page</li>
<li><b>Processed News</b>: this is simply an archive of incoming news that you removed by processing.</li> <li><b>Processed News (#[prsize]#)</b>: this is simply an archive of incoming news that you removed by processing.</li>
<li><b>Outgoing News</b>: here your can see news entries that you have created. These news are currently broadcasted to other peers. <li><b>Outgoing News (#[ousize]#)</b>: here your can see news entries that you have created. These news are currently broadcasted to other peers.
you can stop the broadcast if you want.</li> you can stop the broadcast if you want.</li>
<li><b>Published News</b>: your news that have been broadcasted sufficiently or that you have removed from the broadcast list.</li> <li><b>Published News (#[pusize]#)</b>: your news that have been broadcasted sufficiently or that you have removed from the broadcast list.</li>
</ul><br> </ul><br>
</p> </p>
:: ::

@ -115,6 +115,10 @@ public class News {
// show overview // show overview
prop.put("table", 0); prop.put("table", 0);
prop.put("page", 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 { } else {
// generate table // generate table
prop.put("table", 1); prop.put("table", 1);

Loading…
Cancel
Save