You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
7.4 KiB
153 lines
7.4 KiB
<!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">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Search Page</title>
|
|
#%env/templates/metas.template%#
|
|
<link rel="alternate" type="application/rss+xml" title="Search for #[former]#" href="yacysearch.rss?search=#[former]#" />
|
|
<link rel="search" type="application/opensearchdescription+xml" title="YaCy Search on '#[clientname]#'" href="opensearchdescription.xml" />
|
|
<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>
|
|
<script type="text/javascript" src="/js/highslide/highslide.js"></script>
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/env/highslide.css" />
|
|
<script type="text/javascript">hs.outlineType = 'rounded-white';</script>
|
|
#(navigation)#
|
|
::
|
|
<link media="screen" type="text/css" href="/yacy/ui/css/themes/start/ui.base.css" rel="stylesheet" />
|
|
<link media="screen" type="text/css" href="/yacy/ui/css/themes/start/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>
|
|
//<![CDATA[
|
|
$(function() {
|
|
$("#sidebar").accordion({
|
|
autoHeight: false,
|
|
clearStyle: true,
|
|
header: "h3"
|
|
});
|
|
});
|
|
//]]>
|
|
</script>
|
|
#(/navigation)#
|
|
</head>
|
|
<body id="yacysearch">
|
|
|
|
#(display)#
|
|
#%env/templates/simpleheader.template%#
|
|
::
|
|
<div id="api">
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
document.write("\<a href=\"yacysearch.rss?" + window.location.search.substring(1) + "\"\>")
|
|
//]]>
|
|
</script>
|
|
<img src="env/grafics/api.png" alt="API" /></a>
|
|
<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>
|
|
</div>
|
|
#%env/templates/header.template%#
|
|
::
|
|
#%env/templates/embeddedheader.template%#
|
|
#(/display)#
|
|
|
|
<form class="search small" action="yacysearch.html" method="get" accept-charset="UTF-8">
|
|
<h2>#[promoteSearchPageGreeting]#</h2>
|
|
<div class="yacylogo"><a href="#[promoteSearchPageGreeting.homepage]#" class="yacylogo"><img src="#[promoteSearchPageGreeting.smallImage]#" alt="yacysearch" /></a></div>
|
|
<fieldset class="yacys">
|
|
<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]#&searchoptions=1&count=#[count]#&resource=#[resource]#&urlmaskfilter=#[urlmaskfilter]#&prefermaskfilter=#[prefermaskfilter]#&cat=#[cat]#&constraint=#[constraint]#&contentdom=#[contentdom]#&former=#[former]#">more options</a>
|
|
</div>
|
|
<input type="hidden" name="former" value="#[former]#" />
|
|
<input type="hidden" name="maximumRecords" value="#[count]#" />
|
|
<input type="hidden" name="startRecord" value="#[offset]#" />
|
|
<input type="hidden" name="verify" value="#[verify]#" />
|
|
<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]#" />
|
|
<input type="hidden" name="constraint" value="#[constraint]#" />
|
|
</fieldset>
|
|
</form>
|
|
|
|
#(searchagain)#
|
|
::
|
|
<script type="text/javascript">
|
|
document.getElementById("Enter").value = "search again";
|
|
</script>
|
|
#(/searchagain)#
|
|
|
|
<!-- show information about search key handling -->
|
|
#(excluded)#
|
|
::
|
|
<p><strong>The following words are stop-words and had been excluded from the search: #[stopwords]#.</strong></p>
|
|
#(/excluded)#
|
|
|
|
<!-- type the number of results -->
|
|
#(num-results)#
|
|
::
|
|
<p>No Results.</p>
|
|
::
|
|
<p>No Results. (length of search words must be at least 3 characters)</p>
|
|
::
|
|
<div id="results"></div>
|
|
<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>
|
|
<span id="resNav" style="display: inline;">#[resnav]#</span>
|
|
::
|
|
<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>
|
|
#(/num-results)#
|
|
|
|
<!-- the search results -->
|
|
<script type="text/javascript">
|
|
var progressbar = new Progressbar(#[results]#, document.getElementById("results"));
|
|
</script>
|
|
<div style="float:left; width:70%;">
|
|
<!-- linklist begin -->
|
|
#(resultTable)#::<table width="100%"><tr class="TableHeader"><td width="30%">Media</td><td width="70%">URL</tr>#(/resultTable)#
|
|
#{results}#
|
|
<!--#include virtual="yacysearchitem.html?item=#[item]#&eventID=#[eventID]#&display=#[display]#" -->
|
|
#{/results}#
|
|
#(resultTable)#::</table>#(/resultTable)#
|
|
<!-- linklist end -->
|
|
<!-- attach the bottomline -->
|
|
<!--#include virtual="yacysearchtrailer.html?eventID=#[eventID]#&display=#[display]#" -->
|
|
</div>
|
|
|
|
#(navigation)#
|
|
::
|
|
<div id="sidebar" style="position:fixed; right:8px; margin-top:5px; width: 220px;">
|
|
<h3><a href="#">Navigation</a></h3>
|
|
<div>
|
|
First attempt to add 'real' Navigation to yacy search results:<br />
|
|
After a search is started, it is analysed how many hits are in each site.
|
|
If you click on a domain the search is modified using the efficient site: - operator!
|
|
</div>
|
|
<h3><a href="#">Domains</a></h3>
|
|
<div><ul style="padding-left: 0px;">
|
|
#{domains}#
|
|
<li>#[domain]#</li>
|
|
#{/domains}#
|
|
</ul></div>
|
|
<h3><a href="#">Authors</a></h3>
|
|
<div>Text...</div>
|
|
</div>
|
|
#(/navigation)#
|
|
</div>
|
|
</body>
|
|
</html> |