Magnoline is a simple command line tool to import/export content from

the Magnolia (http://www.magnolia.info)  CMS.

The port done in ruby is good bit faster than the java implementation. Also, you don’t need to tweak the memory settings to just make it run.

INSTALL

To install it, the only thing you should have to do is: gem install magnoline

Magnoline requires:

  • cooloptions as a dependencies, but that should be pulled up by the gem install.

Magnoline includes:

  • http-access2: because it was not available as a separate gem.

I will remove it from current code as soon as it is.

CLIENT OPTIONS

main_client.rb is the entry class, To see the different options you can simply type: ruby main_client.rb –help

EXAMPLES

** export default from junkie.com server ruby main_client.rb -a export -s junkie.com/magnoliaAuthor ** export the superuser section from the users repository ruby main_client.rb -a export -w users -r /superuser ** pull the content of the website in a file named website.xml in the current folder. (Note that this is not recommended, as all the jackrabbit secret and heavy info will be in the exported file) ruby main_client.rb -a export -w website -r /

** batch file, processing: ruby main_client.rb -a export –batch-file ./batch_export_example_file.txt

That’s it. Enjoy !

Niko