Answers.Body: <p>You can’t use dot syntax because of the colon, try this instead</p>
  
  <pre><code>{{ feed[0]['itunes:image']['@href'] }}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-24T17:02:56.390Z
Answers.LastActivityDate: 2017-10-24T17:02:56.390Z
Answers.UserDisplayName: carlcs
Body: <p>I am trying to ingest an iTunes compatible RSS feed on the template with FeedMe... the enclosures have things like <code>&lt;itunes:description&gt;</code> in them. When I try and access these properties I get the following error:</p>
  
  <pre><code>Unexpected token "punctuation" of value ":" ("end of print statement" expected).
  </code></pre>
  
  <p>Anyone know how I can access these enclosures without creating a Twig error?</p>
  
  <p>Example current Twig code:</p>
  
  <pre><code>{{ feed[0].itunes:image['@href'] }}
  </code></pre>
  
Tags: <plugin-feedme><rss>
Title: FeedMe error with iTunes RSS compatible feed
ThreadText: # FeedMe error with iTunes RSS compatible feed
  
  (Asked by: username_0 on 2017-10-24)
  
  I am trying to ingest an iTunes compatible RSS feed on the template with FeedMe... the enclosures have things like `<itunes:description>` in them. When I try and access these properties I get the following error:
  
  ```
  Unexpected token "punctuation" of value ":" ("end of print statement" expected).
  
  ```
  
  Anyone know how I can access these enclosures without creating a Twig error?
  
  Example current Twig code:
  
  ```
  {{ feed[0].itunes:image['@href'] }}
  
  ```
  
  **Tags:** plugin-feedme, rss
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-10-24. Score: 2 | Accepted answer
  
  You can’t use dot syntax because of the colon, try this instead
  
  ```
  {{ feed[0]['itunes:image']['@href'] }}
  
  ```
  
  
  ---
  
  