Sha256: e9d5ef923bab51e0071ffab6034a5adb358414c654b118adc6b006d4e39e533f
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
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. == 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 export.rb -s http://junkie.com/magnoliaAuthor ** export the superuser section from the users repository ruby export.rb -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 export.rb -w website -r / ** batch file, processing: ruby export.rb --batch-file ./batch_export_example_file.txt ** simple import example. import website.help.xml at root ruby import.rb -f website.help.xml -r / == KNOW PROBLEMS ** there is a good chance the tool will fail when going through an apache proxy. Done a bit of sniffing on this but some TCP packets are lost. If you access the magnolia server straight, there is no such problem. == That's it. Enjoy ! Niko
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
magnoline-0.4 | README |
magnoline-0.5 | README |