Yii Rss Feed Through A Controller

Hi

I’m just trying to knock up a RSS feed. I’m not sure how you’d set the layout to nothing. I’ve been doing it like this?




public function actionRss()

{

$this->layout='';


..... rest of code

}



In then used CListView to load the data.

Problems are that I’m still laoding all the assets css and js etc. And




<div id="yw0" class="list-view">

<div class="items">



So I’m guessing my approach is wrong. So What’s the Yii way?

Thanks

Jonny

Just seen this. http://www.yiiframework.com/wiki/20/how-to-generate-web-feed-for-an-application/

I guess I should have a look at this and updating for ZF2