Add a setting to limit feeds to a max number of items.

This adds FEED_MAX_ITEMS, which dictates the maximum number of items allowed in a feed.
This commit is contained in:
Borgar 2011-08-02 23:29:34 +00:00
commit cd277672d0
3 changed files with 8 additions and 2 deletions

View file

@ -115,6 +115,8 @@ Setting name (default value) what does it do?
`TAG_FEED` (``None``, ie no tag feed) relative url to output the tags atom feed. It should
be defined using a "%s" matchin the tag name
`TAG_FEED_RSS` (``None``, ie no RSS tag feed) relative url to output the tag RSS feed
`FEED_MAX_ITEMS` Maximum number of items allowed in a feed. Feeds are
unrestricted by default.
================================================ =====================================================
.. [2] %s is the name of the category.