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.
yacy_search_server/htroot/compare_yacy.html

48 lines
1.8 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]#': Websearch Comparison</title>
<link rel="search" type="application/opensearchdescription+xml" title="Compare Yacy on '#[clientname]#'" href="opensearchdescription.xml?compare_yacy=true" />
#%env/templates/metas.template%#
</head>
<body>
#(display)#
#%env/templates/simpleheader.template%#
::
#%env/templates/header.template%#
::
#%env/templates/embeddedheader.template%#
#(/display)#
<fieldset>
<legend>Websearch Comparison</legend>
<form action="" method="get">
<p>Left Search Engine
<select name="left">
#{searchengines}#
<option #(leftengine)#::selected="selected"#(/leftengine)#>#[searchengine]#</option>
#{/searchengines}#
</select>
&nbsp;&nbsp;Right Search Engine
<select name="right">
#{searchengines}#
<option #(rightengine)#::selected="selected"#(/rightengine)#>#[searchengine]#</option>
#{/searchengines}#
</select>
&nbsp;&nbsp;Query
<input type="text" name="query" value="#[search_query]#" size="60"><input type="submit" value="Compare" />
<input type="hidden" name="display" value="#[display]#" />
</p>
</form>
</fieldset>
#(search)#
::
<fieldset>
<legend>Search Result</legend>
<iframe src="#[left]##[query]#" width="49%" height="1600"></iframe>
<iframe src="#[right]##[query]#" width="49%" height="1600"></iframe>
</fieldset>
#(/search)#
#%env/templates/footer.template%#
</body>
</html>