In the sources of Magnolia you have checked out ... ;) Or here in the svn: http://svn.magnolia-cms.com/svn/community/magnolia/trunk/magnolia-module-admininterface/src/main/java/info/magnolia/module/admininterface/pages/
Jan On Jun 4, 2010, at 4:00 PM, Suraj wrote: > Sorry, I am really new to Magnolia - where can I find ExportPage.java? > > From: Jan Haderka <[email protected]> > To: Magnolia User-List <[email protected]> > Sent: Fri, 4 June, 2010 14:50:32 > Subject: Re: [magnolia-user] How do you create custom commands? > > YourCommand extends MgnlCommand { > > public execute(ctx) { > // here you do what needs to be done > } > } > > ... look at existing commands for more detailed examples > and look at ExportPage.java to see what needs to be done to export content as > xml if you don't want to create xml structure yourself > > HTH, > Jan > > > On Jun 4, 2010, at 3:43 PM, Suraj wrote: > >> I am faced with a situation where I need to have an XML output of a page >> when it has been created/changed/modified. (sort of like RSS) >> >> I thought I will use the Observation module to listen for node changes and >> generate XML but as far as I can tell there is no command in Magnolia to >> generate an XML for an individual page? Therefore I thought I will create a >> custom command where it takes content from a page and outputs XML but I am >> not sure how to set about doing this? Could someone give me some guidance >> please? Thanks. >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- > > - > Best regards, > > Jan Haderka, PhD. > Magnolia International Ltd. > > http://www.magnolia-cms.com > > You should join us at Magnolia Conference 2010: > http://www.magnolia-cms.com/conference > > http://twitter.com/magnolia_cms > http://facebook.com/Magnolia > > -------------------------------------- > > Magnolia® - Simple Open-Source Content Management > > > > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- - Best regards, Jan Haderka, PhD. Magnolia International Ltd. http://www.magnolia-cms.com You should join us at Magnolia Conference 2010: http://www.magnolia-cms.com/conference http://twitter.com/magnolia_cms http://facebook.com/Magnolia -------------------------------------- Magnolia® - Simple Open-Source Content Management ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
