From fb9e0f02842dbb368e365fc7910404c92c31dd5a Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 9 Dec 2006 23:15:58 +0000 Subject: [PATCH] preparations for media snippets git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3064 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/js/yacysearch.js | 10 +++++----- htroot/xml/snippet.java | 3 +++ htroot/xml/snippet.xml | 9 +++++++++ htroot/yacysearch.html | 10 +++++----- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index 418d7815b..3db12772d 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -1,24 +1,24 @@ -function AllSnippets() { +function AllTextSnippets() { var query = document.getElementsByName("former")[0].value; var span = document.getElementsByTagName("span"); for(var x=0;x#[text]# #[status]# #[urlHash]# + #[linkCount]# + #{results}# + + #[type] + #[href]# + #[name]# + #[attr]# + + #{/results}# \ No newline at end of file diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html index 75ee4ddd2..a4f50a9ea 100644 --- a/htroot/yacysearch.html +++ b/htroot/yacysearch.html @@ -117,6 +117,11 @@ available for everyone. Then stay online to support crawls from other peers. Tha #{/results}# + +

#(resultbottomline)# @@ -162,10 +167,5 @@ You can enrich the search results by using the 'global' option; you must also sw #%env/templates/footer.template%# #(/display)# - - \ No newline at end of file