info.magnolia.module.admininterface.pages.ExportPage if you have Eclipse, you can use Ctrl + Shift + T and start typing to find a class.
On Fri, Jun 4, 2010 at 4:00 PM, Suraj <[email protected]> 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]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
