Skip to content

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

- fix for display problem for new blog news banner - created 'real' ip-based links instead of '.yacy'-links

orbiter20958acfd893
diff --git a/htroot/Network.html b/htroot/Network.html
index 2d4e31d09..f95fef299 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -71,8 +71,8 @@
<a href="ViewProfile.html?hash=#[hash]#" class="small" title="View profile of peer #[fullname]#">p</a>&nbsp;&nbsp;
<a href="http://#[fullname]#.yacy/Wiki.html" class="small" title="Read and edit wiki on peer #[fullname]#">w</a>&nbsp;&nbsp;
#(updatedProfile)#::<a href="ViewProfile.html?hash=#[hash]#"><img border="0" src="/env/grafics/profile.gif" align="bottom"></a>#(/updatedProfile)#
- #(updatedWikiPage)#::<a href="http://#[name]#.yacy/Wiki.html?page=#[page]#"><img border="0" src="/env/grafics/wiki.gif" align="bottom"></a>#(/updatedWikiPage)#
- #(updatedBlog)#::<a href="http://#[name]#.yacy/Blog.html?page=#[page]#"><img border="0" src="/env/grafics/blog.gif" align="bottom"></a>#(/updatedBlog)#
+ #(updatedWikiPage)#::<a href="http://#[address]#/Wiki.html?page=#[page]#" title="http://#[name]#.yacy/Wiki.html?page=#[page]#"><img border="0" src="/env/grafics/wiki.gif" align="bottom"></a>#(/updatedWikiPage)#
+ #(updatedBlog)#::<a href="http://#[address]#/Blog.html?page=#[page]#" title="http://#[name]#.yacy/Blog.html?page=#[page]#"><img border="0" src="/env/grafics/blog.gif" align="bottom"></a>#(/updatedBlog)#
#(isCrawling)#::<a href="#[page]#"><img border="0" src="/env/grafics/crawl.gif" align="bottom"></a>#(/isCrawling)#
</td>
<td class="small"><a href="http://www.#[fullname]#.yacy" class="small">#[shortname]#</a></td>
diff --git a/htroot/Network.java b/htroot/Network.java
index d3e2b60a6..746d3d107 100644
--- a/htroot/Network.java
+++ b/htroot/Network.java
@@ -319,13 +319,17 @@ public class Network {
if ((wikiPage = (String) updatedWiki.get(seed.hash)) == null) {
prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", 0);
} else {
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage", 1);
prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage_page", wikiPage);
+ prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage_address", seed.getAddress());
prop.put(STR_TABLE_LIST + conCount + "_updatedWikiPage_name", seed.get(yacySeed.NAME, "deadlink"));
}
if ((blogPage = (String) updatedBlog.get(seed.hash)) == null) {
prop.put(STR_TABLE_LIST + conCount + "_updatedBlog", 0);
} else {
+ prop.put(STR_TABLE_LIST + conCount + "_updatedBlog", 1);
prop.put(STR_TABLE_LIST + conCount + "_updatedBlog_page", blogPage);
+ prop.put(STR_TABLE_LIST + conCount + "_updatedBlog_address", seed.getAddress());
prop.put(STR_TABLE_LIST + conCount + "_updatedBlog_name", seed.get(yacySeed.NAME, "deadlink"));
}
try {