2006-09-11 20:18:12 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
2006-03-04 19:52:04 +01:00
< head >
2008-02-18 17:38:06 +01:00
< title > YaCy '#[clientname]#': Search Page< / title >
#%env/templates/metas.template%#
< link rel = "alternate" type = "application/rss+xml" title = "Search for #[input_former]#" href = "yacysearch.rss?search=#[input_former]#" / >
2008-11-09 01:23:19 +01:00
< link rel = "search" type = "application/opensearchdescription+xml" title = "YaCy Search on '#[clientname]#'" href = "opensearchdescription.xml" / >
2008-02-18 17:38:06 +01:00
< script type = "text/javascript" src = "/js/ajax.js" > < / script >
< script type = "text/javascript" src = "/js/xml.js" > < / script >
< script type = "text/javascript" src = "/js/yacysearch.js" > < / script >
2008-02-19 15:13:35 +01:00
< script type = "text/javascript" src = "/js/highslide/highslide.js" > < / script >
2008-02-19 00:49:03 +01:00
< link rel = "stylesheet" type = "text/css" media = "screen" href = "/env/highslide.css" / >
2008-02-18 17:38:06 +01:00
< script type = "text/javascript" > hs . outlineType = 'rounded-white' ; < / script >
2009-03-06 18:51:04 +01:00
#(display)#
::
::
::
< link media = "screen" type = "text/css" href = "/yacy/ui/css/themes/redmond/ui.base.css" rel = "stylesheet" / >
< link media = "screen" type = "text/css" href = "/yacy/ui/css/themes/redmond/ui.theme.css" rel = "stylesheet" / >
< script src = "/yacy/ui/js/jquery-1.3.1.min.js" type = "text/javascript" > < / script >
< script src = "/yacy/ui/js/jquery.ui.all.min.js" type = "text/javascript" > < / script >
< script type = "text/javascript" >
//< ![CDATA[
$(document).ready(function() {
$("#sidebar").accordion({
autoHeight: false,
clearStyle: true,
header: "h3"
});
});
//]]>
< / script >
#(/display)#
2006-03-04 19:52:04 +01:00
< / head >
2008-06-20 18:46:30 +02:00
< body id = "yacysearch" >
2006-04-06 23:48:24 +02:00
2009-01-09 16:42:20 +01:00
#(display)#
#%env/templates/simpleheader.template%#
::
2009-01-08 00:45:20 +01:00
< div id = "api" >
< script type = "text/javascript" >
2009-02-06 15:45:56 +01:00
//< ![CDATA[
2009-01-08 00:45:20 +01:00
document.write("\< a href = \"yacysearch.rss?" + window . location . search . substring ( 1 ) + " \ " \ > ")
2009-02-06 15:45:56 +01:00
//]]>
2009-01-08 00:45:20 +01:00
< / script >
2009-02-06 15:45:56 +01:00
< img src = "env/grafics/api.png" alt = "API" / > < / a >
2009-01-08 00:45:20 +01:00
< span > This search result can also be retrieved as RSS/< a href = "http://www.opensearch.org" > opensearch< / a > output.
The query format is similar to < a href = "http://www.loc.gov/standards/sru/" > SRU< / a > .
Click the API icon to see an example call to the search rss API.
To see a list of all APIs, please visit the < a href = "http://www.yacy-websuche.de/wiki/index.php/Dev:API" > API wiki page< / a > .< / span >
2009-01-09 16:42:20 +01:00
< / div >
2006-12-13 02:39:34 +01:00
#%env/templates/header.template%#
2007-04-10 16:28:04 +02:00
::
#%env/templates/embeddedheader.template%#
2006-04-06 23:48:24 +02:00
#(/display)#
2006-03-04 19:52:04 +01:00
2007-04-10 16:28:04 +02:00
#(input)#
::
2007-04-12 09:31:26 +02:00
< form class = "search small" action = "yacysearch.html" method = "get" accept-charset = "UTF-8" >
< fieldset class = "yacys" >
2008-07-07 23:50:24 +02:00
< input id = "search" name = "query" type = "text" size = "50" maxlength = "80" value = "#[former]#" onclick = "document.getElementById('Enter').value = 'Search'" / >
2007-04-12 09:31:26 +02:00
< input id = "Enter" type = "submit" name = "Enter" value = "Search" / >
< input type = "hidden" name = "contentdom" value = "#[contentdom]#" / >
< input type = "hidden" name = "former" value = "#[former]#" / >
2008-07-07 23:50:24 +02:00
< input type = "hidden" name = "verify" value = "#[verify]#" / >
< input type = "hidden" name = "maximumRecords" value = "#[count]#" / >
< input type = "hidden" name = "startRecord" value = "#[offset]#" / >
2007-04-12 09:31:26 +02:00
< input type = "hidden" name = "resource" value = "#[resource]#" / >
< input type = "hidden" name = "urlmaskfilter" value = "#[urlmaskfilter]#" / >
< input type = "hidden" name = "prefermaskfilter" value = "#[prefermaskfilter]#" / >
< input type = "hidden" name = "depth" value = "#[depth]#" / >
< input type = "hidden" name = "cat" value = "#[cat]#" / >
< input type = "hidden" name = "type" value = "#[type]#" / >
< input type = "hidden" name = "display" value = "#[display]#" / >
< input type = "hidden" name = "input" value = "#[input]#" / >
< input type = "hidden" name = "constraint" value = "#[constraint]#" / >
< / fieldset >
< / form >
::
2007-02-03 02:26:05 +01:00
< form class = "search small" action = "yacysearch.html" method = "get" accept-charset = "UTF-8" >
2007-01-05 21:19:29 +01:00
< h2 > #[promoteSearchPageGreeting]#< / h2 >
2009-02-06 15:45:56 +01:00
< div class = "yacylogo" > < a href = "#[promoteSearchPageGreeting.homepage]#" class = "yacylogo" > < img src = "#[promoteSearchPageGreeting.smallImage]#" alt = "yacysearch" / > < / a > < / div >
2007-01-12 01:52:38 +01:00
< fieldset class = "yacys" >
2009-03-06 11:16:14 +01:00
< input id = "search" name = "query" type = "text" size = "50" maxlength = "80" value = "#[former]#" onclick = "document.getElementById('Enter').value = 'Search'" / >
< input id = "Enter" type = "submit" name = "Enter" value = "Search" / >
< div class = "yacysearch" >
< input type = "radio" id = "text" name = "contentdom" value = "text" # ( contentdomCheckText ) # :: checked = "checked" # ( / contentdomCheckText ) # / >
< label for = "text" > Text< / label >
< input type = "radio" id = "images" name = "contentdom" value = "image" # ( contentdomCheckImage ) # :: checked = "checked" # ( / contentdomCheckImage ) # / >
< label for = "images" > Images< / label >
< input type = "radio" id = "audio" name = "contentdom" value = "audio" # ( contentdomCheckAudio ) # :: checked = "checked" # ( / contentdomCheckAudio ) # / >
< label for = "audio" > Audio< / label >
< input type = "radio" id = "video" name = "contentdom" value = "video" # ( contentdomCheckVideo ) # :: checked = "checked" # ( / contentdomCheckVideo ) # / >
< label for = "video" > Video< / label >
< input type = "radio" id = "appl" name = "contentdom" value = "app" # ( contentdomCheckApp ) # :: checked = "checked" # ( / contentdomCheckApp ) # / >
< label for = "appl" > Applications< / label >
< a href = "index.html?display=#[display]#&input=#[input]#&searchoptions=1&count=#[count]#&resource=#[resource]#&urlmaskfilter=#[urlmaskfilter]#&prefermaskfilter=#[prefermaskfilter]#&cat=#[cat]#&constraint=#[constraint]#&contentdom=#[contentdom]#&former=#[former]#" > more options< / a >
< / div >
2007-01-05 21:19:29 +01:00
< input type = "hidden" name = "former" value = "#[former]#" / >
2008-07-07 23:50:24 +02:00
< input type = "hidden" name = "maximumRecords" value = "#[count]#" / >
< input type = "hidden" name = "startRecord" value = "#[offset]#" / >
< input type = "hidden" name = "verify" value = "#[verify]#" / >
2007-01-05 21:19:29 +01:00
< input type = "hidden" name = "resource" value = "#[resource]#" / >
< input type = "hidden" name = "urlmaskfilter" value = "#[urlmaskfilter]#" / >
< input type = "hidden" name = "prefermaskfilter" value = "#[prefermaskfilter]#" / >
< input type = "hidden" name = "depth" value = "#[depth]#" / >
< input type = "hidden" name = "cat" value = "#[cat]#" / >
< input type = "hidden" name = "display" value = "#[display]#" / >
2007-04-12 09:31:26 +02:00
< input type = "hidden" name = "input" value = "#[input]#" / >
2007-01-05 21:19:29 +01:00
< input type = "hidden" name = "constraint" value = "#[constraint]#" / >
< / fieldset >
< / form >
2007-04-10 16:28:04 +02:00
#(/input)#
2007-04-12 09:31:26 +02:00
#(searchagain)#
::
2006-09-11 20:18:12 +02:00
< script type = "text/javascript" >
2008-09-29 01:19:56 +02:00
document.getElementById("Enter").value = "search again";
2006-09-11 20:18:12 +02:00
< / script >
2007-04-12 09:31:26 +02:00
#(/searchagain)#
2006-03-05 00:55:36 +01:00
2006-12-13 02:39:34 +01:00
<!-- show information about search key handling -->
2006-03-04 19:52:04 +01:00
#(excluded)#
2006-12-13 02:39:34 +01:00
::
< p > < strong > The following words are stop-words and had been excluded from the search: #[stopwords]#.< / strong > < / p >
2006-03-04 19:52:04 +01:00
#(/excluded)#
2006-12-10 00:15:58 +01:00
2006-12-13 02:39:34 +01:00
<!-- type the number of results -->
2006-12-12 03:09:25 +01:00
#(num-results)#
2006-12-13 02:39:34 +01:00
::
< p > No Results.< / p >
::
< p > No Results. (length of search words must be at least 3 characters)< / p >
::
2007-09-17 21:39:15 +02:00
< div id = "results" > < / div >
2009-03-06 11:16:14 +01:00
< span id = "resCounter" style = "display: inline;" > < strong id = "resultsOffset" > #[offset]#< / strong > -< strong id = "itemscount" > #[itemscount]#< / strong > of < strong id = "totalcount" > #[totalcount]#< / strong > #(globalresults)#::; (< strong id = "localResourceSize" > #[localResourceSize]#< / strong > local, < strong id = "remoteResourceSize" > #[remoteResourceSize]#< / strong > remote), < strong id = "remoteIndexCount" > #[remoteIndexCount]#< / strong > from < strong id = "remotePeerCount" > #[remotePeerCount]#< / strong > remote YaCy peers.#(/globalresults)#< / span >
2007-09-17 21:39:15 +02:00
< span id = "resNav" style = "display: inline;" > #[resnav]#< / span >
2007-05-23 21:09:19 +02:00
::
< p > Searching the web with this peer is disabled for unauthorized users. Please < a href = "Status.html?login=" > log in< / a > as administrator to use the search function< / p >
2006-12-12 03:09:25 +01:00
#(/num-results)#
2007-09-06 15:26:38 +02:00
<!-- the search results -->
< script type = "text/javascript" >
var progressbar = new Progressbar(#[results]#, document.getElementById("results"));
< / script >
2007-08-25 01:12:59 +02:00
2009-03-06 18:51:04 +01:00
#(display)#
::
::
::
< div id = "sidebar" style = "float: right;" >
< h3 > < a href = "#" > Sidebar-1< / a > < / h3 >
< p > Sidebar-1 TEXT TEXT< / p >
< h3 > < a href = "#" > Sidebar-2< / a > < / h3 >
< p > Sidebar-2 TEXT TEXT< / p >
< / div >
#(/display)#
2007-09-06 15:26:38 +02:00
<!-- linklist begin -->
2007-09-07 13:45:38 +02:00
#(resultTable)#::< table width = "100%" > < tr class = "TableHeader" > < td width = "30%" > Media< / td > < td width = "70%" > URL< / tr > #(/resultTable)#
2007-09-06 15:26:38 +02:00
#{results}#
2008-12-02 16:24:25 +01:00
<!-- #include virtual="yacysearchitem.html?item=#[item]#&eventID=#[eventID]#&display=#[display]#" -->
2007-09-06 15:26:38 +02:00
#{/results}#
2007-09-07 13:45:38 +02:00
#(resultTable)#::< / table > #(/resultTable)#
2007-09-06 15:26:38 +02:00
<!-- linklist end -->
2007-09-07 13:45:38 +02:00
<!-- attach the bottomline -->
2008-12-02 16:24:25 +01:00
<!-- #include virtual="yacysearchtrailer.html?eventID=#[eventID]#&display=#[display]#" -->
2009-02-06 15:45:56 +01:00
< / div >
2009-03-06 11:16:14 +01:00
2006-03-04 19:52:04 +01:00
< / body >
2009-03-06 18:51:04 +01:00
< / html >