Getting landing page from navon in a macro

Hi,
I’m trying to create a Google Site Map and am managing to iterate the navons and output the XML without too many problems. However, I’d like to be able to use information from the landing pages of the navons rather than the navons themselves. So, ideally, I’d like to do something like …

navon.getLandingPage().getProperty("rx:displaytitle")

So what do I need to do to implement the getLandingPage() bit?

Thanks.

If you don’t want to do something like:


$navon.getProperty("nav:landingPage").getNode().getProperty("rx:displaytitle").String

then I suppose you could write your own extension…

Simple when you know how! Much appreciated. That’s exactly what I was looking for.