generic XML * - pMachineToXml.php pMachine -> generic XML * - MovableTypeToXml.php MT -> generic XML * Step 1: * - genericImport.php generic XML -> Nucleus * * @license http://nucleuscms.org/license.txt GNU General Public License * @copyright Copyright (C) 2002-2006 The Nucleus Group * @version $Id: genericImport.php 846 2005-12-30 10:38:32Z dekarma $ */ include("../../config.php"); include("functions.inc.php"); include($DIR_LIBS . "ADMIN.php"); include($DIR_LIBS . "MEDIA.php"); if (!$member->isLoggedIn()) { convert_showLogin('genericImport.php'); } if (!$member->isAdmin()) { convert_doError('Only Super-Admins are allowed to perform blog conversions'); } $ver = convert_getNucleusVersion(); if ($ver > 250) convert_doError("You should check the Nucleus website for updates to this convert tool. This one might not work with your current Nucleus installation."); // include PRAX lib (to read XML files easily) include ('PRAX.php'); switch($action) { case "assignMembers": gi_assignMembers(); break; case "doConversion": gi_doConversion(); break; case "login": // drop through default: gi_chooseXmlFile(); } // step 1: Let the user choose which XML file she wants to import function gi_chooseXmlFile() { global $HTTP_SERVER_VARS, $PHP_SELF; convert_head(); ?>
You're about to import the contents of a weblog that was created with another blogging tool than Nucleus.
Before you can start the actual import process, you'll need to export the contents from your (non-Nucleus) weblog into a generic XML file using one of the conversion scripts listed below. Such scripts are available for a variety of blog scripts:
You'll end up with an XML file (e.g. export.xml
). Upload this file to the same directory as the convert files (/nucleus/convert/
) and reload this page. Your file should appear in the selection box below.
(to be worked out)