Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-405

Content export / zipper / import

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Outdated
    • Major
    • None
    • None
    • core
    • 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

        Attachments

          Activity

            People

              gjoseph Magnolia International
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD