|
|
|
<!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>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script src="http://localhost:8081/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
yconf = {
|
|
|
|
url : 'http://localhost:8081/',
|
|
|
|
theme : 'start',
|
|
|
|
title : 'YaCy P2P Web Search',
|
|
|
|
width : 420,
|
|
|
|
height : 500
|
|
|
|
};
|
|
|
|
$.getScript(yconf.url+'/yacy/ui/js/yacyui-portalsearch.js', function(){});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<h3>YaCy Portal Search:</h3>
|
|
|
|
<div id="yacy">
|
|
|
|
<form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8081/yacysearch.html">
|
|
|
|
<input name="query" id="yquery" type="text" size="15" maxlength="80" value=""/>
|
|
|
|
<input type="hidden" name="verify" value="false" />
|
|
|
|
<input type="hidden" name="maximumRecords" value="10" />
|
|
|
|
<input type="hidden" name="resource" value="local" />
|
|
|
|
<input type="hidden" name="urlmaskfilter" value=".*" />
|
|
|
|
<input type="hidden" name="prefermaskfilter" value="" />
|
|
|
|
<input type="hidden" name="former" value="" />
|
|
|
|
<input type="hidden" name="display" value="2" />
|
|
|
|
<input type="submit" name="Enter" value="Suchen" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<h4>Code Snippet:</h4>
|
|
|
|
<pre>
|
|
|
|
<script src="http://localhost:8081/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
yconf = {
|
|
|
|
url : 'http://localhost:8081/',
|
|
|
|
theme : 'start',
|
|
|
|
title : 'YaCy P2P Web Search',
|
|
|
|
width : 420,
|
|
|
|
height : 500
|
|
|
|
};
|
|
|
|
$.getScript(yconf.url+'/yacy/ui/js/yacyui-portalsearch.js', function(){});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<div id="yacy">
|
|
|
|
<form id="ysearch" method="get" accept-charset="UTF-8" action="http://localhost:8081/yacysearch.html">
|
|
|
|
<input name="query" id="yquery" type="text" size="15" maxlength="80" value=""/>
|
|
|
|
<input type="hidden" name="verify" value="false" />
|
|
|
|
<input type="hidden" name="maximumRecords" value="10" />
|
|
|
|
<input type="hidden" name="resource" value="local" />
|
|
|
|
<input type="hidden" name="urlmaskfilter" value=".*" />
|
|
|
|
<input type="hidden" name="prefermaskfilter" value="" />
|
|
|
|
<input type="hidden" name="former" value="" />
|
|
|
|
<input type="hidden" name="display" value="2" />
|
|
|
|
<input type="submit" name="Enter" value="Suchen" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|