X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/64c3c474b2c6301b795bb1fe375955661c51f93f..63fa0ef5ba9a2e367791dd19b9aeb7c98d70ac85:/doc/tips/howto_avoid_flooding_aggregators.mdwn?ds=inline diff --git a/doc/tips/howto_avoid_flooding_aggregators.mdwn b/doc/tips/howto_avoid_flooding_aggregators.mdwn index d432464fc..61d44ef5b 100644 --- a/doc/tips/howto_avoid_flooding_aggregators.mdwn +++ b/doc/tips/howto_avoid_flooding_aggregators.mdwn @@ -1,25 +1,30 @@ +[[!meta date="2007-04-14 20:29:32 +0000"]] + If you have a [[blog]] that is aggregated, either on a site like Planet Debian, or just through user subscriptions, one common problem is that -changes to the guids of items in the blog can "flood" the aggregator, +changes to the guids of items in the blog can “flood” the aggregator, causing all recent blog entries to be posted to the top of it. This can happen in a lot of situations: -* Perhaps you've just switched to ikiwiki from some other blog engine and +* Perhaps you’ve just switched to ikiwiki from some other blog engine and imported your data. -* Perhaps you've turned on the `usedirs` setting, which changes all the +* Perhaps you’ve turned on the `usedirs` setting, which changes all the urls in your wiki. Even if you set up [[redirections|redirections_for_usedirs]] for the old urls, you still face the issue of flooding aggregators. -* Perhaps you've just moved stuff around in your wiki. +* Perhaps you’ve just moved stuff around in your wiki. + +To avoid annoying readers in these situations, it’s a good idea to remove +any 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 to add a `feedpages` +parameter to the `inline` directive for your blog, with a condition such as: -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: + feedpages=created_after(blog/posts/old_post) - and 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, while still +displaying the old posts in the blog page. -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). +Alternatively, you can add the [[plugins/meta]] guid directives to pages, +to force the old url to be used.