<p dir="ltr">Hi Gerd,</p>
<p dir="ltr">---- Gerd Schrick schrieb ----</p>
<p dir="ltr">> Dear List,<br>
> <br>
> I'd like to migrate some websites to OpenCMS (version 10.5.3) but I'm still stuck with how to import the content.<br>
> The sites have up to 5000 pages (some in 3 languages).<br>
> <br>
> All I've found refers to old OCMS versions with xmlpages but nothing found about current container page technology.<br>
> Won't believe that noone hasn't already done a migration to OCMS.<br>
> Or maybe it's so obvious and I've just overlooked something.<br>
> I really hope to get some helpful hints on how to proceed with this.<br>
> <br>
> <br>
> It's obvious that I've to prepare/preprocess the existing data (files and structure) ...<br>
> As the templating will be simple (first), so I'll have to generate one container page and one xmlcontent file per source page. That seems straight forward with Apache Ant and XSLT.<br>
> <br>
> BUT (the biggest questions):<br>
> <br>
> 1. how to get the (prepared) data into OCMS?<br>
> - CIFS (network share) seems perfect first, but what about the references/uuis (see also 2. below)? (as they seem to be assigned autmatically on file creation I can't use them as reference before in the preparation process)</p>
<p dir="ltr">CMIS or </p>
<p dir="ltr">1. Store content on disk <br>
2. Zip the root folder <br>
3. Upload the Zip with the usual Explorer upload and check "extract zip" </p>
<p dir="ltr">> - directly to the database tables? (what to put where? Is there some documentation about the data structure and dependencies?)</p>
<p dir="ltr">Don't do this! </p>
<p dir="ltr">> - as a module?</p>
<p dir="ltr">Don't Import content with a module! </p>
<p dir="ltr">> <br>
> 2. how to manage the references?<br>
> container page -> xmlcontent; internal links; external links (in gallery); images/binaries (in galleries); other?<br>
> These seem to be uuids ...<br>
> - do I have to generate them or is there a functionality in OCMS that will resolve (relative/internal) urls, and if so when?</p>
<p dir="ltr">Yes there is an admin tool to restore relations. Just create new uuids every time and make sure the path inside the content is current. You will find the tool under Administration - Content Tools - Repair XML Content. </p>
<p dir="ltr">Good luck <br>
Stephan </p>
<p dir="ltr">> - if I've to generate them: have these uuids some special logic/format?<br>
> - links in content are somehow "extracted" to a links-element - what's the logic/fomat here / what must be generated?<br>
> <br>
> <br>
> Big thank you for any helpful answer!<br>
> <br>
> Best regards,<br>
> Gerd</p>