Zope Zone Navigation
 
Document Actions

Exporting ZOPE objects as XML

Up to General

Exporting ZOPE objects as XML

Posted by Chris Geoghegan at May 15. 2006
First, off I a know very little about ZOPE or ZODB. I am just needing to migrate from a ZODB to MYSQL and would like to export all record types of a certain kind in XML.

I am trying to export user profile... but each user profile is attached to images and videos. When I export all the profiles it downloads these files as well and I know very little about ZOPE or ZODB and have little time in the project budget to learn it. My problem is I need to migrate some data from ZODB to MySQL.

I am trying to migrte user profiles which should be easy enough. However, whenever I export a user account as an XML file in the ZOPE web interface it exports attached files like images and videos making the task massive and incredibly slow and tedious.

I would like to know if there is a method for eporting only a certain kind of objects... You would be a huge life saver if you had any suggestions as I am just about to pull out my hair.

Thanks very much,

Chris

Exporting ZOPE objects as XML

Posted by Jake at June 07. 2006
You can write a script (Python/ZPT) That can export the data in whatever format you want.

Something like the link below.

Jake
Powered by Ploneboard
 

Home Discussions General Exporting ZOPE objects as XML