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/yacy/ui/yacyui-portaltest.html

56 lines
1.7 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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script src="http://localhost:8080/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$.ajaxSetup({
timeout: 10000,
cache: false
})
yurl = 'http://localhost:8080/';
ytheme = 'start';
yparam = [
{ name : 'verify', value : 'false'}
,{ name : 'resource', value : 'local'}
,{ name : 'urlmaskfilter', value : '.*'}
,{ name : 'prefermaskfilter', value : ''}
];
$.getScript(yurl+'/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="">
<input id="yquery" type="text" size="15" maxlength="80" value=""/>
</form>
</div>
<h4>Code Snippet:</h4>
<pre>
&lt;script src="http://localhost:8080/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript">&lt;/script>
&lt;script>
$(document).ready(function() {
yurl = 'http://localhost:8080/';
ytheme = 'base';
yparam = [
{ name : 'verify', value : 'false'}
,{ name : 'resource', value : 'local'}
,{ name : 'urlmaskfilter', value : '.*'}
,{ name : 'prefermaskfilter', value : ''}
];
$.getScript(yurl+'/yacy/ui/js/yacyui-portalsearch.js', function(){});
});
&lt;/script>
&lt;div id="yacy">
&lt;form id="ysearch" method="get" accept-charset="UTF-8" action="">
&lt;input id="yquery" type="text" size="15" maxlength="80" value=""/>
&lt;/form>
&lt;/div&gt;
</pre>
</body>
</html>