Skip to content

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

- fixed problem when surftip url is broken - more renaming of menu entrie - redesigned network page: moved grafic more to top - changed default link to index monitor: now it points to the web structure picture

orbiter4fb86b02e416
diff --git a/htroot/Network.html b/htroot/Network.html
index 03452deea..d1f6df506 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -3,6 +3,11 @@
<head>
<title>YaCy '#[clientname]#': Network Overview</title>
#%env/templates/metas.template%#
+ <style type="text/css">
+ #left {
+ float: left;
+ }
+ </style>
</head>
<body id="Network">
#%env/templates/header.template%#
@@ -120,7 +125,7 @@
</div>
#(/progressbar)#
::
- <p>All Peers:</p>
+ <div id="left">
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td>Branch</td>
@@ -153,13 +158,74 @@
<td align="right">#[all-words]#</td>
</tr>
</table>
- <p>
- YaCy Cluster
+ </div>
+ <div id="left">
<ul>
<li>Indexing Speed: #[gppm]# Pages Per Minute (PPM)</li>
<li>Query Frequency: #[gqph]# Queries Per Hour (QPH)</li>
</ul>
- </p>
+ </div>
+
+ <div id="left">
+ #(comment)#
+ ::
+ <ul><li>
+ You are in online mode, but probably no internet resource is available.
+ Please check your internet connection.
+ </li></ul>
+ ::
+ <ul><li>You are either not in online mode or you do not use the proxy option.
+ To get connection to the YaCy network, you must use the proxy by setting your browser's settings
+ ('on-demand - mode', see <a href="http://www.yacy.net/yacy/Installation.html#wininst">here</a>
+ for an installation guide) or you can go online by activating the permanent online mode.
+ To do this, press this button:</p>
+ <form action="SettingsAck_p.html" method="get">
+ <fieldset>
+ <input type="submit" name="pmode" value="go online" />
+ </fieldset>
+ </form>
+ </li></ul>
+ #(/comment)#
+ </div>
+
+ <div id="left">
+ <a href="NetworkPicture.png?width=768&amp;height=576"><img src="NetworkPicture.png" alt="The yacy Network" /></a>
+ </div>
+ <div id="left">
+ <table border="0">
+ <tr>
+ <td>&nbsp;</td>
+ <td><strong>Network legend:</strong></td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <td style="background-color:#000000">&nbsp;</td>
+ <td>dark font</td>
+ <td>:</td>
+ <td>senior/principal peers</td>
+ </tr>
+ <tr>
+ <td style="background-color:#E7B7AF">&nbsp;</td>
+ <td>lightred font</td>
+ <td>:</td>
+ <td>passiv peers ( &lt; 5 hour passiv time)</td>
+ </tr>
+ <tr>
+ <td style="background-color:#A7A75F">&nbsp;</td>
+ <td>turquoise font</td>
+ <td>:</td>
+ <td>junior peers</td>
+ </tr>
+ <tr>
+ <td style="background-color:#C1A77F">&nbsp;</td>
+ <td>red point</td>
+ <td>:</td>
+ <td>this peer</td>
+ </tr>
+ </table>
+ </div>
+ <div id="left">
<p>Your Peer:</p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
@@ -201,55 +267,8 @@
<td align="right">#[my-connects]#</td>
</tr>
</table>
- <p><a href="NetworkPicture.png?width=768&amp;height=576"><img src="NetworkPicture.png" alt="The yacy Network" /></a></p>
- <table border="0">
- <tr>
- <td>&nbsp;</td>
- <td><strong>Network legend:</strong></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td style="background-color:#000000">&nbsp;</td>
- <td>dark font</td>
- <td>:</td>
- <td>senior/principal peers</td>
- </tr>
- <tr>
- <td style="background-color:#E7B7AF">&nbsp;</td>
- <td>lightred font</td>
- <td>:</td>
- <td>passiv peers ( &lt; 5 hour passiv time)</td>
- </tr>
- <tr>
- <td style="background-color:#A7A75F">&nbsp;</td>
- <td>turquoise font</td>
- <td>:</td>
- <td>junior peers</td>
- </tr>
- <tr>
- <td style="background-color:#C1A77F">&nbsp;</td>
- <td>red point</td>
- <td>:</td>
- <td>this peer</td>
- </tr>
- </table>
+ </div>
- #(comment)#
- ::
- <p>You are in online mode, but probably no internet resource is available. Please check your internet connection.</p>
- ::
- <p>You are either not in online mode or you do not use the proxy option.
- To get connection to the YaCy network, you must use the proxy by setting your browser's settings
- ('on-demand - mode', see <a href="http://www.yacy.net/yacy/Installation.html#wininst">here</a>
- for an installation guide) or you can go online by activating the permanent online mode.
- To do this, press this button:</p>
- <form action="SettingsAck_p.html" method="get">
- <fieldset>
- <input type="submit" name="pmode" value="go online" />
- </fieldset>
- </form>
- #(/comment)#
::
#(comment)#
::
diff --git a/htroot/Surftips.java b/htroot/Surftips.java
index ed87a08ee..d9934f468 100644
--- a/htroot/Surftips.java
+++ b/htroot/Surftips.java
@@ -224,6 +224,7 @@ public class Surftips {
if (record.category().equals(yacyNewsPool.CATEGORY_CRAWL_START)) {
String intention = record.attribute("intention", "");
url = record.attribute("startURL", "");
+ if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
((intention.length() == 0) ? record.attribute("startURL", "") : intention).getBytes(),
@@ -235,7 +236,7 @@ public class Surftips {
if (record.category().equals(yacyNewsPool.CATEGORY_PROFILE_UPDATE)) {
url = record.attribute("homepage", "");
- if ((url == null) || (url.length() < 12)) continue;
+ if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
("Home Page of " + record.attribute("nickname", "")).getBytes("UTF-8"),
@@ -247,6 +248,7 @@ public class Surftips {
if (record.category().equals(yacyNewsPool.CATEGORY_BOOKMARK_ADD)) {
url = record.attribute("url", "");
+ if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
(record.attribute("title", "")).getBytes("UTF-8"),
@@ -258,6 +260,7 @@ public class Surftips {
if (record.category().equals(yacyNewsPool.CATEGORY_SURFTIPP_ADD)) {
url = record.attribute("url", "");
+ if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
(record.attribute("title", "")).getBytes("UTF-8"),
@@ -270,6 +273,7 @@ public class Surftips {
if (record.category().equals(yacyNewsPool.CATEGORY_SURFTIPP_VOTE_ADD)) {
if (!(record.attribute("vote", "negative").equals("positive"))) continue;
url = record.attribute("url", "");
+ if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
record.attribute("title", "").getBytes("UTF-8"),
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index 9ade78b87..b1769816b 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -3,7 +3,7 @@
</div>
<ul id="menu">
<li class="menugroup" id="menugroupGlobalIndex">
- <h3>Global Index</h3>
+ <h3>Search&nbsp;&amp;&nbsp;Browse</h3>
<ul class="menu">
<li><a href="/index.html?display=1" accesskey="s" class="MenuItemLink">Search Page</a></li>
<li><a href="/DetailedSearch.html" class="MenuItemLink">Detailed Search</a></li>
@@ -12,20 +12,11 @@
<li><a href="/Help.html" class="MenuItemLink">Help</a></li>
</ul>
</li>
- <li class="menugroup" id="menugroupCrawlerControl">
- <h3>Web Crawler</h3>
- <ul class="menu">
- <li><a href="/IndexCreate_p.html" class="MenuItemLink lock">Start Web Crawl</a></li>
- <li><a href="/IndexControl_p.html" class="MenuItemLink lock">Administrate Index</a></li>
- <li><a href="/Blacklist_p.html" class="MenuItemLink lock">URL Blacklist</a></li>
- <li><a href="/ProxyIndexingMonitor_p.html" class="MenuItemLink lock">Indexing with Proxy</a></li>
- </ul>
- </li>
<li class="menugroup" id="menugroupMonitoring">
<h3>Monitoring</h3>
<ul class="menu">
<li><a href="/Network.html" accesskey="w" class="MenuItemLink">YaCy Network</a></li>
- <li><a href="/WatchCrawler_p.html" class="MenuItemLink lock">Crawl Activity</a></li>
+ <li><a href="/WatchWebStructure_p.html?host=auto&depth=2" class="MenuItemLink lock">Crawl Activity</a></li>
<li><a href="/IndexMonitor.html" class="MenuItemLink">Crawl Results</a></li>
<li><a href="/SearchStatistics_p.html" class="MenuItemLink lock">Search Statistics</a></li>
<li><a href="/ViewLog_p.html" class="MenuItemLink lock">Server Log</a></li>
@@ -35,8 +26,17 @@
<li><a href="/CookieMonitorIncoming_p.html" class="MenuItemLink lock">Cookies in Proxy</a></li>
</ul>
</li>
+ <li class="menugroup" id="menugroupCrawlerControl">
+ <h3>Your&nbsp;Web&nbsp;Index</h3>
+ <ul class="menu">
+ <li><a href="/IndexCreate_p.html" class="MenuItemLink lock">Start a Web Crawl</a></li>
+ <li><a href="/IndexControl_p.html" class="MenuItemLink lock">Moderate own Index</a></li>
+ <li><a href="/Blacklist_p.html" class="MenuItemLink lock">Filter &amp; Blacklist</a></li>
+ <li><a href="/ProxyIndexingMonitor_p.html" class="MenuItemLink lock">Indexing with Proxy</a></li>
+ </ul>
+ </li>
<li class="menugroup" id="menugroupCommunicationPublication">
- <h3>Your Web</h3>
+ <h3>Your Web Content</h3>
<ul class="menu">
<li><a href="/Wiki.html?display=1" class="MenuItemLink">YaCy Wiki</a></li>
<li><a href="/Blog.html?display=1" class="MenuItemLink">YaCy Blog</a></li>