RSS feed output with dynamic root node


(Armstrongb1) #1

Hi,

Is it possible to output an RSS feed using an Asset List which uses a dynamic replacement root node?

I'd like to have a single RSS feed but be able to pass it a folder id for the assetlist to use as this would mean that users could generate their own RSS feed without needing to setup a new assetlist and RSS content item each time.

Thanks,

Ben.


(Nic Hubbard) #2

Absolutely. Just apply a design with the following:

<MySource_PRINT id_name="__global__" var="content_type" content_type="application/rss+xml" />  
<MySource_area id_name="body" design_area="body" />

Then just apply that to your listing that creates the RSS.