I guess that you mean that you have one Umbraco application which has multiple web sites in it using several root level nodes each bound to a different site?
Thanks for your helpful suggestions, and yes I'm trying to traverse a site that is parallel to the one I'm working on, so I can source the latest news items from multiple sites for good SEO.
List child nodes from other sites
Hi,
I've been banging my head against a wall for a bit on this.
What's the best way to list child nodes from other websites in umbraco?
Using legacy XSLT, how can I traverse down another websites node tree?
I think I've seen this done before.
Example
Content
Site 1 (@id='4901') (XSLT is running from this node)
Site 2
News (@id='2304') (I want to get the children of News)
News item 1
News item 2
News item 3
Any help is greatly appreciated!
Cheers
Adam
Hi Adam,
Am not sure of what you are asking here, are you trying to view the Child nodes of another website or Site 2 is a content folder ?
If such you can try to create an XSLT Changeable Source.
I guess that you mean that you have one Umbraco application which has multiple web sites in it using several root level nodes each bound to a different site?
If that's the case you could use the Umbraco library GetXmlNodeById http://our.umbraco.org/wiki/reference/umbracolibrary/getxmlnodebyid-(1)
Hi Fuji and John,
Thanks for your helpful suggestions, and yes I'm trying to traverse a site that is parallel to the one I'm working on, so I can source the latest news items from multiple sites for good SEO.
I tried GetXMLNodeById http://our.umbraco.org/wiki/reference/umbracolibrary/getxmlnodebyid-(1) and it worked a treat.
Cheers
Adam
Code below
Hi Adam,
Nice work if you got it working.
is working on a reply...