limit rss/atom feeds to 10 pages to avoid enormous files

Since bug reports are often long, the rss and atom feeds were 5+ mb in
size.
This commit is contained in:
Joey Hess 2017-09-29 12:42:09 -04:00
parent ac897a94bb
commit c363a774b8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 8 additions and 5 deletions

View file

@ -4,6 +4,7 @@ To mark a bug as closed add \[\[done\]\] to the end of the original bug descript
[[!inline pages="./bugs/* and !./bugs/*/* and !./bugs/done and !link(done)
and !./bugs/moreinfo and !./bugs/confirmed and !./bugs/forwarded and !*/Discussion"
actions=yes postform=yes postformtext="Report a new bug titled:" show=0 archive=yes template=buglist]]
actions=yes postform=yes postformtext="Report a new bug titled:" show=0 archive=yes
feedlimit=10 template=buglist]]
[[!edittemplate template=templates/bugtemplate match="bugs/*" silent=yes]]

View file

@ -1,4 +1,4 @@
recently fixed [[bugs]]
[[!inline pages="./* and link(./done) and !*/Discussion" sort=mtime show=10
archive=yes]]
archive=yes feedlimit=10]]

View file

@ -5,4 +5,5 @@ But, please don't post bug reports here. Put them in [[bugs]].
And please don't make wishlist requests here. Put them in [[todo]].
(If you post bugs/todo here, it'll just get moved.)
[[!inline pages="forum/* and !*/Discussion" archive=yes rootpage=forum postformtext="Add a new thread titled:"]]
[[!inline pages="forum/* and !*/Discussion" archive=yes feedlimit=10
rootpage=forum postformtext="Add a new thread titled:"]]

View file

@ -1,4 +1,5 @@
This is git-annex's todo list. Link items to [[todo/done]] when done. A more complete [[design/roadmap/]] is also available.
[[!inline pages="./todo/* and !./todo/done and !link(done)
and !*/Discussion" actions=yes postform=yes postformtext="Add a new todo titled:" show=0 archive=yes]]
and !*/Discussion" actions=yes postform=yes postformtext="Add a new todo titled:"
show=0 feedlimit=10 archive=yes]]

View file

@ -1,4 +1,4 @@
recently fixed [[todo]] items.
[[!inline pages="./* and link(./done) and !*/Discussion" sort=mtime show=10
archive=yes]]
archive=yes feedlimit=10]]