On Mar 25, 2008, at 10:53 AM, sirobbob wrote:

Hey, a few questions to the cracks:

1. while i have to customize the 'export tree to xml' option in the
adminCentral or to build a new module that makes it, ill have to know where
in the sourcecode i can find it! Perhaps someone can help!?

2. as i know now, there isnt any 'real' support how to build modules if you use the community edition, but is there any documentation about this for
someone who isnt a javacrack (learned it back in the days but only
programming in php now)! So i dont need a doc on how to programm in java, i need more a doc about how a module is programmed structurally and how it communicates with the system or how it is included....something like that!

3. what is the best way to realize an customized xml export, i just need the sitestructure and the contentnodes....while the customer uses magnolia as CMS but with using a flashfile for output. Therefore i need a xml from which
the flashfile creates the page!

It sounds like you want to have FlashLite be able to get the content as XML - or to have some intermediate application get XML that it can consume, and then render into something to display in FlashLite - correct?

Exporting to XML might not be your best choice. I think a better idea would be to create a template that renders your content into XML and then have whatever service will render that XML retrieve the file from your site dynamically.

Setting up a JSP template to render your site as XML is not hard. There is a wiki page on this topic:

http://wiki.magnolia.info/display/WIKI/Creating+XML+Output? focusedCommentId=4522180#comment-4522180

You will also want to take a look at the linked page on how to set up pages to chose templates based on the file extension.

This way, you could create two templates, one for an individual page that would just dump the page content as XML - so you could have your FlashLite thing be able to grab individual pages as xml - or another page that just walks through your whole site and generates XML for it that you can have it hit.

In either case - this will definitely be easier than writing a module to customize exporting the site structure as XML.

Ryan


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to