collective / plone.importexport

7 stars 7 forks source link

support for older plone (via jsonify converter?) #17

Open djay opened 5 years ago

djay commented 5 years ago

It would be nice to support conversions from older plone versions, in particular with Archetypes.

Options

  1. transmogrify.ploneimportexport

    • pro: could be useful to hook into other conversions tools like funnelweb
    1. Export your site to disk using c.jsonify
    2. Install transmogrifier with a simple pipeline with jsonify reader at teh start and ploneimportexport writer at the end.
      • maybe has an option to delete data as you go in case of diskspace issues
    3. Upload compatible zip to new plone site via p.importexport TTW
  2. p.importexport supports jsonify

    • con: extra code and complication
    • con: can't use excel or similar to manipulate the data before importing
    • pro: less knowledge needed to convert an older plone site
  3. Make plone.importexport work in plone <=4.3

    • how to handle AT->DX content field id changes?
MrTango commented 5 years ago

What do you mean by older? Plone 4 with archetypes and plone.restapi should work no?

djay commented 5 years ago

@MrTango plone.importexport only works on plone 5 and above. I guess making it compatible with 4.3 is an option. I'm not sure about handling AT->DX field name changes though.

NB, jsonify handles plone version much older as well.