Had to figure this out myself so thought the info might help someone else. I am working on a site that hosts 6 blogs. They all use the same template with an XSLT Macro just to pick a different stylesheet for each blog. I ran into a problem with this package that you must pick a Root Node for the feed associated with each template.
This works great for the homepage, but not so well with the situation I have described. I made a new Macro for RSS Collector that is the same as the original except for this:
Multiple Site Feeds with Same Template
Had to figure this out myself so thought the info might help someone else. I am working on a site that hosts 6 blogs. They all use the same template with an XSLT Macro just to pick a different stylesheet for each blog. I ran into a problem with this package that you must pick a Root Node for the feed associated with each template.
This works great for the homepage, but not so well with the situation I have described. I made a new Macro for RSS Collector that is the same as the original except for this:
I replaced this line:
With this one:
This makes the macro just pick the feed for the parent blog of whatever page they are on. Hope this helps someone.
Hi Andrew,
You could have also made your macro parameter recursive
This would check the current doc type for a property called "myPropertyAlias" and if it didn't find it, navigate up the tree untill it does.
Matt
is working on a reply...