<!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]#': Blacklist Administration</title> #%env/templates/metas.template%# </head> <body id="Blacklist"> #%env/templates/header.template%# #%env/templates/submenuBlacklist.template%# <h2>Blacklist Administration</h2> <p>Used Blacklist engine: <span class="settingsValue">#[blacklistEngine]#</span></p> <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> <h3>Active list: #(disabled)#<em>#[currentBlacklist]#</em>::<span class="error">No blacklist selected</span>#(/disabled)#</h3> <!-- blacklist selection --> <fieldset> <legend>Test list:</legend> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data"> <input type="text" name="testurl" size="50" value="http://" /> <input type="submit" name="testList" value="Test" /> #(testlist)#:: <div> The tested URL was #[url]#<br> It is blocked for the following cases:<br> <ul> #(listedincrawler)#::<li>Crawling</li>#(/listedincrawler)# #(listedindht)#::<li>DHT</li>#(/listedindht)# #(listedinnews)#::<li>News</li>#(/listedinnews)# #(listedinproxy)#::<li>Proxy</li>#(/listedinproxy)# #(listedinsearch)#::<li>Search</li>#(/listedinsearch)# #(listedinsurftips)#::<li>Surftips</li>#(/listedinsurftips)# </ul> </div> #(/testlist)# </form> </fieldset> <fieldset class="selectList"> <legend>Select list:</legend> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data">#(disabled)# <div style="display:inline;"> <select name="selectedListName" size="1"> #{blackLists}# <option value="#[name]#" #(selected)#::selected="selected"#(/selected)#>#[name]# [#(shared)#not shared::shared#(/shared)#] #{active}# #[blTypeName]##{/active}#</option> #{/blackLists}# </select> <input type="submit" name="selectList" value="select" /> </div>::#(/disabled)# <div style="display:inline;"> <label for="newListName">New list</label>: <input type="text" id="newListName" name="newListName" /> <input type="submit" name="createNewList" value="create" /> </div> </form> </fieldset> #(disabled)# <fieldset class="listSettings"> <legend>Settings for this list</legend> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data"> <div> <input type="hidden" name="selectedListName" value="#[currentBlacklist]#" /> <input type="submit" name="shareList" value="Share/don't share this list" /> <input type="submit" name="deleteList" value="Delete this list" /> </div> </form> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data"> <fieldset> <legend>Activate this list for ...</legend> <dl> #{currentActiveFor}# <dt><label for="activateList4#[blTypeName]#">#[blTypeName]#</label></dt> <dd> <input type="checkbox" id="activateList4#[blTypeName]#" name="activateList4#[blTypeName]#" value="on" #(checked)#checked="checked"::#(/checked)# /> </dd> #{/currentActiveFor}# </dl> <input type="hidden" name="selectedListName" value="#[currentBlacklist]#" /> <input type="submit" name="activateList" value="Save" /> </fieldset> </form> </fieldset> <fieldset class="editList"> <legend>Edit this list</legend> <!-- Blacklist configuration --> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data"> <p> These are the domain name / path patterns in this blacklist:<br /> You can select them here for deletion </p> <div> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <select name="selectedEntry" size="8"> <!--<option disabled>blocked Sites</option>--> #{Itemlist}# <option value="#[item]#">#[item]#</option> #{/Itemlist}# </select> <br /> <input type="submit" name="deleteBlacklistEntry" value="Delete URL pattern" /> <br /> <br /> <input type="submit" name="moveBlacklistEntry" value="Move URL pattern to" /> <select name="targetBlacklist" size="1"> #{blackLists}# <option value="#[name]#">#[name]#</option> #{/blackLists}# </select> </div> </form> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data"> <ul> <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> <div> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="text" name="newEntry" size="50" /> <input type="submit" name="addBlacklistEntry" value="Add URL pattern" /> </div> </form> </fieldset> ::#(/disabled)# <div> <p> #(status)# <!-- 0: --> :: <strong>#[item]#</strong> was removed from blacklist :: <strong>#[item]#</strong> was added to the blacklist #(/status)# </p> </div> #(disabled)# <fieldset class="importListItems"> <legend>Import blacklist items from...</legend> <!-- Blacklist import from other peer --> <form action="sharedBlacklist_p.html" method="get"> <fieldset> <legend>other YaCy peers:</legend> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <select name="hash"> #{otherHosts}# <option value="#[hash]#">#[name]#</option> #{/otherHosts}# </select> <input type="submit" value="Load new blacklist items" /> </fieldset> </form> <!-- blacklist import from url --> <form action="sharedBlacklist_p.html" method="get"> <fieldset> <legend>URL:</legend> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="text" name="url" /> <input type="submit" value="Load new blacklist items" /> </fieldset> </form> <!-- blacklist import from file --> <form action="sharedBlacklist_p.html" method="get"> <fieldset> <legend>file:</legend> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="text" name="file" /> <input type="submit" value="Load new blacklist items" /> </fieldset> </form> </fieldset>::#(/disabled)# #%env/templates/footer.template%# </body> </html>