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.
265 lines
15 KiB
265 lines
15 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>
|
|
<title>YaCy '#[clientname]#': Crawl Start</title>
|
|
#%env/templates/metas.template%#
|
|
<script type="text/javascript" src="/js/ajax.js"></script>
|
|
<script type="text/javascript" src="/js/IndexCreate.js"></script>
|
|
<script type="text/javascript">
|
|
function check(key){
|
|
document.getElementById(key).checked = 'checked';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body id="IndexCreate">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexCreate.template%#
|
|
<h2>Crawl Start</h2>
|
|
|
|
<p id="startCrawling">
|
|
<strong>Start Crawling Job:</strong>
|
|
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 name="WatchCrawler" id="WatchCrawler" action="WatchCrawler_p.html" method="post" enctype="multipart/form-data">
|
|
<table border="0" cellpadding="5" cellspacing="1">
|
|
<tr class="TableHeader">
|
|
<td><strong>Attribut</strong></td>
|
|
<td><strong>Value</strong></td>
|
|
<td><strong>Description</strong></td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellSummary">
|
|
<td>Starting Point:</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td><label for="url"><nobr>From URL</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="url" value="url" checked="checked" /></td>
|
|
<td>
|
|
<input name="crawlingURL" type="text" size="41" maxlength="256" value="#[starturl]#" onkeypress="changed()" onfocus="check('url')" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="url"><nobr>From Sitemap</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="sitemap" value="sitemap" disabled="disabled"/></td>
|
|
<td>
|
|
<input name="sitemapURL" type="text" size="41" maxlength="256" value="" readonly="readonly"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="file"><nobr>From File</nobr></label>:</td>
|
|
<td><input type="radio" name="crawlingMode" id="file" value="file" /></td>
|
|
<td><input type="file" name="crawlingFile" size="28" onfocus="check('file')" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" class="commit">
|
|
<span id="robotsOK"></span>
|
|
<span id="title"><br/></span>
|
|
<img src="/env/grafics/empty.gif" name="ajax" alt="empty" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td colspan="3">
|
|
Existing start URLs are always re-crawled.
|
|
Other already visited URLs are sorted out as "double", if they are not allowed using the re-crawl option.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Create Bookmark</td>
|
|
<td>
|
|
<label for="createBookmark">Use</label>:
|
|
<input type="checkbox" name="createBookmark" id="createBookmark" />
|
|
(works with "Starting Point: From URL" only)
|
|
<br /><br />
|
|
<label for="bookmarkTitle"> Title</label>:
|
|
<input name="bookmarkTitle" id="bookmarkTitle" type="text" size="50" maxlength="100" /><br /><br />
|
|
<label for="bookmarkFolder"> Folder</label>:
|
|
<input name="bookmarkFolder" id="bookmarkFolder" type="text" size="50" maxlength="100" value="/crawlStart" />
|
|
<br />
|
|
</td>
|
|
<td>
|
|
This option lets you create a bookmark from your crawl start URL. For automatic re-crawling you can use the following default folders:<br/>
|
|
<ul>
|
|
<li>/autoReCrawl/hourly</li>
|
|
<li>/autoReCrawl/daily</li>
|
|
<li>/autoReCrawl/weekly</li>
|
|
<li>/autoReCrawl/monthly</li>
|
|
</ul>
|
|
Attention: recrawl settings depend on the folder. They can be adjusted in /DATA/SETTINGS/autoReCrawl.conf.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="crawlingDepth">Crawling Depth</label>:</td>
|
|
<td><input name="crawlingDepth" id="crawlingDepth" type="text" size="2" maxlength="2" value="#[crawlingDepth]#" /></td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="mustmatch">Must-Match Filter</label>:</td>
|
|
<td>
|
|
<input type="radio" name="range" value="wide" checked="checked" />Use filter
|
|
<input name="mustmatch" id="mustmatch" type="text" size="60" maxlength="100" value="#[mustmatch]#" /><br />
|
|
<input type="radio" name="range" value="domain" />Restrict to start domain<br />
|
|
<input type="radio" name="range" value="subpath" />Restrict to sub-path
|
|
</td>
|
|
<td>
|
|
The filter is an emacs-like regular expression that must match with the URLs which are used to be crawled;
|
|
default is 'catch all'.
|
|
You can also use an automatic domain-restriction to fully crawl a single domain.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="mustnotmatch">Must-Not-Match Filter</label>:</td>
|
|
<td>
|
|
<input name="mustnotmatch" id="mustnotmatch" type="text" size="60" maxlength="100" value="#[mustnotmatch]#" />
|
|
</td>
|
|
<td>
|
|
This filter must not match to allow that the page is accepted for crawling.
|
|
The empty string is a never-match filter which should do well for most cases.
|
|
If you don't know what this means, please leave this field empty.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td>Re-crawl known URLs:</td>
|
|
<td>
|
|
<label for="crawlingIfOlderChecked">Use</label>:
|
|
<input type="checkbox" name="crawlingIfOlderCheck" id="crawlingIfOlderChecked" #(crawlingIfOlderCheck)#::checked="checked"#(/crawlingIfOlderCheck)# />
|
|
<label for="crawlingIfOlderNumber">If older than</label>:
|
|
<input name="crawlingIfOlderNumber" id="crawlingIfOlderNumber" type="text" size="7" maxlength="7" value="#[crawlingIfOlderNumber]#" />
|
|
<select name="crawlingIfOlderUnit">
|
|
<option value="year" #(crawlingIfOlderUnitYearCheck)#::selected="selected"#(/crawlingIfOlderUnitYearCheck)#>Year(s)</option>
|
|
<option value="month" #(crawlingIfOlderUnitMonthCheck)#::selected="selected"#(/crawlingIfOlderUnitMonthCheck)#>Month(s)</option>
|
|
<option value="day" #(crawlingIfOlderUnitDayCheck)#::selected="selected"#(/crawlingIfOlderUnitDayCheck)#>Day(s)</option>
|
|
<option value="hour" #(crawlingIfOlderUnitHourCheck)#::selected="selected"#(/crawlingIfOlderUnitHourCheck)#>Hour(s)</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Auto-Dom-Filter:</td>
|
|
<td>
|
|
<label for="crawlingDomFilterCheck">Use</label>:
|
|
<input type="checkbox" name="crawlingDomFilterCheck" id="crawlingDomFilterCheck" #(crawlingDomFilterCheck)#::checked="checked"#(/crawlingDomFilterCheck)# />
|
|
<label for="crawlingDomFilterDepth">Depth</label>:
|
|
<input name="crawlingDomFilterDepth" id="crawlingDomFilterDepth" type="text" size="2" maxlength="2" value="#[crawlingDomFilterDepth]#" />
|
|
</td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td>Maximum Pages per Domain:</td>
|
|
<td>
|
|
<label for="crawlingDomMaxCheck">Use</label>:
|
|
<input type="checkbox" name="crawlingDomMaxCheck" id="crawlingDomMaxCheck" #(crawlingDomMaxCheck)#::checked="checked"#(/crawlingDomMaxCheck)# />
|
|
<label for="crawlingDomMaxPages">Page-Count</label>:
|
|
<input name="crawlingDomMaxPages" id="crawlingDomMaxPages" type="text" size="6" maxlength="6" value="#[crawlingDomMaxPages]#" />
|
|
</td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="crawlingQ">Accept URLs with '?' / dynamic URLs</label>:</td>
|
|
<td><input type="checkbox" name="crawlingQ" id="crawlingQ" #(crawlingQChecked)#::checked="checked"#(/crawlingQChecked)# /></td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="storeHTCache">Store to Web Cache</label>:</td>
|
|
<td><input type="checkbox" name="storeHTCache" id="storeHTCache" #(storeHTCacheChecked)#::checked="checked"#(/storeHTCacheChecked)# /></td>
|
|
<td>
|
|
This option is used by default for proxy prefetch, but is not needed for explicit crawling.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td>Do Local Indexing:</td>
|
|
<td>
|
|
<label for="indexText">index text</label>:
|
|
<input type="checkbox" name="indexText" id="indexText" #(indexingTextChecked)#::checked="checked"#(/indexingTextChecked)# />
|
|
<label for="indexMedia">index media</label>:
|
|
<input type="checkbox" name="indexMedia" id="indexMedia" #(indexingMediaChecked)#::checked="checked"#(/indexingMediaChecked)# />
|
|
</td>
|
|
<td>
|
|
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
|
|
Document Cache without indexing.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellLight">
|
|
<td><label for="crawlOrder">Do Remote Indexing</label>:</td>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<input type="checkbox" name="crawlOrder" id="crawlOrder" #(crawlOrderChecked)#::checked="checked"#(/crawlOrderChecked)# />
|
|
</td>
|
|
<td>
|
|
<label for="intention">Describe your intention to start this global crawl (optional)</label>:<br />
|
|
<input name="intention" id="intention" type="text" size="40" maxlength="100" value="" /><br />
|
|
This message will appear in the 'Other Peer Crawl Start' table of other peers.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td>
|
|
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.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top" class="TableCellDark">
|
|
<td><label for="xsstopw">Exclude <em>static</em> Stop-Words</label>:</td>
|
|
<td><input type="checkbox" name="xsstopw" id="xsstopw" #(xsstopwChecked)#::checked="checked"#(/xsstopwChecked)# /></td>
|
|
<td>
|
|
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 <tt>yacy.stopwords</tt> from indexing,
|
|
check this box.
|
|
</td>
|
|
</tr>
|
|
<!--
|
|
<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>
|
|
-->
|
|
<tr valign="top" class="TableCellLight">
|
|
<td colspan="5"><input type="submit" name="crawlingstart" value="Start New Crawl" /></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|