Personal tools
You are here: Home Products GSXML
Document Actions

GSXML

RSS Feed Category: Import/Export — Other products by this author
A product which uses GenericSetup to Import and Export ATCT based Content as pure XML data. GSXML makes heavy use of Five to avoid starting from scratch with another Import/Export Product. Instead of that, it uses benefits of already existing, well tested Products, like Marshall and GenericSetup. The new approach with the Component Architecture that comes with Zope 3 makes it possible to extend the existing functionality and melt it together to one product.

Current release

No stable release available yet.

Experimental releases

Upcoming and alpha/beta/candidate releases

  • Alpha releases should only be used for testing and development.
  • Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
  • Always install on a separate test server first, and make sure you have proper backups before installing.
GSXML 0.4.1 (Alpha release) Released Jul 16, 2007
Eggified and refactored Version of the GSXML, see the Changelog for additional changes
GSXML 0.3 (Alpha release) Released Mar 20, 2007
Extended the Gmail import/export to handle tar-archives. It is now possible to export one file per mail or all files as a compressed tar-archive in a single mail. The import from Gmail is synchronous to the export. Some GUI modifications and Code refactoring.
GSXML 0.2 (Alpha release) Released Mar 18, 2007
Added a tarball import/export step. It is now possible to download a single tar-file from your ATCT based content in Plone. It is also possible to import from a tar-file from a specific location.
GSXML 0.1 (Alpha release) Released Mar 15, 2007
This release is focused on the import/export of AT based content types. GSXML can handle at the moment a Gmail account or the filesystem to import/export data, more coming soon;) A minimal GUI is provided to control this behaviour.

Project Description

GSXML
Project resources

GSXML a Plone Import/Export Tool

Features

  • Binary Data handling
  • Reference handling

License

  • GPL, a LICENSE file should have accompanied this module. If not please contact the package maintainer.

Installation

This is an installation guide for the following environment:

Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Five 1.4.3,
Python 2.4.4 (#2, Apr 12 2007, 21:03:11) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)],
PIL 1.1.6

Plone-2.5.3-final comes with Five 1.3.8, so first of all we need to update this to the lates 1.4 relase. So check out the 1.4.3 version of Five from the SVN and drop it into your $INSTANCE_HOME/Products folder:

~$ svn co svn://svn.zope.org/repos/main/Products.Five/tags/1.4.3 Five

We need to update to Marshall 1.0.0-b1 in our Plone-2.5.3-final as well. Get it from the SVN and put it in the $INSTANCE_HOME/Products folder:

~$ svn co https://svn.plone.org/svn/archetypes/Marshall/tags/1.0.0-b1 Marshall

Now it is time to get GSXML running. Since version 0.4, GSXML comes as an egg. You can find it here:

http://python.org/pypi/inquant.plone.gsxml

The easiest way to install an egg is with PEAK's easy_install tool:

http://peak.telecommunity.com/DevCenter/EasyInstall

After installing easy_install, you can type the following to get GSXML on your machine:

~$ easy_install inquant.plone.gsxml

Now we have to tell our Instance to include the egg. Therefore we need to put a slug in our $INSTANCE_HOME/etc/package-includes. Create there a file called inquant.plone.gsxml-configure.zcml. Put ther the following line inside:

<include package="inquant.plone.gsxml" file="configure.zcml" />

You also have to add a site.zcml in your INSTANCE_HOME/etc folder, if not already exists, including that content:

<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:meta="http://namespaces.zope.org/meta"
           xmlns:five="http://namespaces.zope.org/five">

  <include package="Products.Five" />
  <meta:redefinePermission from="zope2.Public" to="zope.Public" />


  <!-- Load the meta -->
  <include files="package-includes/*-meta.zcml" />
  <five:loadProducts file="meta.zcml"/>

  <!-- Load the configuration -->
  <include files="package-includes/*-configure.zcml" />
  <five:loadProducts />

  <!-- Load the configuration overrides-->
  <includeOverrides files="package-includes/*-overrides.zcml" />
  <five:loadProductsOverrides />

</configure>

After you restared your instance, simply append a 'gsxml' at the end of your url, e.g:

http://localhost:8080/plone/Members/admin/gsxml

This should make the gsxml GUI appear;) Happy exporting...

NOTE:

  • In Plone 2.5.3 GSXML won't show up in the quickinstaller, simply add the magic word gsxml at the end of your URL
  • We don't have an adapter for ISiteRoot, so don't try to export the front-page, e.g. http://localhost:8080/plone/gsxml, it ends up with an adapter lookup error:>

Requirements

GSXML is tested with

  • Python 2.4.4
  • Zope 2.9.7 or greater
  • Plone 2.5.3 or greater
  • Marshall 1.0.0-b1
  • Five 1.4.3
by Ramon Bartl last modified November 20, 2007 - 04:10

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by