<p>I accidentally had loop inside of the description tag which strangely caused only 17 entries to post to the RSS feed. Below is an example of what was causing the issue:</p>

<pre><code>&lt;description&gt;&lt;![CDATA[
  {% set speaker = craft.categories.group('speaker').relatedTo(entry).find() %}
  {% for name in speaker %}
  A Sermon from {{ entry.sermondate | date("l, F j, Y") }}: {{ entry.title }} by {{ name.title }}]]&gt;&lt;/description&gt;
        &lt;category&gt;Podcasts&lt;/category&gt;
        &lt;category&gt;Christianity&lt;/category&gt;
        &lt;author&gt;{{ name.title }}&lt;/author&gt;
        &lt;itunes:explicit&gt;No&lt;/itunes:explicit&gt;
        &lt;itunes:author&gt;{{ name.title }}&lt;/itunes:author&gt;{% endfor %}
</code></pre>

<p>After I set it outside the Description tag if gave me all my entries on the RSS feed. Here is my final feed code:</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"&gt;
    &lt;channel&gt;
    &lt;title&gt;Sermons at Example Church&lt;/title&gt;
    &lt;atom:link href="{{ url() }}" rel="self" type="application/rss+xml" /&gt;
    &lt;link&gt;http://www.examplechurch.org/sermons/&lt;/link&gt;
    &lt;description&gt;Weekly morning sermons from Example Church in Sab Diego, CA. For all of our sermon archives, please visit http://www.example.org/sermons.&lt;/description&gt;
    &lt;lastBuildDate&gt;Sun, 17 Sep 2017 00:00:00 -0600&lt;/lastBuildDate&gt;
    &lt;language&gt;en-us&lt;/language&gt;
    &lt;sy:updatePeriod&gt;hourly&lt;/sy:updatePeriod&gt;
    &lt;sy:updateFrequency&gt;1&lt;/sy:updateFrequency&gt;
    &lt;itunes:author&gt;Example Church&lt;/itunes:author&gt;
    &lt;itunes:summary&gt;Weekly morning sermons from Example Church in Sab Diego, CA. For all of our sermon archives, please visit http://www.example.org/sermons.&lt;/itunes:summary&gt;
    &lt;itunes:owner&gt;
      &lt;itunes:name&gt;Example Church - San Diego, California&lt;/itunes:name&gt;
      &lt;itunes:email&gt;web@examplechurch.org&lt;/itunes:email&gt;
    &lt;/itunes:owner&gt;
    &lt;itunes:explicit&gt;No&lt;/itunes:explicit&gt;
    &lt;itunes:category text="Religion &amp;amp; Spirituality"&gt;
    &lt;itunes:category text="Christianity"&gt;&lt;/itunes:category&gt;
    &lt;/itunes:category&gt;
    &lt;itunes:category text="Health"&gt;&lt;/itunes:category&gt;
    &lt;itunes:category text="Society &amp;amp; Culture"&gt;&lt;/itunes:category&gt;
     {% if podcastImage.podcastimage|length %}
    &lt;itunes:image href="{{ podcastImage.podcastimage.first.getUrl() }}"&gt;&lt;/itunes:image&gt;
     {% endif %}
    {% set entries = craft.entries.section('sermonEntry').limit(null).find() %}
     {% for entry in entries %}
    &lt;item&gt;
      &lt;title&gt;{{ entry.title }}&lt;/title&gt;
      &lt;link&gt;{{ entry.url }}&lt;/link&gt;
      &lt;pubDate&gt;{{ entry.postDate.rss }}&lt;/pubDate&gt;
       {% set audio = entry.audio.first() %}
       {% if audio %}
      &lt;enclosure url="{{ audio.url }}" type="audio/mp3"&gt;&lt;/enclosure&gt;
       {% endif %}
      &lt;guid&gt;{{ entry.url }}&lt;/guid&gt;
       {% set speaker = craft.categories.group('speaker').relatedTo(entry).find() %}
      {% for name in speaker %}
      &lt;description&gt;&lt;![CDATA[A Sermon from {{ entry.sermondate | date("l, F j, Y") }}: {{ entry.title }} by {{ name.title }}]]&gt;&lt;/description&gt;
      &lt;category&gt;Podcasts&lt;/category&gt;
      &lt;category&gt;Christianity&lt;/category&gt;
      &lt;author&gt;{{ name.title }}&lt;/author&gt;
      &lt;itunes:explicit&gt;No&lt;/itunes:explicit&gt;
      &lt;itunes:author&gt;{{ name.title }}&lt;/itunes:author&gt;{% endfor %}
      &lt;itunes:keywords&gt;Example Church,Sermons,Christianity,Jesus Christ,Bible Teaching,Discipleship,Service&lt;/itunes:keywords&gt;
     &lt;/item&gt;
     {% endfor %}
   &lt;/channel&gt;
   &lt;/rss&gt;
</code></pre>

CC BY-SA 3.0
2017-09-18T18:53:34.993Z
2017-09-18T18:53:34.993Z
Garrett
<p>Creating an RSS feed in craft and I have it to loop through all the entries via:</p>

<pre><code>    {% set sermons = craft.entries.section('sermonEntry').limit(null).find() %}
    {% for sermon in sermons %}
</code></pre>

<p>On my feed url (example.com/feed) I can only see 17 of my entries. However when I view the page source. I see all of my entries in XML format (roughly 31 entries)</p>

<p>Anyone have an idea why this may be? Or if it will affect my podcasts that go to itunes?</p>

<p>I am not sure if there is a limitation on atom or rss with craft but I have seen 100's of entries on a rss feed page so maybe I am overlooking something?</p>

<p>Any help is appreciated. Thanks!</p>

CC BY-SA 3.0
2017-09-18T02:18:05.763Z
Are any of the entries disabled/turned off?  Do any of the entries have expiration dates or are set to post in the future?
Ryan
CC BY-SA 3.0
2017-09-18T16:30:29.617Z
Unfortunately not, I have all the entries paginated and displaying fine on example.com/sermons.
Garrett
<entries><rss><xml>
Not All Entries showing in feed page but do show in Page Source XML
# Not All Entries showing in feed page but do show in Page Source XML

(Asked by: username_0 on 2017-09-18)

Creating an RSS feed in craft and I have it to loop through all the entries via:
    {% set sermons = craft.entries.section('sermonEntry').limit(null).find() %}
    {% for sermon in sermons %}

On my feed url (example.com/feed) I can only see 17 of my entries. However when I view the page source. I see all of my entries in XML format (roughly 31 entries)
Anyone have an idea why this may be? Or if it will affect my podcasts that go to itunes?
I am not sure if there is a limitation on atom or rss with craft but I have seen 100's of entries on a rss feed page so maybe I am overlooking something?
Any help is appreciated. Thanks!

**Tags:** entries, rss, xml
> **Comments:**
> **username_1**: Are any of the entries disabled/turned off?  Do any of the entries have expiration dates or are set to post in the future?  
> **username_0**: Unfortunately not, I have all the entries paginated and displaying fine on example.com/sermons.  

---

## 1 answers

### Answer by username_0 on 2017-09-18. Score: 1

I accidentally had loop inside of the description tag which strangely caused only 17 entries to post to the RSS feed. Below is an example of what was causing the issue:

  {% set speaker = craft.categories.group('speaker').relatedTo(entry).find() %}
  {% for name in speaker %}
  A Sermon from {{ entry.sermondate | date("l, F j, Y") }}: {{ entry.title }} by {{ name.title }}
        Podcasts
        Christianity
        {{ name.title }}
        No
        {{ name.title }}{% endfor %}

After I set it outside the Description tag if gave me all my entries on the RSS feed. Here is my final feed code:
    
    
    
    Sermons at Example Church
    
    http://www.examplechurch.org/sermons/
    Weekly morning sermons from Example Church in Sab Diego, CA. For all of our sermon archives, please visit http://www.example.org/sermons.
    Sun, 17 Sep 2017 00:00:00 -0600
    en-us
    hourly
    1
    Example Church
    Weekly morning sermons from Example Church in Sab Diego, CA. For all of our sermon archives, please visit http://www.example.org/sermons.
    
      Example Church - San Diego, California
      web@examplechurch.org
    
    No
    
    
    
    
    
     {% if podcastImage.podcastimage|length %}
    
     {% endif %}
    {% set entries = craft.entries.section('sermonEntry').limit(null).find() %}
     {% for entry in entries %}
    
      {{ entry.title }}
      {{ entry.url }}
      {{ entry.postDate.rss }}
       {% set audio = entry.audio.first() %}
       {% if audio %}
      
       {% endif %}
      {{ entry.url }}
       {% set speaker = craft.categories.group('speaker').relatedTo(entry).find() %}
      {% for name in speaker %}
      A Sermon from {{ entry.sermondate | date("l, F j, Y") }}: {{ entry.title }} by {{ name.title }}
      Podcasts
      Christianity
      {{ name.title }}
      No
      {{ name.title }}{% endfor %}
      Example Church,Sermons,Christianity,Jesus Christ,Bible Teaching,Discipleship,Service
     
     {% endfor %}


---

