summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:42:09 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:42:09 -0400
commit134c8b0a104fddbe14d63cf58349ad6cde6ecaae (patch)
treee56be939e484ed96ef6d48938bd2a5755e42997c
parentb24021780a28c455f8e4b67a627705812d40a125 (diff)
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.
-rw-r--r--doc/bugs.mdwn3
-rw-r--r--doc/bugs/done.mdwn2
-rw-r--r--doc/forum.mdwn3
-rw-r--r--doc/todo.mdwn3
-rw-r--r--doc/todo/done.mdwn2
5 files changed, 8 insertions, 5 deletions
diff --git a/doc/bugs.mdwn b/doc/bugs.mdwn
index 93de65ea2..48688b21f 100644
--- a/doc/bugs.mdwn
+++ b/doc/bugs.mdwn
@@ -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]]
diff --git a/doc/bugs/done.mdwn b/doc/bugs/done.mdwn
index a35d42719..1575c8d89 100644
--- a/doc/bugs/done.mdwn
+++ b/doc/bugs/done.mdwn
@@ -1,4 +1,4 @@
recently fixed [[bugs]]
[[!inline pages="./* and link(./done) and !*/Discussion" sort=mtime show=10
-archive=yes]]
+archive=yes feedlimit=10]]
diff --git a/doc/forum.mdwn b/doc/forum.mdwn
index e8a208ddf..c6759aed0 100644
--- a/doc/forum.mdwn
+++ b/doc/forum.mdwn
@@ -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:"]]
diff --git a/doc/todo.mdwn b/doc/todo.mdwn
index 78947c096..e2661da38 100644
--- a/doc/todo.mdwn
+++ b/doc/todo.mdwn
@@ -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]]
diff --git a/doc/todo/done.mdwn b/doc/todo/done.mdwn
index e7c98081b..bb3784ed4 100644
--- a/doc/todo/done.mdwn
+++ b/doc/todo/done.mdwn
@@ -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]]