This extension imports WordPress categories & posts into TYPO3's extension EXT:news.
Be aware: This extension has been created for a single client and might need further adoption for your project.
Install extension by using composer req studiomitte/news-wp-import
.
Use a duplicate of the WordPress and make it available for the TYPO3 installation by defining the configuration in the LocalConfiguration.php
file:
'DB' => [
'Connections' => [
'Default' => [
'charset' => 'utf8',
'dbname' => 'db',
'driver' => 'mysqli',
'host' => 'mysql',
'password' => 'root',
'port' => 3306,
'user' => 'root',
],
// --- WordPress DB begin
'wp' => [
'charset' => 'utf8',
'dbname' => 'wp',
'driver' => 'mysqli',
'host' => 'mysql',
'password' => 'root',
'port' => 3306,
'user' => 'root',
],
// --- WordPress DB end
],
],
Use the following command to import: ./typo3cms wp2news:import wp 123
.
Arguments:
wp
: Name of the connection+123
: Page ID which is used to persist the records
This extension was created by Georg Ringer for Studio Mitte, Linz.
Find more TYPO3 extensions we have developed that provide additional features for TYPO3 sites.