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.
52 lines
1.7 KiB
52 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() {
|
|
yurl = 'http://localhost:8080/';
|
|
ytheme = 'base';
|
|
yparam = [
|
|
{ name : 'verify', value : 'true'}
|
|
,{ 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>
|
|
<script src="http://localhost:8080/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
yurl = 'http://localhost:8080/';
|
|
ytheme = 'base';
|
|
yparam = [
|
|
{ name : 'verify', value : 'true'}
|
|
,{ name : 'resource', value : 'local'}
|
|
,{ name : 'urlmaskfilter', value : '.*'}
|
|
,{ name : 'prefermaskfilter', value : ''}
|
|
];
|
|
$.getScript(yurl+'/yacy/ui/js/yacyui-portalsearch.js', function(){});
|
|
});
|
|
</script>
|
|
<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>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
|