- fix for last two commits

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3452 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 18 years ago
parent de1b4a1731
commit 2be405e1e1

@ -17,7 +17,7 @@
::<p class="error">Unable to access the local file: <span class="error tt">#[msg]#</span></p>
::<p class="error">Deletion of <span class="error tt">htroot/robots.txt</span> failed</p>#(/error)#
<form method="post" action="ConfigRobotsTxt_p.html" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset><legend>Restrict access for</legend><table border="0"><tr><td>
<fieldset><legend>Restrict access for</legend>
<input type="hidden" name="directories" value="checked" />
<input type="hidden" name="locked" value="checked" />
<dl>
@ -43,7 +43,7 @@
<dd><input type="checkbox" id="fileshare" name="fileshare"#(fileshare.checked)#:: checked="checked"#(/fileshare.checked)# /></dd>
<dt>&nbsp;</dt>
<dd><input type="submit" name="save" value="Set restrictions" /></dd>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
#%env/templates/footer.template%#

@ -12,16 +12,16 @@
#(addedUrls)#::<span class="success">Added #[added]# URLs!</span>#(/addedUrls)#
<form method="post" action="CrawlURLFetchStack_p.html" enctype="multipart/form-data">
<fieldset><legend>Statistics</legend>
<table border="0"><tr><td><dl>
<dl>
<dt>Currently stacked URLs:</dt><dd>#[urlCount]#</dd>
<dt>Totally fetched / added URLs:</dt><dd>#[totalFetched]# / #[totalAdded]#</dd>
#{peers}#
<dt>Fetched from #[peer]#</dt><dd>#[amount]#</dd>#{/peers}#
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset><legend>Settings</legend>
<table border="0"><tr><td><dl>
<dl>
<dt><label for="maxSize">Maximum URLs for each transfer</label>:</dt>
<dd>
<input type="text" name="maxSize" id="maxSize" value="#[maxSize]#" maxlength="3" size="3" />
@ -30,11 +30,11 @@
<span class="success">Set max. size for each transfer to #[value]#</span>::
<span class="error">Setting max. size for each transfer to #[value]# was unsuccessful: may not be negative</span>#(/set)#
</dd>
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset><legend>Add URLs to stack</legend>
<table border="0"><tr><td><dl>
<dl>
<dt><label for="shiftloc">Shift URLs from Local Crawler</label>:</dt>
<dd>
<input type="text" name="shiftloc" id="shiftloc" value="#[locurlsVal]#" size="5" maxlength="5" style="text-align: right;" />
@ -60,7 +60,7 @@
<span class="success">Added #[added]# and rejected #[failed]# URLs from uploaded file successfully</span>::
<span class="error">An internal error occured processing the uploaded file: #[error]#</span>#(/upload)#
</dd>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
#%env/templates/footer.template%#

@ -15,7 +15,7 @@
The Re-Crawl option isn't used and the sites won't be stored in the Proxy Cache. Text and media types will be indexed.
Since these URLs will be requested explicitely from another peer, they won't be distributed for remote indexing.
</p>
<table border="0"><tr><td><dl>
<dl>
<dt><label for="url">Fetch from URL</label>:</dt>
<dd>
<input type="radio" name="source" value="url" id="url" checked="checked" />
@ -62,7 +62,7 @@
#(freqError)#::&nbsp;<span class="error">Invalid period, fetching only once</span>#(/freqError)#
</dd>
<dt><input type="submit" name="start" value="Fetch URLs" /></dt>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
@ -73,7 +73,7 @@
#(runs)#::
<form method="post" action="CrawlURLFetch_p.html" enctype="multipart/form-data">
<fieldset><legend>Thread to fetch URLs is #(status)#running::stopped::paused#(/status)#</legend>
<table border="0"><tr><td><dl>
<dl>
<dt>Total runs:</dt><dd>#[totalRuns]#</dd>
<dt>Total fetched URLs:</dt><dd>#[totalFetchedURLs]#</dd>
<dt>Total failed URLs:</dt><dd>#[totalFailedURLs]#</dd>
@ -98,7 +98,7 @@
<input type="submit" name="stop" value="Stop Thread" />
<input type="submit" name="restart" value="Restart Thread" />#(/status)#
</dt>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
#(/runs)#

@ -18,7 +18,7 @@
</fieldset>
<fieldset>
<legend>Query Attributes</legend>
<table border="0"><tr><td><dl>
<dl>
<dt><label for="global">Global:</label></dt>
<dd><input type="checkbox" name="global" id="global"#(globalChecked)#:: checked="checked"#(/globalChecked)# /></dd>
<dt><label for="postsort">Post-Sort:</label></dt>
@ -29,27 +29,27 @@
<dd><input type="text" name="localTime" id="localTime" value="#[localTime]#" size="4" maxlength="3" /></dd>
<dt><label for="localWDist">Max. word distance:</label></dt>
<dd><input type="text" name="localWDist" id="localWDist" value="#[localWDist]#" size="4" maxlength="4" /></dd>
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset>
<legend>Pre-Ranking</legend>
<table border="0"><tr><td><dl>#{attrPre}#
<dl>#{attrPre}#
<dt><label for="#[nameorg]#">#[name]#</label>:</dt>
<dd id="#[nameorg]#">#{select}#
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}#
#[value]#
</dd>#{/attrPre}#
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset>
<legend>Post-Ranking</legend>
<table border="0"><tr><td><dl>#{attrPost}#
<dl>#{attrPost}#
<dt><label for="#[nameorg]#">#[name]#</label></dt>
<dd id="#[nameorg]#">#{select}#
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}#
#[value]#
</dd>#{/attrPost}#
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset>
<input type="submit" name="EnterRanking" value="Set as Default Ranking" />

@ -0,0 +1,355 @@
<!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]#': Index Creation</title>
#%env/templates/metas.template%#
<script type="text/javascript" src="/js/ajax.js"></script>
<script type="text/javascript" src="/js/IndexCreate.js"></script>
</head>
<body id="IndexCreate">
#%env/templates/header.template%#
#%env/templates/submenuIndexCreate.template%#
<h2>Index Creation</h2>
<p id="startCrawling">
<strong>Start Crawling Job:</strong>&nbsp;
You can define URLs as start points for Web page crawling and start crawling here. "Crawling" means that YaCy will download the given website, extract all links in it and then download the content behind these links. This is repeated as long as specified under "Crawling Depth".
</p>
<form action="WatchCrawler_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend>Crawling Depth</legend>
<p>
This defines how often the Crawler will follow links embedded in websites.<br />
A minimum of 0 is recommended and means that the page you enter under "Starting Point" will be added to
the index, but no linked content is indexed. 2-4 is good for normal indexing.
Be careful with the depth. Consider a branching factor of average 20;
A prefetch-depth of 8 would index 25.600.000.000 pages, maybe this is the whole WWW.
</p>
<dl>
<dt><label for="crawlingDepth">Crawling Depth</label>:</dt>
<dd><input id="crawlingDepth" name="crawlingDepth" type="text" size="2" maxlength="2" value="#[crawlingDepth]#" /></dd>
</dl>
</fieldset>
<fieldset><legend>Crawling Filter</legend>
<p>
This is an emacs-like regular expression that must match with the URLs which are used to be crawled.
Use this i.e. to crawl a single domain. If you set this filter it makes sense to increase
the crawling depth.
</p>
<dl>
<dt><label for="crawlingFilter">Crawling Filter</label>:</dt>
<dd><input id="crawlingFilter" name="crawlingFilter" type="text" size="20" maxlength="100" value="#[crawlingFilter]#" /></dd>
</dl>
</fieldset>
<fieldset><legend>Re-Crawl Option</legend>
<p>
If you use this option, web pages that are already existent in your database are crawled and indexed again.
It depends on the age of the last crawl if this is done or not: if the last crawl is older than the given
date, the page is crawled again, otherwise it is treated as 'double' and not loaded or indexed again.
</p>
<dl>
<dt><label for="crawlingIfOlderCheck">Use Re-Crawl Option</label>:</dt>
<dd><input type="checkbox" id="crawlingIfOlderCheck" name="crawlingIfOlderCheck" #(crawlingIfOlderCheck)#::checked="checked"#(/crawlingIfOlderCheck)# /></dd>
<dt><label for="crawlingIfOlderNumber">Interval</label>:</dt>
<dd>
<input id="crawlingIfOlderNumber" name="crawlingIfOlderNumber" type="text" size="7" maxlength="7" value="#[crawlingIfOlderNumber]#" />
<select>
<option name="crawlingIfOlderUnit" value="year" #(crawlingIfOlderUnitYearCheck)#::selected="selected"#(/crawlingIfOlderUnitYearCheck)# />Year(s)&nbsp;&nbsp;
<option name="crawlingIfOlderUnit" value="month" #(crawlingIfOlderUnitMonthCheck)#::selected="selected"#(/crawlingIfOlderUnitMonthCheck)# />Month(s)&nbsp;&nbsp;
<option name="crawlingIfOlderUnit" value="day" #(crawlingIfOlderUnitDayCheck)#::selected="selected"#(/crawlingIfOlderUnitDayCheck)# />Day(s)&nbsp;&nbsp;
<option name="crawlingIfOlderUnit" value="hour" #(crawlingIfOlderUnitHourCheck)#::selected="selected"#(/crawlingIfOlderUnitHourCheck)# />Hour(s)&nbsp;&nbsp;
<option name="crawlingIfOlderUnit" value="minute" #(crawlingIfOlderUnitMinuteCheck)#::selected="selected"#(/crawlingIfOlderUnitMinuteCheck)# />Minute(s)
</select>
</dd>
</dl>
</fieldset>
<fieldset><legend>Auto-Dom-Filter</legend>
<p>
This option will automatically create a domain-filter which limits the crawl on domains the crawler
will find on the given depth. You can use this option i.e. to crawl a page with bookmarks while
restricting the crawl on only those domains that appear on the bookmark-page. The adequate depth
for this example would be 1.<br />
The default value 0 gives no restrictions.
</p>
<dl>
<dt><label for="crawlingDomFilterCheck">Use Auto-Dom Filter</label>:</dt>
<dd><input type="checkbox" id="crawlingDomFilterCheck" name="crawlingDomFilterCheck" #(crawlingDomFilterCheck)#::checked="checked"#(/crawlingDomFilterCheck)# /></dd>
<dt><label for="crawlingDomFilterDepth">Depth</label>:</dt>
<dd><input id="crawlingDomFilterDepth" name="crawlingDomFilterDepth" type="text" size="2" maxlength="2" value="#[crawlingDomFilterDepth]#" /></dd>
</dl>
</fieldset>
<fieldset><legend>Maximum Pages per Domain</legend>
<p>
You can limit the maxmimum number of pages that are fetched and indexed from a single domain with this option.
You can combine this limitation with the 'Auto-Dom-Filter', so that the limit is applied to all the domains within
the given depth. Domains outside the given depth are then sorted-out anyway.
</p>
<dl>
<dt><label for="crawlingDomMaxCheck">Limit max. pages per domain</label>:</dt>
<dd><input type="checkbox" id="crawlingDomMaxCheck" name="crawlingDomMaxCheck" #(crawlingDomMaxCheck)#::checked="checked"#(/crawlingDomMaxCheck)# /></dd>
<dt><label for="crawlingDomMaxPages">Page-Count</label>:</dt>
<dd><input id="crawlingDomMaxPages" name="crawlingDomMaxPages" type="text" size="6" maxlength="6" value="#[crawlingDomMaxPages]#" /></dd>
</dl>
</fieldset>
<fieldset><legend>Accept dynamic URLs</legend>
<p>
A questionmark is usually a hint for a dynamic page. URLs pointing to dynamic content should usually not be crawled. However, there are sometimes web pages with static content that
is accessed with URLs containing question marks. If you are unsure, do not check this to avoid crawl loops.
</p>
<dl>
<dt><label for="crawlingQ">Accept URLs with '?' / dynamic URLs</label>:</dt>
<dd><input type="checkbox" id="crawlingQ" name="crawlingQ" #(crawlingQChecked)#::checked="checked"#(/crawlingQChecked)# /></dd>
</dl>
</fieldset>
<fieldset><legend>Store to Proxy Cache</legend>
<p>
This option is used by default for proxy prefetch, but is not needed for explicit crawling.
We recommend to leave this switched off unless you want to control the crawl results with the
<a href="CacheAdmin_p.html">Cache Monitor</a>.
</p>
<dl>
<dt><label for="storeHTCache">Store to Proxy Cache</label>:</dt>
<dd><input type="checkbox" id="storeHTCache" name="storeHTCache" #(storeHTCacheChecked)#::checked="checked"#(/storeHTCacheChecked)# /></dd>
</dl>
</fieldset>
<fieldset><legend>Local Indexing</legend>
<p>
This enables indexing of the wepages the crawler will download. This should be switched on by default, unless you want to crawl only to fill the
<a href="CacheAdmin_p.html">Proxy Cache</a> without indexing.
</p>
<dl>
<dt><label for="indexText">Index text</label>:</dt>
<dd><input type="checkbox" id="indexText" name="indexText" #(indexingTextChecked)#::checked="checked"#(/indexingTextChecked)# /></dd>
<dt><label for="indexMedia">Index media</label>:</dt>
<dd><input type="checkbox" id="indexMedia" name="indexMedia" #(indexingMediaChecked)#::checked="checked"#(/indexingMediaChecked)# /></dd>
</dl>
</fieldset>
<fieldset><legend>Remote Indexing</legend>
<p>
If checked, the crawler will contact other peers and use them as remote indexers for your crawl.
If you need your crawling results locally, you should switch this off.
Only senior and principal peers can initiate or receive remote crawls.
<strong>A YaCyNews message will be created to inform all peers about a global crawl</strong>, so they can omit starting a crawl with the same start point.
</p>
<dl>
<dt><label for="crawlOrder">Do Remote Indexing</label>:</dt>
<dd><input type="checkbox" id="crawlOrder" name="crawlOrder" #(crawlOrderChecked)#::checked="checked"#(/crawlOrderChecked)# /></dd>
<dt><label for="intention">Intention to start this global crawl (optional)</label>:</dt>
<dd>
<input id="intention" name="intention" type="text" size="40" maxlength="100" value="" />
This message will appear in the 'Other Peer Crawl Start' table of other peers.
</dd>
</dl>
</fieldset>
<fieldset><legend>Exclude <em>static</em> Stop-Words</legend>
<p>
This can be useful to circumvent that extremely common words are added to the database, i.e. "the", "he", "she", "it"...
To exclude all words given in the file <span class="tt">yacy.stopwords</span> from indexing, check this box.
</p>
<dl>
<dt><label for="xsstopw">Exclude <em>static</em> Stop-Words</label>:</dt>
<dd><input type="checkbox" id="xsstopw" name="xsstopw" #(xsstopwChecked)#::checked="checked"#(/xsstopwChecked)# /></dd>
</dl>
</fieldset>
<!--
<tr valign="top" class="TableCellDark">
<td>Exclude <em>dynamic</em> Stop-Words</td>
<td><input type="checkbox" name="xdstopw" #(xdstopwChecked)#::checked="checked"#(/xdstopwChecked)# /></td>
<td colspan="3">
Excludes all words from indexing which are listed by statistic rules.
<em>THIS IS NOT YET FUNCTIONAL</em>
</td>
</tr>
<tr valign="top" class="TableCellDark">
<td>Exclude <em>parent-indexed</em> words</td>
<td><input type="checkbox" name="xpstopw" #(xpstopwChecked)#::checked="checked"#(/xpstopwChecked)# /></td>
<td colspan="3">
Excludes all words from indexing which had been indexed in the parent web page.
<em>THIS IS NOT YET FUNCTIONAL</em>
</td>
</tr>
-->
<fieldset><legend>Starting Point</legend>
<p>
Existing start URLs are re-crawled.
Other already visited URLs are sorted out as "double".
A complete re-crawl will be available soon.
</p>
<dl>
<dt><label for="crawlingFile">From File</label>:</dt>
<dd>
<input type="radio" id="crawlingFile" name="crawlingMode" value="file" />
<input type="file" name="crawlingFile" size="28" />
</dd>
<dt><label for="crawlingURL">From URL</label>:</dt>
<dd>
<input type="radio" id="crawlingURL" name="crawlingMode" value="url" checked="checked" />
<input name="crawlingURL" type="text" size="41" maxlength="256" value="http://" onkeypress="changed()" />
</dd>
<dt>&nbsp;</dt>
<dd>
<span id="robotsOK"></span>
<span id="title"></span>
</dd>
</dl>
</fieldset>
<fieldset>
<input type="submit" name="crawlingstart" value="Start New Crawl" />
</fieldset>
</form>
<form action="IndexCreate_p.html" method="post" enctype="multipart/form-data">
<p id="distributedIndexing">
<strong>Distributed Indexing: </strong>
Crawling and indexing can be done by remote peers.
Your peer can search and index for other peers and they can search for you.
</p>
<table border="0" cellpadding="5" cellspacing="1">
<colgroup>
<col width="10%" />
<col />
</colgroup>
<tr valign="top" class="TableCellDark">
<td>
<input type="radio" name="dcr" value="acceptCrawlMax" #(acceptCrawlMaxChecked)#::checked="checked"#(/acceptCrawlMaxChecked)# />
</td>
<td>
Accept remote crawling requests and perform crawl at maximum load
</td>
</tr>
<tr valign="top" class="TableCelllight">
<td>
<input type="radio" name="dcr" value="acceptCrawlLimited" #(acceptCrawlLimitedChecked)#::checked="checked"#(/acceptCrawlLimitedChecked)# />
</td>
<td>
Accept remote crawling requests and perform crawl at maximum of
<input name="acceptCrawlLimit" type="text" size="4" maxlength="4" value="#[PPM]#" /> Pages Per Minute (minimum is 1, low system load usually at PPM &ge; 30)
</td>
</tr>
<tr valign="top" class="TableCellDark">
<td>
<input type="radio" name="dcr" value="acceptCrawlDenied" #(acceptCrawlDeniedChecked)#::checked="checked"#(/acceptCrawlDeniedChecked)# />
</td>
<td>
Do not accept remote crawling requests (please set this only if you cannot accept to crawl only one page per minute; see option above)
</td>
</tr>
<tr valign="top" class="TableCellLight">
<td>
<input type="submit" name="distributedcrawling" value="set" />
</td>
<td>
</td>
</tr>
</table>
</form>
<p>
#(info)#
::
Crawling paused successfully.
::
Continue crawling.
#(/info)#
</p>
#(refreshbutton)#
::
<form action="IndexCreate_p.html" method="post" enctype="multipart/form-data">
<fieldset>
<input type="submit" name="refreshpage" value="refresh" />
</fieldset>
</form>
#(/refreshbutton)#
<form action="IndexCreate_p.html" method="post" enctype="multipart/form-data">
<fieldset>
#(crawler-paused)#
<input type="submit" name="continuecrawlqueue" value="continue crawling" />
::
<input type="submit" name="pausecrawlqueue" value="pause crawling" />
#(/crawler-paused)#
</fieldset>
</form>
<p id="crawlingStarts"><strong>Recently started remote crawls in progress:</strong></p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td><strong>Start Time</strong></td>
<td><strong>Peer Name</strong></td>
<td><strong>Start URL</strong></td>
<td><strong>Intention/Description</strong></td>
<td><strong>Depth</strong></td>
<td><strong>Accept '?' URLs</strong></td>
</tr>
#{otherCrawlStartInProgress}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#" >
<td>#[cre]#</td>
<td>#[peername]#</td>
<td><a href="#[startURL]#">#[startURL]#</a></td>
<td>#[intention]#</td>
<td>#[generalDepth]#</td>
<td>#(crawlingQ)#no::yes#(/crawlingQ)#</td>
</tr>
#{/otherCrawlStartInProgress}#
</table>
<p><strong>Recently started remote crawls, finished:</strong></p>
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<td><strong>Start Time</strong></td>
<td><strong>Peer Name</strong></td>
<td><strong>Start URL</strong></td>
<td><strong>Intention/Description</strong></td>
<td><strong>Depth</strong></td>
<td><strong>Accept '?' URLs</strong></td>
</tr>
#{otherCrawlStartFinished}#
<tr class="TableCell#(dark)#Light::Dark#(/dark)#" >
<td>#[cre]#</td>
<td>#[peername]#</td>
<td><a href="#[startURL]#">#[startURL]#</a></td>
<td>#[intention]#</td>
<td>#[generalDepth]#</td>
<td>#(crawlingQ)#no::yes#(/crawlingQ)#</td>
</tr>
#{/otherCrawlStartFinished}#
</table>
<p id="remoteCrawlPeers"><strong>Remote Crawling Peers:</strong>&nbsp;</p>
#(remoteCrawlPeers)#
<p>No remote crawl peers available.</p>
::
<p>#[num]# peers available for remote crawling.</p>
<table border="0" cellpadding="2" cellspacing="1">
<colgroup>
<col width="60" />
<col />
</colgroup>
<tr class="TableCellDark">
<th>Idle Peers</th>
<td>
#{available}##[name]# (#[due]# seconds due)&nbsp;&nbsp; #{/available}#
</td>
</tr>
<tr class="TableCellLight">
<th>Busy Peers</th>
<td>
#{busy}##[name]# (#[due]# seconds due)&nbsp;&nbsp;#{/busy}#
</td>
</tr>
</table>
#(/remoteCrawlPeers)#
#%env/templates/footer.template%#
</body>
</html>

@ -15,7 +15,7 @@
<form method="get" action="LogStatistics_p.html">
<fieldset><legend>DHT</legend>
<fieldset>
<legend>URLs</legend><table border="0"><tr><td>
<legend>URLs</legend>
<dl style="margin-top: .3em;">
<dt>URLs Received:</dt><dd>#[urlSum]#</dd>
<dt>URLs Requested:</dt><dd>#[urlReqSum]#</dd>
@ -23,10 +23,10 @@
<dt>Total time:</dt><dd>#[urlTimeSum]# #[urlTimeSumUnit]#</dd>
<dt>URLs Sent:</dt><dd>#[DHTSendURLs]#</dd>
</dl>
</td></tr></table></fieldset>
</fieldset>
<fieldset>
<legend>RWIs / Words</legend><table border="0"><tr><td>
<legend>RWIs / Words</legend>
<dl style="margin-top: .3em;">
<dt>Words received:</dt><dd>#[wordsSum]#</dd>
<dt>RWIs reveived:</dt><dd>#[rwiSum]#</dd>
@ -34,11 +34,11 @@
<dt>Total time:</dt><dd>#[rwiTimeSum]# #[rwiTimeSumUnit]#</dd>
<dt>RWIs selected:</dt><dd>#[DHTSelectionWordsCount]#</dd>
<dt>Selection time:</dt><dd>#[DHTSelectionWordsTimeCount]#</dd>
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset>
<legend>Chunks / Protocol</legend><table border="0"><tr><td>
<legend>Chunks / Protocol</legend>
<dl style="margin-top: .3em;">
<dt>Sent traffic:</dt><dd>#[DHTSendTraffic]# #[DHTSendTrafficUnit]#</dd>
<dt>Total peers selected:</dt><dd>#[DHTSelectionTargetCount]#</dd>
@ -65,19 +65,19 @@
</ul>
</div>#(/useDHTPeers)#
</dd>
</dl></td></tr></table>
</dl>
</fieldset>
</fieldset>
<fieldset><legend>Ranking Distribution</legend><table border="0"><tr><td>
<fieldset><legend>Ranking Distribution</legend>
<dl>
<dt>Submitted ranking files:</dt><dd>#[rankingDistributionCount]#</dd>
<dt>Total time submitting ranking files:</dt><dd>#[rankingDistributionTime]#</dd>
<dt>Failed ranking distributions:</dt><dd>#[rankingDistributionFailCount]#</dd>
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset><legend>Indexing</legend><table border="0"><tr><td>
<fieldset><legend>Indexing</legend>
<dl>
<dt>Indexed sites:</dt><dd>#[indexedSites]#</dd>
<dt>Size of indexed sites:</dt><dd>#[indexedSiteSizeSum]# #[indexedSiteSizeSumUnit]#</dd>
@ -87,15 +87,15 @@
<dt>Total parsing time:</dt><dd>#[indexedParsingTime]# #[indexedParsingTimeUnit]#</dd>
<dt>Total indexing time:</dt><dd>#[indexedIndexingTime]# #[indexedIndexingTimeUnit]#</dd>
<dt>Total storage time:</dt><dd>#[indexedStorageTime]# #[indexedStorageTimeUnit]#</dd>
</dl></td></tr></table>
</dl>
</fieldset>
<fieldset><legend>Errors</legend><table border="0"><tr><td>
<fieldset><legend>Errors</legend>
<dl>
<dt><span class="tt">Tried to create left child node twice</span></dt><dd>#[leftChildTwiceCount]#</dd>
<dt><span class="tt">Tried to create right child node twice</span></dt><dd>#[rightChildTwiceCount]#</dd>
<dt><span class="tt">Malformed URL Exception</span></dt><dd>#[malformedURLCount]#</dd>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
#(/results)#

@ -11,7 +11,7 @@
#(peersKnown)#::
<form enctype="multipart/form-data" action="MessageSend_p.html" method="get">
<fieldset><legend>Compose Message</legend>
<table border="0"><tr><td><dl>
<dl>
<dt><label for="peers">Send message to peer</label>:</dt>
<dd>
<select id="peers" name="hash">#{peers}#
@ -19,7 +19,7 @@
</select>
<input type="submit" name="submit" value="Compose" />
</dd>
</dl></td></tr></table>
</dl>
</fieldset></form>
#(/peersKnown)#
#(mode)#

@ -20,7 +20,7 @@
#(/error)#
<form action="User_p.html">
<fieldset><legend>Select user</legend><table border="0"><tr><td>
<fieldset><legend>Select user</legend>
<dl>
<dt><label for="user">Select user</label>:</dt>
<dd>
@ -34,12 +34,12 @@
<input type="submit" name="change_user" value="Edit User" />
<input type="submit" name="delete_user" value="Delete User" />
</dd>
</dl></td></tr></table>
</dl>
</fieldset>
</form>
<form action="User_p.html" method="post">
<fieldset><legend>Edit current user: #[username]#</legend><table border="0"><tr><td>
<fieldset><legend>Edit current user: #[username]#</legend>
<!-- Hidden(text for debugging): <input type="text" name="current_user" value="#[current_user]#" readonly> -->
<input type="hidden" name="current_user" value="#[current_user]#" />
<dl>
@ -71,6 +71,6 @@
<dd><input type="text" id="tused" name="timeused" value="#[timeused]#" /></dd>
<dt>&nbsp;</dt>
<dd><input type="submit" name="change" value="Save User" /></dd>
</dl></td></tr></table>
</dl>
</fieldset>
</form>

@ -10,7 +10,7 @@
#(error)#
<form method="get" action="ViewFile.html" accept-charset="ascii">
<fieldset><legend>View URL Content</legend><table border="0"><tr><td>
<fieldset><legend>View URL Content</legend>
<dl>
<dt>URL:</dt> <dd><a href="#[url]#">#[url]#</a></dd>
<dt>Hash:</dt> <dd>#[hash]#</dd>
@ -29,7 +29,7 @@
</select>
<input type="submit" name="show" value="Show" />
</dd>
</dl></td></tr></table>
</dl>
<input type="hidden" name="words" value="#[words]#" />
<input type="hidden" name="urlHash" value="#[hash]#" />
</fieldset>

@ -130,7 +130,7 @@ public class Wiki {
HashMap map = new HashMap();
map.put("page", pagename);
map.put("author", author.replace(',', ' '));
if (!page.page().equals(content))
if (post.get("content", "").trim().length() > 0 && !page.page().equals(content))
yacyCore.newsPool.publishMyNews(new yacyNewsRecord("wiki_upd", map));
page = newEntry;
prop.put("LOCATION", "/Wiki.html?page=" + pagename);

Loading…
Cancel
Save