public function rss()
    {
        /** @var RSSFeed $rss */
        $rss = RSSFeed::create(
            $list = $this->getRSSFeed(), $link = $this->Link('rss'), $title = _t('News.RSSFEED', 'News feed')
        );

        return $rss->outputToBrowser();
    }
public function rss()
    {
        /** @var RSSFeed $rss */
        $rss = RSSFeed::create(
            $list = $this->getRSSFeed(), $link = $this->Link('rss'), $title = _t('News.RSSFEED', 'News feed')
        );

        return $rss->outputToBrowser();
    }
public function rss ( ) { /** @var RSSFeed $rss */ $ rss = RSSFeed :: create ( $ list = $ this -> getRSSFeed ( ) , $ link = $ this -> Link ( 'rss' ) , $ title = _t ( 'News.RSSFEED' , 'News feed' ) ) ; return $ rss -> outputToBrowser ( ) ; }
I should make this configurable from SiteTree?
Generate an RSS-feed.

@todo obey translatable.
@return RSSFeed $rss RSS-feed output.
I should make this configurable from SiteTree? Generate an RSS - feed .