1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php if (!isset($channel)): $channel = []; endif; if (!isset($channel['title'])): $channel['title'] = $this->fetch('title'); endif; echo $this->Rss->document( $this->Rss->channel( [], $channel, $this->fetch('content') ) ); ?>