diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2009-05-27 14:53:23 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2009-05-27 14:53:23 +0000 |
| commit | 4b4bddca00e348fed0ecc4462fe4e4b02521b4e1 (patch) | |
| tree | de12b8253e5f9fef0a739933f263d32deb497053 /htroot/ContentIntegrationPHPBB3_p.html | |
| parent | f1a9253baa43d478695e307ceb8911a6bf268d65 (diff) | |
added new submenu to crawler menu: import of phpbb3 forum postings from mysql
- yacy can import phpbb3 posts without crawling
- all data is written as surrogate
- indexed surrogate files can be re-used
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5985 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/ContentIntegrationPHPBB3_p.html')
| -rw-r--r-- | htroot/ContentIntegrationPHPBB3_p.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/htroot/ContentIntegrationPHPBB3_p.html b/htroot/ContentIntegrationPHPBB3_p.html new file mode 100644 index 000000000..be9a3eab3 --- /dev/null +++ b/htroot/ContentIntegrationPHPBB3_p.html @@ -0,0 +1,83 @@ +<!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]#': Content Integration: Retrieval from phpBB3 Databases</title>
+ #%env/templates/metas.template%#
+ </head>
+ <body id="ContentIntegrationPHPBB3">
+ #%env/templates/header.template%#
+ #%env/templates/submenuIndexCreate.template%#
+ <h2>Content Integration: Retrieval from phpBB3 Databases</h2>
+ <p>
+ It is possible to extract texts directly from mySQL and postgreSQL databases.
+ Each extraction is specific to the data that is hosted in the database.
+ This interface gives you access to the phpBB3 forums software content.
+ </p>
+ <p>
+ When a export is started, surrogate files are generated into DATA/SURROGATE/in which are automatically fetched by an indexer thread.
+ All indexed surrogate files are then moved to DATA/SURROGATE/out and can be re-cycled when a index is deleted.
+ </p>
+
+ <form action="ContentIntegrationPHPBB3_p.html">
+ <fieldset>
+ <dl>
+ <dt><b>The URL stub</b>,<br />like http://forum.yacy-websuche.de<br />this must be the path right in front of '/viewtopic.php?'</dt>
+ <dd><input type="text" name="content.phpbb3.urlstub" value="#[content.phpbb3.urlstub]#" size="60" /></dd>
+
+ <dt><b>Type</b> of database<br />(use either 'mysql' or 'pgsql')</dt>
+ <dd><input type="text" name="content.phpbb3.dbtype" value="#[content.phpbb3.dbtype]#" size="6" /></dd>
+
+ <dt><b>Host</b> of the database</dt>
+ <dd><input type="text" name="content.phpbb3.dbhost" value="#[content.phpbb3.dbhost]#" size="40" /></dd>
+
+ <dt><b>Port</b> of database service<br />(usually 3306 for mySQL)</dt>
+ <dd><input type="text" name="content.phpbb3.dbport" value="#[content.phpbb3.dbport]#" size="6" /></dd>
+
+ <dt><b>Name of the database</b> on the host</dt>
+ <dd><input type="text" name="content.phpbb3.dbname" value="#[content.phpbb3.dbname]#" size="20" /></dd>
+
+ <dt><b>User</b> that can access the database</dt>
+ <dd><input type="text" name="content.phpbb3.dbuser" value="#[content.phpbb3.dbuser]#" size="20" /></dd>
+
+ <dt><b>Password</b> for the account of that user given above</dt>
+ <dd><input type="text" name="content.phpbb3.dbpw" value="#[content.phpbb3.dbpw]#" size="20" /></dd>
+
+ <dt><b>Posts per file</b><br />in exported surrogates</dt>
+ <dd><input type="text" name="content.phpbb3.ppf" value="#[content.phpbb3.ppf]#" size="20" /></dd>
+
+ <dt></dt>
+ <dd>
+ <input type="submit" name="check" value="Check database connection" />
+ <input type="submit" name="export" value="Export Content to Surrogates" />
+ </dd>
+ </dl>
+ </fieldset>
+ </form>
+
+ #(check)#::
+ <form>
+ <fieldset>
+ <dl>
+ <dt>Posts in database</dt>
+ <dd>#[posts]#</dd>
+
+ <dt>first entry</dt>
+ <dd>#[first]#</dd>
+
+ <dt>last entry</dt>
+ <dd>#[last]#</dd>
+
+ </dl>
+ </fieldset>
+ </form>::
+ <p>Info failed: #[error]#</p>
+ #(/check)#
+
+ #(export)#::
+ <p>Export successful! Wrote #[files]# files in DATA/SURROGATES/in</p>::
+ <p>Export failed: #[error]#</p>
+ #(/export)#
+
+ #%env/templates/footer.template%#
+ </body>
+</html>
|
