summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/inline.mdwn12
-rw-r--r--doc/tips/howto_avoid_flooding_aggregators.mdwn10
2 files changed, 13 insertions, 9 deletions
diff --git a/doc/plugins/inline.mdwn b/doc/plugins/inline.mdwn
index 7c8f54d11..44e29d0c5 100644
--- a/doc/plugins/inline.mdwn
+++ b/doc/plugins/inline.mdwn
@@ -17,10 +17,6 @@ directive:
* `show` - Specify the maximum number of matching pages to inline.
Default is 10, unless archiving, when the default is to show all.
Set to 0 to show all matching pages.
-* `feedshow` - Specify the maximum number of matching pages to include in
- the rss/atom feeds. The default is the same as the `show` value above,
- and it cannot be larger than that value, but can be set to a smaller
- value to avoid producing excessively large feed files.
* `skip` - Specify a number of pages to skip displaying. Can be useful
to produce a feed that only shows archived pages.
* `rss` - controls generation of an rss feed. On by default if the wiki is
@@ -56,3 +52,11 @@ directive:
sort newest created pages first. Setting it to "title" will sort pages by
title, and "mtime" sorts most recently modified pages first.
* `reverse` - If set to "yes", causes the sort order to be reversed.
+* `feedpages` - A [[PageSpec]] of inlined pages to include in the rss/atom
+ feeds. The default is the same as the `pages` value above, and only pages
+ matches by that value are included, but some of those can be excluded by
+ specifying a tighter [[PageSpec]] here.
+* `feedshow` - Specify the maximum number of matching pages to include in
+ the rss/atom feeds. The default is the same as the `show` value above,
+ and it cannot be larger than that value, but can be set to a smaller
+ value to avoid producing excessively large feed files.
diff --git a/doc/tips/howto_avoid_flooding_aggregators.mdwn b/doc/tips/howto_avoid_flooding_aggregators.mdwn
index d432464fc..355e0e6a7 100644
--- a/doc/tips/howto_avoid_flooding_aggregators.mdwn
+++ b/doc/tips/howto_avoid_flooding_aggregators.mdwn
@@ -15,11 +15,11 @@ This can happen in a lot of situations:
To avoid annoying readers in these situations, it's a good idea to remove
and existing items from your blog's news feed. That way only new items will
-show up in the aggregator. The best way to do this is currently to modify
-the [[PageSpec]] for your [[blog]] and add a condition such as:
+show up in the aggregator. The best way to do this is to add a `feedpages`
+parameter to the `inline` directive for your blog, with a condition such as:
- and created_after(blog/posts/old_post)
+ feedpages=created_after(blog/posts/old_post)
Where "old_post" is the name of the last post you made to the blog before
-making the change. This will limit the feed to only newer posts (the older
-posts will still be available in the archives).
+making the change. This will limit the feed to only newer posts, while stil
+displaying the old posts in the blog page.