Hi Sean, I see you mention that you have code working to iterate through the WEBSITE repository. I'm looking for a nice way to produce a document that contains all the content from our site, and a depth-first iteration through the site, taking the content from the mainColumn of each page, seems to be a good way. If your code could be used for something like this then I'd love too see it. Also if anyone else has any comments it'd be interesting to hear.
Thanks for any help, Chris -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: 02 March 2007 16:33 To: [email protected] Subject: [magnolia-user] Sample Code for Creating a Page? Hi Folks, I'm wanting to add a specific page to each of the sites that we're running under Magnolia. I've got the code to iterate through the WEBSITE repository working fine, but am not having any luck figuring out what I need to do to create a new page and populate it with a bit of data. (I've tried a couple different things that look like they ought to work, and run without error, but don't actually produce any results.) Does anybody have any sample page-creation code they'd be willing to share? Or if there's something relevant in the Magnolia source, I'd love to know where to look. Thanks for any help! Sean ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
