title: Symfony how to parse RSS feed on Twig
body: <p>For example, in PHP a way to parse RSS feed could be:</p>
  
  <pre><code>&lt;?php
  $rss = simplexml_load_file('http://blog.wordpress_site.com/feed/');
  
  {{ rss }}
  
  foreach ($rss-&gt;channel-&gt;item as $item) {
      echo $item-&gt;title;
      echo $item-&gt;link;
      echo $item-&gt;description;
      echo $item-&gt;guid;
  }
  ?&gt;
  </code></pre>
  
  <p>How can I have this on Twig?</p>
  
  <p><strong>UPDATE</strong>: Thanks to the reply I got it. Now it gets this by item but not some fields like image, category or text of the post:</p>
  
  <pre><code>SimpleXMLElement {#955 ▼
    +"title": "Website. Description of the website"
    +"link": "http://blog.website.com/liktothepost"
    +"pubDate": "Fri, 17 Feb 2017 07:56:43 +0000"
    +"category": SimpleXMLElement {#1131}
    +"guid": "http://blog.website.com/?p=400"
    +"description": SimpleXMLElement {#953}
  }
  </code></pre>