<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>RE: [Zope] Exporting Plone objects to Zope CMF </TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Thanks jcc. I didn't consider FTP at all.</FONT>
</P>
<P><FONT SIZE=2>I FTP-ed the CMF site to my laptop, reorganized and pruned things</FONT>
<BR><FONT SIZE=2>filesystem-wise (where grep and friends helped out), then FTP-ed</FONT>
<BR><FONT SIZE=2>the sanitized tree up to my local Zope instance. With two browsers,</FONT>
<BR><FONT SIZE=2>gvim, ExternalEditor, and good old copy/paste, it didn't take long</FONT>
<BR><FONT SIZE=2>to get into a rhythm.</FONT>
</P>
<P><FONT SIZE=2>One thing to note is that when the files on the filesystem were</FONT>
<BR><FONT SIZE=2>FTP-ed up to Zope, some got lost when I uploaded them directly into</FONT>
<BR><FONT SIZE=2>a CMF folder. I gave them their own folder in the top of the ZMI</FONT>
<BR><FONT SIZE=2>and everything of substance wound up as a file or a DTML document.</FONT>
</P>
<P><FONT SIZE=2>Aloha,</FONT>
<BR><FONT SIZE=2>Priam</FONT>
</P>
<P><FONT SIZE=2>>Kanealii, Priam Mr KRS wrote:</FONT>
<BR><FONT SIZE=2>>> Dear Zope-list,</FONT>
<BR><FONT SIZE=2>>> </FONT>
<BR><FONT SIZE=2>>> Running with Zope 2.7.5 Plone 2.0.5..</FONT>
<BR><FONT SIZE=2>>> </FONT>
<BR><FONT SIZE=2>>> What "nice" method exists, if any, to export CMF-ish things like</FONT>
<BR><FONT SIZE=2>>> documents, events, and news items from Plone to ZopeCMF? (Or, what</FONT>
<BR><FONT SIZE=2>>> search terms may have escaped me?)</FONT>
<BR><FONT SIZE=2>>> </FONT>
<BR><FONT SIZE=2>>> Ideally, I'd like to be able to export folders in Plone and import</FONT>
<BR><FONT SIZE=2>>> them to Zope CMF such that Plone-ized CMF items were magically</FONT>
<BR><FONT SIZE=2>>> de-Ploned (and allow for sufficiently Plone-ized things to remain</FONT>
<BR><FONT SIZE=2>>> broken). Unfortunately, importing folders or most other objects</FONT>
<BR><FONT SIZE=2>>> raises a Copy Error::</FONT>
<BR><FONT SIZE=2>>> </FONT>
<BR><FONT SIZE=2>>> "Object *broken* does not support this operation."</FONT>
<BR><FONT SIZE=2>>> </FONT>
<BR><FONT SIZE=2>>> I'm just wondering if there are options to porting content by hand</FONT>
<BR><FONT SIZE=2>>> ..which will be less than a day's work in this case (we're just</FONT>
<BR><FONT SIZE=2>>> getting started). In absence of a nice method, I'm curious what</FONT>
<BR><FONT SIZE=2>>> methods others may have applied in a similar situation.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I don't think that's a very common task. Plone over-rides most (or all) </FONT>
<BR><FONT SIZE=2>> of the basic CMF types, and so you wouldn't be able to import them in a </FONT>
<BR><FONT SIZE=2>> site without the Plone software installed.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Though, perhaps, you can use FTP to download from one and upload to the </FONT>
<BR><FONT SIZE=2>> other. May lose workflow state and maybe other metadata that way, though.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> If that's a problem, see CMFSetup and CMFSetupExtensions, which will </FONT>
<BR><FONT SIZE=2>> allow you to export/import your site in XML, retaining metadata. You </FONT>
<BR><FONT SIZE=2>> might have to go and edit the type fields in the XML, though. Though if </FONT>
<BR><FONT SIZE=2>> doing it by hand will only take a day, I might not bother.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> --jcc</FONT>
</P>
</BODY>
</HTML>