Title: RSS-Max-Entries
Tags: headers, rss, rss-headers, root-node

<p>
    The <b>RSS-Max-Entries</b> header can optionally be set on the
    <a href="{{node-url:directories/nodes}}">root node</a> to control the
    maximum number of entries that can show up in the generated RSS feed.
</p>

<p>
    This field is optional. The default value is <i>20</i>.
</p>

<p>
    If this field is set, the value must be an unsigned integer.
</p>

<p>
    This header will only have an effect if the {{node-link:headers/rss-url}}
    header is set on the root node.
</p>

<p>
    On this documentation site, the <b>RSS-Max-Entries</b> header is set
    on the root node to a value of <i>{{value:rss-max-entries}}</i>, like this:
</p>

<pre>RSS-Max-Entries: {{value:rss-max-entries}}</pre>

<p>
    This causes Uriel to limit the number of entries in the generated RSS feed
    to {{value:rss-max-entries}} entries. You can see the generated RSS feed
    here: <a href="{{value:rss-url}}">{{value:rss-url}}</a>
</p>

<p>
    On this documentation site, the maximum number of allowed RSS entries is
    larger than the number of nodes that are eligible for inclusion in the RSS
    feed, so you won&apos;t directly observe any effect without changing the
    value and rebuilding the site.
</p>

