Hi Simon, Thanks for sending this along! This looks, on cursory inspection, like v3.0 code -- is that right? (We're on 3.0.1, so great if so!)
I'll bang away with this and see what I can do. We've been doing most of our utility work in the servlet environment, so that fits in nicely with our patterns thus far. Much obliged! Sean P.S. Gregory, thanks for the alternative suggestions. We should only be running this once, so I'll try this approach for now. If I have trouble getting it to work the way I want, the import/export mechanisms will likely be a good fallback position. Appreciate the help (and the options)! On 3/2/07 10:49 AM, "Simon Goodchild" <[email protected]> wrote: > Hi Sean, > > Below is a piece of code I use which should do the page creation part. > It's designed for a servlet environment, so will need some work if you > need to run from the command line. It may also need a bit of tweaking > depending on the magnolia version you're using. > > Haven't tried populating content via the APIs so can't offer anything > useful on that at the moment. It will be in APIs somewhere, so trawl > through the Javadoc and Magnolia sources and you will find it > eventually. > > Hope this helps, > > Simon ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
