Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- added hints to integrate a yacy search in phpBB3 - added also a phpBB3 crawl start with optimized crawl attributes
orbiter93c69fa1cb4a
diff --git a/htroot/ConfigPHPBB3Search.html b/htroot/ConfigPHPBB3Search.htmlindex 99292b543..8b8dbe7c4 100644--- a/htroot/ConfigPHPBB3Search.html+++ b/htroot/ConfigPHPBB3Search.html@@ -13,7 +13,7 @@This guide helps you to insert a search window in your phpBB3 pages.</p>- <h3>Retrieval of phpBB3 Forum Pages</h3>+ <h3>Retrieval of phpBB3 Forum Pages using a database export</h3><p>Forum posting contain rich information about the topic, the time, the subject and the author.This information is in an bad annotated form in web pages delivered by the forum software.@@ -21,63 +21,88 @@YaCy has a phpBB3 extraction feature, please go to the <a href="ContentIntegrationPHPBB3_p.html">phpBB3 content integration</a> servlet for direct database imports.</p>+ <h3>Retrieval of phpBB3 Forum Pages using a web crawl</h3>+ <p>+ The following form is a simplified crawl start that uses the proper values for a phpbb3 forum crawl.+ Just insert the front page URL of your forum. After you started the crawl you may want to get back+ to this page to read the integration hints below.+ </p>++ <form name="WatchCrawler" action="WatchCrawler_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.*|.*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>+ </fieldset>+ </form>+<h3>Inserting a Search Window to phpBB3</h3><p>- To integrate a search window into phpBB3, you must insert some code into the wiki template.- There are several templates that can be used for MediaWiki, but in this guide we consider that- you are using the default template, 'MonoBook.php':+ 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 skins/MonoBook.php</li>- <li>find the line where the default search window is displayed, there are the following statements:- <pre><form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform">- <input id="searchInput" name="search" type="text"- <?php if($this->haveMsg('accesskey-search')) {- ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php }- if( isset( $this->data['search'] ) ) {- ?> value="<?php $this->text('search') ?>"<?php } ?> />- <input type='submit' name="go" class="searchButton" id="searchGoButton"- value="<?php $this->msg('go') ?>"- /> <input type='submit' name="fulltext"- class="searchButton"- value="<?php $this->msg('search') ?>" />- </form>- </pre></li>- <li>Remove that code or set it in comments using '<!--' and '-->' </li>- <li>Insert the following code:+ <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>Search with YaCy in this Forum:</p>-<script src="http://#[address]#/yacy/ui/js/jquery-1.3.1.min.js" type="text/javascript"></script>+<script src="http://#[address]#/yacy/ui/js/jquery-1.3.2.min.js" type="text/javascript"></script><script>$(document).ready(function() {yconf = {url : 'http://#[address]#/',- theme : 'smoothness',title : 'YaCy Forum Search',- urlmaskfilter : '.*',width : 500,- height : 600+ height : 600,+ position : ['top',30]};$.getScript(yconf.url+'/yacy/ui/js/yacyui-portalsearch.js', function(){});});</script><div id="yacylivesearch"><form id="ysearch" method="get" accept-charset="UTF-8" action="http://#[address]#/yacysearch.html">- <input name="search" id="yquery" type="text" size="15" maxlength="80" value=""/>- <input type="hidden" name="verify" value="false" />+ <input name="search" id="yquery" type="text" size="16" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value=""/>+ <input type="hidden" name="verify" value="true" /><input type="hidden" name="maximumRecords" value="10" /><input type="hidden" name="resource" value="local" /><input type="hidden" name="urlmaskfilter" value=".*" /><input type="hidden" name="prefermaskfilter" value="" />- <input type="hidden" name="former" value="" /><input type="hidden" name="display" value="2" />- <input type="submit" name="Enter" value="Suchen" />- </form>+ </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- <a href=""></a>.+ the <a href="ConfigLiveSearch.html">configuration for live search</a>.</ul></p>#%env/templates/footer.template%#diff --git a/htroot/ConfigWikiSearch.html b/htroot/ConfigWikiSearch.htmlindex 5408ac94e..f25b15822 100644--- a/htroot/ConfigWikiSearch.html+++ b/htroot/ConfigWikiSearch.html@@ -113,7 +113,7 @@<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- <a href=""></a>.+ the <a href="ConfigLiveSearch.html">configuration for live search</a>.</ul></p>#%env/templates/footer.template%#diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.templateindex 325f85945..f566cd966 100644--- a/htroot/env/templates/header.template+++ b/htroot/env/templates/header.template@@ -70,7 +70,7 @@<li class="menugroup" id="menugroupIntegration"><h3>Search Integration</h3><ul class="menu">- <li><a href="/ConfigPortal.html" class="MenuItemLink">Search Portals</a></li>+ <li><a href="/ConfigLiveSearch.html" class="MenuItemLink">Search Portals</a></li><li><a href="/ConfigAppearance_p.html" class="MenuItemLink lock">Customization</a></li></ul></li>diff --git a/htroot/env/templates/submenuIntegration.template b/htroot/env/templates/submenuIntegration.templateindex 5e7c8cd56..5fc5f5172 100644--- a/htroot/env/templates/submenuIntegration.template+++ b/htroot/env/templates/submenuIntegration.template@@ -1,10 +1,10 @@<div class="SubMenu"><h3>Search Portal Integration</h3><ul class="SubMenu">- <li><a href="/ConfigPortal.html" class="MenuItemLink">Generic Search Portal</a></li><li><a href="/ConfigLiveSearch.html" class="MenuItemLink">Live Search Anywhere</a></li>+ <li><a href="/ConfigPortal.html" class="MenuItemLink">Generic Search Portal</a></li><li><a href="/ConfigWikiSearch.html" class="MenuItemLink">Search Integration for Wikis</a></li>- <li><a href="/IndexImportWikimedia_p.html" class="MenuItemLink lock">Wikimedia Dump Import</a></li><li><a href="/ConfigPHPBB3Search.html" class="MenuItemLink">Search Integration for phpBB3</a></li>+ <li><a href="/IndexImportWikimedia_p.html" class="MenuItemLink lock">Wikimedia Dump Import</a></li></ul></div>\ No newline at end of file