|
|
|
@ -28,39 +28,40 @@
|
|
|
|
|
to this page to read the integration hints below.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<form name="Crawler" action="Crawler_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
|
<form id="Crawler" action="Crawler_p.html" method="post" enctype="multipart/form-data">
|
|
|
|
|
<fieldset>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt><b>URL of the phpBB3 forum main page</b><br />This is a crawl start point</dt>
|
|
|
|
|
<dd><input type="text" name="crawlingURL" value="#[starturl]#" size="60" maxlength="256" onkeypress="changed()" onfocus="check('url')" /></dd>
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="crawlingMode" id="url" value="url" checked="checked" />
|
|
|
|
|
<input type="hidden" name="createBookmark" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDepth" value="8" />
|
|
|
|
|
<input type="hidden" name="mustmatch" value=".*" />
|
|
|
|
|
<input type="hidden" name="mustnotmatch" value=".*memberlist.*|.*previous.*|.*next.*|.*start=.*|.*p=.*" />
|
|
|
|
|
<input type="hidden" name="range" value="subpath" />
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderCheck" value="on"/>
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderNumber" value="1" />
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderUnit" value="day" />
|
|
|
|
|
<input type="hidden" name="crawlingDomFilterCheck" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDomFilterDepth" value="0" />
|
|
|
|
|
<input type="hidden" name="crawlingDomMaxCheck" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDomMaxPages" "" />
|
|
|
|
|
<input type="hidden" name="crawlingQ" value="on" />
|
|
|
|
|
<input type="hidden" name="storeHTCache" value="off" />
|
|
|
|
|
<input type="hidden" name="indexText" value="on" />
|
|
|
|
|
<input type="hidden" name="indexMedia" value="on" />
|
|
|
|
|
<input type="hidden" name="crawlOrder" value="off" />
|
|
|
|
|
<input type="hidden" name="intention" value="" />
|
|
|
|
|
<input type="hidden" name="xsstopw" value="off" />
|
|
|
|
|
<input type="hidden" name="xdstopw" value="off" />
|
|
|
|
|
<input type="hidden" name="xpstopw" value="off" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt></dt>
|
|
|
|
|
<dd><input type="submit" name="crawlingstart" value="Get content of phpBB3: crawl forum pages" /></dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="crawlingMode" id="url" value="url" checked="checked" />
|
|
|
|
|
<input type="hidden" name="createBookmark" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDepth" value="8" />
|
|
|
|
|
<input type="hidden" name="mustmatch" value=".*" />
|
|
|
|
|
<input type="hidden" name="mustnotmatch" value=".*memberlist.*|.*previous.*|.*next.*|.*start=.*|.*p=.*" />
|
|
|
|
|
<input type="hidden" name="range" value="subpath" />
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderCheck" value="on"/>
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderNumber" value="1" />
|
|
|
|
|
<input type="hidden" name="crawlingIfOlderUnit" value="day" />
|
|
|
|
|
<input type="hidden" name="crawlingDomFilterCheck" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDomFilterDepth" value="0" />
|
|
|
|
|
<input type="hidden" name="crawlingDomMaxCheck" value="off" />
|
|
|
|
|
<input type="hidden" name="crawlingDomMaxPages" value="" />
|
|
|
|
|
<input type="hidden" name="crawlingQ" value="on" />
|
|
|
|
|
<input type="hidden" name="storeHTCache" value="off" />
|
|
|
|
|
<input type="hidden" name="indexText" value="on" />
|
|
|
|
|
<input type="hidden" name="indexMedia" value="on" />
|
|
|
|
|
<input type="hidden" name="crawlOrder" value="off" />
|
|
|
|
|
<input type="hidden" name="intention" value="" />
|
|
|
|
|
<input type="hidden" name="xsstopw" value="off" />
|
|
|
|
|
<input type="hidden" name="xdstopw" value="off" />
|
|
|
|
|
<input type="hidden" name="xpstopw" value="off" />
|
|
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
@ -69,11 +70,12 @@
|
|
|
|
|
To integrate a search window into phpBB3, you must insert some code into a forum template.
|
|
|
|
|
There are several templates that can be used for phpBB3, but in this guide we consider that
|
|
|
|
|
you are using the default template, 'prosilver':
|
|
|
|
|
<ul>
|
|
|
|
|
<li>open styles/prosilver/template/overall_header.html</li>
|
|
|
|
|
<li>find the line where the default search window is displayed, thats right behind the <pre><div id="search-box"></pre> statement</li>
|
|
|
|
|
<li>Insert the following code right behind the div tag:
|
|
|
|
|
<pre>
|
|
|
|
|
</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>open styles/prosilver/template/overall_header.html</li>
|
|
|
|
|
<li>find the line where the default search window is displayed, thats right behind the <pre><div id="search-box"></pre> statement</li>
|
|
|
|
|
<li>Insert the following code right behind the div tag:
|
|
|
|
|
<pre>
|
|
|
|
|
<script src="http://#[address]#/yacy/ui/js/jquery-1.3.2.min.js" type="text/javascript"></script>
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
@ -100,13 +102,14 @@
|
|
|
|
|
<input type="submit" name="Enter" value="Search" />
|
|
|
|
|
</form>YaCy Search
|
|
|
|
|
</div>
|
|
|
|
|
</pre></li>
|
|
|
|
|
<li>Check all appearances of static IPs given in the code snippet and replace it with your own IP, or your host name</li>
|
|
|
|
|
<li>You may want to change the default text elements in the code snippet</li>
|
|
|
|
|
<li>To see all options for the search widget, look at the more generic description of search widgets at
|
|
|
|
|
the <a href="ConfigLiveSearch.html">configuration for live search</a>.
|
|
|
|
|
</ul>
|
|
|
|
|
</p>
|
|
|
|
|
</pre>
|
|
|
|
|
</li>
|
|
|
|
|
<li>Check all appearances of static IPs given in the code snippet and replace it with your own IP, or your host name</li>
|
|
|
|
|
<li>You may want to change the default text elements in the code snippet</li>
|
|
|
|
|
<li>To see all options for the search widget, look at the more generic description of search widgets at
|
|
|
|
|
the <a href="ConfigLiveSearch.html">configuration for live search</a>.</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
#%env/templates/footer.template%#
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|