コード例 #1
0
 public function rssAction()
 {
     return new Response($this->browser->fetchRSS(), 200, array('Content-Type' => 'application/rss+xml; charset=utf-8'));
 }
コード例 #2
0
 public function proxyArticleAction($uri)
 {
     // we want full articles !
     $uri = $uri . '?onglet=full';
     return new Response($this->browser->fetchArticle($uri));
 }