Answers.Body: <p><a href="http://buildwithcraft.com/classreference/services/FeedsService" rel="nofollow">FeedsService</a> uses <a href="http://simplepie.org/" rel="nofollow">SimplePie</a> for feed parsing, but it currently does expose any errors that SimplePie may be returning when connecting to a feed.</p>
  
  <blockquote>
    <p>A feed could not be found at <a href="http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss" rel="nofollow">http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss</a>. This does not appear to be a valid RSS or Atom feed.</p>
  </blockquote>
  
  <p>Here's the error it's returning when connecting to that feed.</p>
  
  <p>We'll update FeedsService to return any errors that come back from SimplePie, too.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-22T17:22:56.780Z
Answers.LastActivityDate: 2014-08-22T17:22:56.780Z
Answers.UserDisplayName: Brad Bell
Body: <p>I want do display a financial widget on a front-end of a site. </p>
  
  <p><img src="https://i.sstatic.net/8uoZ4.png" alt="Widget"></p>
  
  <p>The financial data is actually a feed:</p>
  
  <p><a href="http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss" rel="nofollow noreferrer">http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss</a></p>
  
  <p>But it's not working on the frontend. No content. </p>
  
  <pre><code>{% set feedUrl = "http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss" %}
  {% set limit = 1 %}
  {% set items = craft.feeds.getFeedItems(feedUrl, limit) %}
  
  {% for item in items %}
      &lt;div class="col-md-5ths"&gt;
          &lt;div class="number"&gt;{{ item.title }}&lt;/div&gt;
          &lt;small class="{{ item.authors[0].name }}"&gt;{{ item.summary }}&lt;br /&gt;{{ item.date }}&lt;/small&gt;
      &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p>This is my feed data:</p>
  
  <pre><code>&lt;Feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2005/Atom"&gt;
  &lt;Title&gt;Aandelen Vastned&lt;/Title&gt;
  &lt;Id&gt;0&lt;/Id&gt;
  &lt;Updated&gt;2014-08-22T17:29:40&lt;/Updated&gt;
  &lt;Entry&gt;
  &lt;Title&gt;€ 36,81&lt;/Title&gt;
  &lt;Id&gt;00000000-0000-0000-0000-000000000000&lt;/Id&gt;
  &lt;Updated&gt;2014-08-22T17:29:40&lt;/Updated&gt;
  &lt;Summary&gt;0,00%&lt;/Summary&gt;
  &lt;Author&gt;
  &lt;Name&gt;Grijs&lt;/Name&gt;
  &lt;/Author&gt;
  &lt;/Entry&gt;
  &lt;/Feed&gt;
  </code></pre>
  
Tags: <feed>
Title: craft.feeds does not appear to be working
ThreadText: # craft.feeds does not appear to be working
  
  (Asked by: username_0 on 2014-08-22)
  
  I want do display a financial widget on a front-end of a site.
  
  ![Widget](https://i.sstatic.net/8uoZ4.png)
  
  The financial data is actually a feed:
  
  <http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss>
  
  But it's not working on the frontend. No content.
  
  ```
  {% set feedUrl = "http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss" %}
  {% set limit = 1 %}
  {% set items = craft.feeds.getFeedItems(feedUrl, limit) %}
  
  {% for item in items %}
      <div class="col-md-5ths">
          <div class="number">{{ item.title }}</div>
          <small class="{{ item.authors[0].name }}">{{ item.summary }}<br />{{ item.date }}</small>
      </div>
  {% endfor %}
  
  ```
  
  This is my feed data:
  
  ```
  <Feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2005/Atom">
  <Title>Aandelen Vastned</Title>
  <Id>0</Id>
  <Updated>2014-08-22T17:29:40</Updated>
  <Entry>
  <Title>€ 36,81</Title>
  <Id>00000000-0000-0000-0000-000000000000</Id>
  <Updated>2014-08-22T17:29:40</Updated>
  <Summary>0,00%</Summary>
  <Author>
  <Name>Grijs</Name>
  </Author>
  </Entry>
  </Feed>
  
  ```
  
  **Tags:** feed
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-08-22. Score: 1
  
  [FeedsService](http://buildwithcraft.com/classreference/services/FeedsService) uses [SimplePie](http://simplepie.org/) for feed parsing, but it currently does expose any errors that SimplePie may be returning when connecting to a feed.
  
  > A feed could not be found at <http://test.solutions.vwdservices.com/customers/vastned.com/page-modules/widgetrss>. This does not appear to be a valid RSS or Atom feed.
  
  Here's the error it's returning when connecting to that feed.
  
  We'll update FeedsService to return any errors that come back from SimplePie, too.
  
  
  ---
  
  