[MAGNOLIA-405] Content export / zipper / import Created: 24/May/05  Updated: 12/Dec/08  Resolved: 12/Dec/08

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Sameer Charles Assignee: Magnolia International
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

I commited i.m.c.core.export package which includes first version of magnolia specific content export
later this will be configurable via GUI and you can add you own content exporters.

this package contains
1. ContentExporter - this will be the main class via you can access any "named" exporter, once I am finish ll add some examples.
2. Implementations on Export interface

  • XmlExport - simple human readable xml export
  • PackageExport - content zipper, it creates a zip including xml and all binary content in a clean directory structure.

if you wanna test PackageExport –
PackageExport pe = new PackageExport();
pe.setBinaryAsLink(true);
response.setHeader("content-disposition", "attachment; filename="aPage.getName()".zip");
pe.export(aPage, response.getOutputStream());



 Comments   
Comment by Boris Kraft [ 15/Jun/05 ]

needs some more testing & thinking

Comment by Philipp Bracher [ 17/May/06 ]

Nothing todo for the 3.0 release

Comment by Magnolia International [ 07/Apr/08 ]

as far as i can tell, this package is not used atm. We should have a look at it for 3.6 and do some cleanup, along with cleaning up DataTransporter and friends

Comment by Magnolia International [ 09/Jul/08 ]

deprecated the following classes for now, since they are not used:

  • ContentExporter
  • ContentImporter
  • ExportHandler
  • ImportHandler
  • PackageExport
  • XmlExport
  • XmlImport
Comment by Magnolia International [ 12/Dec/08 ]

Package introduced for this feature was removed for MAGNOLIA-2245.
Zip / packaging of imports/exports is currently partially covered by packager and backup modules, and if improvements are made, they will be for these modules.

Generated at Mon Feb 12 03:17:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.