Details
-
Improvement
-
Resolution: Outdated
-
Major
-
None
-
None
-
None
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());
Checklists
Acceptance criteria