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.
147 lines
7.0 KiB
147 lines
7.0 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">
|
|
#(reload)#::<meta http-equiv="REFRESH" content="5; url=/IndexControlURLs_p.html">#(/reload)#
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Index Control</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="IndexControl">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexControl.template%#
|
|
<h2>Index Administration</h2>
|
|
<p>The local index currently contains #[ucount]# URL references</p>
|
|
<form action="IndexControlURLs_p.html" method="post" enctype="multipart/form-data">
|
|
<fieldset><legend>URL Retrieval</legend>
|
|
<dl>
|
|
<dt class="TableCellDark">Retrieve by URL:</dt>
|
|
<dd><input type="text" name="urlstring" value="#[urlstring]#" size="40" maxlength="250" />
|
|
<input type="submit" name="urlstringsearch" value="Show Details for URL" />
|
|
</dd>
|
|
|
|
<dt class="TableCellDark">Retrieve by URL-Hash:</dt>
|
|
<dd><input type="text" name="urlhash" value="#[urlhash]#" size="40" maxlength="12" />
|
|
<input type="submit" name="urlhashsearch" value="Show Details for URL-Hash" />
|
|
<input type="submit" name="urlhashsimilar" value="Generate List" />
|
|
</dd>
|
|
</dl>
|
|
</fieldset>
|
|
</form>
|
|
|
|
#(statistics)#::
|
|
<form action="IndexControlURLs_p.html" method="post" enctype="multipart/form-data">
|
|
<fieldset><legend>Statistics about top-domains in URL Database</legend>
|
|
<dl>
|
|
<dt class="TableCellLight"></dt>
|
|
<dd>Show top <input type="text" name="lines" value="#[lines]#" size="6" maxlength="6" /> domains from all URLs.
|
|
<input type="submit" name="statistics" value="Generate Statistics" />
|
|
</dd>
|
|
</dl>
|
|
</fieldset>
|
|
</form>
|
|
#(/statistics)#
|
|
|
|
#(statisticslines)#::
|
|
<p><em>Statistics about the top-#[domains]# domains in the database:</em>
|
|
<table cellpadding="2" cellspacing="1" >
|
|
<tr class="TableHeader">
|
|
<td align="center"></td>
|
|
<td><strong>Domain</strong></td>
|
|
<td><strong>URLs</strong></td>
|
|
</tr>
|
|
#{domains}#
|
|
<tr class="TableCell#(dark)#Light::Dark#(/dark)#">
|
|
<td>
|
|
<form action="IndexControlURLs_p.html" method="post" enctype="multipart/form-data">
|
|
<div>
|
|
<input type="hidden" name="hashpart" value="#[hashpart]#" />
|
|
<input type="hidden" name="lines" value="#[lines]#" />
|
|
<input type="submit" name="deletedomain" value="delete all" />
|
|
</div>
|
|
</form>
|
|
</td>
|
|
<td><a href="http://#[domain]#/" target="_">#[domain]#</a></td>
|
|
<td>#[count]#</td>
|
|
</tr>
|
|
#{/domains}#
|
|
</table></p>
|
|
#(/statisticslines)#
|
|
|
|
#(lurlexport)#::
|
|
<form action="IndexControlURLs_p.html" method="post" enctype="multipart/form-data">
|
|
<fieldset><legend>Loaded URL Export</legend>
|
|
<dl>
|
|
<dt class="TableCellDark">Export File</dt>
|
|
<dd><input type="text" name="exportfile" value="#[exportfile]#" size="80" maxlength="250" />
|
|
</dd>
|
|
<dt class="TableCellDark">URL Filter</dt>
|
|
<dd><input type="text" name="exportfilter" value=".*.*" size="20" maxlength="250" />
|
|
</dd>
|
|
<dt class="TableCellDark">Export Format</dt>
|
|
<dd>Only Domain <i>(superfast)</i>:
|
|
<input type="radio" name="format" value="dom-text" />Plain Text List (domains only)
|
|
<input type="radio" name="format" value="dom-html" checked="checked" />HTML (domains as URLs, no title)<br />
|
|
Full URL List <i>(high IO) </i>:
|
|
<input type="radio" name="format" value="url-text" />Plain Text List (URLs only)
|
|
<input type="radio" name="format" value="url-html" />HTML (URLs with title)
|
|
<input type="radio" name="format" value="url-rss" />XML (RSS)
|
|
<br />
|
|
</dd>
|
|
<dt class="TableCellLight"></dt>
|
|
<dd><input type="submit" name="lurlexport" value="Export URLs" />
|
|
</dd>
|
|
</dl>
|
|
</fieldset>
|
|
</form>::
|
|
<div class="commit" style="text-decoration:blink">Export to file #[exportfile]# is running .. #[urlcount]# URLs so far</div>::
|
|
#(/lurlexport)#
|
|
|
|
#(lurlexportfinished)#::
|
|
<div class="commit">Finished export of #[urlcount]# URLs to file <a href="file://#[exportfile]#" target="_">#[exportfile]#</a></div>::
|
|
#(/lurlexportfinished)#
|
|
|
|
#(lurlexporterror)#::
|
|
<div class="error">Export to file #[exportfile]# failed: #[exportfailmsg]#</div>::
|
|
#(/lurlexporterror)#
|
|
|
|
#(urlhashsimilar)#::<p>Sequential List of URL-Hashes:<br />
|
|
#{rows}#
|
|
#{cols}#<a href="/IndexControlURLs_p.html?urlhash=#[urlHash]#&urlhashsearch=1" class="tt">#[urlHash]#</a> #{/cols}#<br />
|
|
#{/rows}#
|
|
</p>
|
|
#(/urlhashsimilar)#
|
|
|
|
#(genUrlProfile)#
|
|
::No entry found for URL-hash #[urlhash]#
|
|
::<table>
|
|
<tr><td class="small">URL String</td><td class="tt"><a href="#[urlNormalform]#">#[urlNormalform]#</a></td></tr>
|
|
<tr><td class="small">Hash</td><td class="tt">#[urlhash]#</td></tr>
|
|
<tr><td class="small">Description</td><td class="tt">#[urlDescr]#</td></tr>
|
|
<tr><td class="small">Modified-Date</td><td class="tt">#[moddate]#</td></tr>
|
|
<tr><td class="small">Loaded-Date</td><td class="tt">#[loaddate]#</td></tr>
|
|
#(referrer)#
|
|
<tr><td class="small">Referrer</td><td class="tt">unknown</td></tr>
|
|
::
|
|
<tr><td class="small">Referrer</td><td class="tt"><a href="IndexControlURLs_p.html?urlhashsearch=&urlhash=#[hash]#">#[url]#</a></td></tr>
|
|
#(/referrer)#
|
|
<tr><td class="small">Doctype</td><td class="tt">#[doctype]#</td></tr>
|
|
<tr><td class="small">Language</td><td class="tt">#[language]#</td></tr>
|
|
<tr><td class="small">Size</td><td class="tt">#[size]#</td></tr>
|
|
<tr><td class="small">Words</td><td class="tt">#[wordCount]#</td></tr>
|
|
</table><br />
|
|
<form action="IndexControlURLs_p.html" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="keystring" value="" />
|
|
<input type="hidden" name="keyhash" value="" />
|
|
<input type="hidden" name="urlstring" value="" />
|
|
<input type="hidden" name="urlhash" value="#[urlhash]#" />
|
|
<input type="submit" value="Delete URL" name="urlhashdelete" /><br />
|
|
<span class="small"> this may produce unresolved references at other word indexes but they do not harm</span><br /><br />
|
|
<input type="submit" value="Delete URL and remove all references from words" name="urlhashdeleteall" /><br />
|
|
<span class="small"> delete the reference to this url at every other word where the reference exists (very extensive, but prevents unresolved references)</span><br />
|
|
</form>
|
|
#(/genUrlProfile)#
|
|
|
|
#[result]#
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html> |