yacy_search_server/htroot/Blacklist_p.html
borg-0300 74ffb9b842 added more info/examples
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1862 6c8d7289-2bf4-0310-a012-ef5d649a1542
2006-03-08 17:25:43 +00:00

172 lines
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>YaCy '#[clientname]#': Blacklist Manager</title>
#%env/templates/metas.template%#
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
<br><br>
<h2>Blacklist</h2>
<p>This function provides an URL filter to the proxy; any blacklisted URL is blocked
from being loaded. You can define several blacklists and activate them separately.
You may also provide your blacklist to other peers by sharing them; in return you may
collect blacklist entries from other peers.</p>
<table border="0" cellspacing="1" cellpadding="0">
<tr>
<td colspan="3" valign="top" class="TableHeader">
&nbsp;
</td>
</tr>
<tr>
<td colspan="3">
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data">
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td class="TableCellDark">
Edit list:
<select name="blackLists" size="1">
#{blackLists}#
<option value="#[name]#" #(selected)#::selected#(/selected)#>#[name]# #(active)#not active::active#(/active)# #(shared)#not shared::shared#(/shared)#</option>
#{/blackLists}#
</select>
</td>
<td class="TableCellDark"><center>
<input type="submit" name="changelistbutton" value="select"></center>
</td>
<td valign="top" align="right" rowspan="2" class="TableCellDark">
<input type="submit" name="activatelistbutton" value="Enable/disable this list"><br>
<input type="submit" name="sharelistbutton" value="Share/don't share this list"><br>
<input type="submit" name="dellistbutton" value="Delete this list"><br>
</td>
</tr>
<tr>
<td class="TableCellDark">
New list:
<input type="text" name="newlist">
</td>
<td class="TableCellDark"><center>
<input type="submit" name="newlistbutton" value="create"></center>
</td>
<!--<input type="checkbox" name="proxylist" value="on" />active<br />
<input type="checkbox" name="sharedlist" value="on" />shared<br />
<input type="submit" name="changebutton" value="Change"><br />-->
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="3" valign="top" class="TableHeader">
<h3>Active list: #[filename]#</h3>
</td>
</tr>
<tr>
<td rowspan="6">
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td class="TableCellDark">
These are the domain name / path patterns in this blacklist:<br>
You can select them here for deletion
</td>
</tr>
<tr>
<td class="TableCellLight">
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data">
<input type="hidden" name="filename" value="#[filename]#">
<select name="Itemlist" size="8">
<!--<option disabled>blocked Sites</option>-->
#{Itemlist}#
::
<option value="#[item]#">#[item]#</option>
#{/Itemlist}#
</select>
<p>
<input type="submit" name="delbutton" value="Delete URL pattern">
</td>
</tr>
<tr>
<td class="TableCellDark">
Enter new domain name / path pattern in the form:
<ul type="square">
<li>domain/fullpath</li>
<li>domain/.* or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html">regexpr</a></li>
<li>*.domain/.* or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html">regexpr</a></li>
<li>domain.*/.* or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html">regexpr</a></li>
<li>*.sub.domain/.* or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html">regexpr</a></li>
<li>sub.domain.*/.* or <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html">regexpr</a></li></ul>
</td>
</tr>
<tr>
<td class="TableCellLight">
<input type="text" name="newItem" size="50"><p>
<input type="submit" name="addbutton" value="Add URL pattern"></p>
</form>
</td>
</tr>
</table>
<td class="TableHeader" rowspan="6">&nbsp;</td>
<td class="TableCellDark">
Import blacklist items from other YaCy peers:</td>
<tr>
<td class="TableCellLight">
<form action="sharedBlacklist_p.html" method="get">
<input type="hidden" name="filename" value="#[filename]#">
Host: <select name="hash">
#{otherHosts}#
<option value="#[hash]#">#[name]#</option>
#{/otherHosts}#
</select>
<p>
<input type="submit" value="Load new blacklist items">
</form>
</tr>
<tr>
<td class="TableCellDark">
Import blacklist items from URL:</td>
</tr>
<tr>
<td class="TableCellLight">
<form action="sharedBlacklist_p.html" method="get">
<input type="hidden" name="filename" value="#[filename]#">
URL: <input type="text" name="url">
<p>
<input type="submit" value="Load new blacklist items">
</form>
</tr>
<tr>
<td class="TableCellDark">
<p>Import blacklist items from file:</td>
</tr>
<tr>
<td class="TableCellLight">
<form action="sharedBlacklist_p.html" method="get">
<input type="hidden" name="filename" value="#[filename]#">
File: <input type="text" name="file">
<p>
<input type="submit" value="Load new blacklist items">
</form>
</td>
</tr>
</table>
<p>
#(status)#
::
<b>#[item]#</b> was removed from blacklist
::
<b>#[item]#</b> was added to the blacklist
#(/status)#
#%env/templates/footer.template%#
</body>
</html>