From e923cb59b491505cf5c8a66ee22c33d7beefe6c8 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 11 Jun 2007 15:15:10 +0000 Subject: [PATCH] added hyperlinks to viewFile see http://www.yacy-forum.de/viewtopic.php?p=36859#36859 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3862 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ViewFile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htroot/ViewFile.java b/htroot/ViewFile.java index 4dfad0c5e..79443a310 100644 --- a/htroot/ViewFile.java +++ b/htroot/ViewFile.java @@ -337,7 +337,6 @@ public class ViewFile { int i = 0; i += putMediaInfo(prop, wordArray, i, document.getVideolinks(), "video", (i % 2 == 0)); i += putMediaInfo(prop, wordArray, i, document.getAudiolinks(), "audio", (i % 2 == 0)); - i += putMediaInfo(prop, wordArray, i, document.getApplinks(), "app", (i % 2 == 0)); dark = (i % 2 == 0); TreeSet ts = document.getImages(); @@ -358,6 +357,8 @@ public class ViewFile { dark = !dark; i++; } + i += putMediaInfo(prop, wordArray, i, document.getApplinks(), "app", (i % 2 == 0)); + i += putMediaInfo(prop, wordArray, i, document.getHyperlinks(), "href", (i % 2 == 0)); prop.put("viewMode_links", i); }