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
pull/1/head
orbiter 18 years ago
parent 66ec8b63c1
commit e923cb59b4

@ -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);
}

Loading…
Cancel
Save