Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 563

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>howto avoid flooding aggregators</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="../style.css" type="text/css" />

<link rel="stylesheet" href="../local.css" type="text/css" />










</head>
<body>

<div class="page">

<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">

<a href="../index.html">ikiwiki</a>/ 

<a href="../tips.html">tips</a>/ 

</span>
<span class="title">
howto avoid flooding aggregators

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p>If you have a <a href="../blog.html">blog</a> 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,
causing all recent blog entries to be posted to the top of it. </p>

<p>This can happen in a lot of situations:</p>

<ul>
<li>Perhaps you’ve just switched to ikiwiki from some other blog engine and
imported your data.</li>
<li>Perhaps you’ve turned on the <code>usedirs</code> setting, which changes all the
urls in your wiki. Even if you set up
<a href="./redirections_for_usedirs.html">redirections</a> for the old urls, you still face
the issue of flooding aggregators.</li>
<li>Perhaps you’ve just moved stuff around in your wiki.</li>
</ul>

<p>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 <code>feedpages</code>
parameter to the <code>inline</code> directive for your blog, with a condition such as:</p>

<pre><code>feedpages=created_after(blog/posts/old_post)
</code></pre>

<p>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.</p>

<p>Alternatively, you can add the <a href="../plugins/meta.html">meta</a> guid directives to pages,
to force the old url to be used.</p>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">






<div id="backlinks">
Links:

<a href="./migrating_podcast_to_ikiwiki.html">migrating podcast to ikiwiki</a>

<a href="./switching_to_usedirs.html">switching to usedirs</a>


</div>






<div class="pagedate">
Last edited <span class="date">Tue Feb 26 23:01:54 2019</span>
<!-- Created <span class="date">Sat Apr 14 20:29:32 2007</span> -->
</div>

</div>


<!-- from ikiwiki -->
</div>

</div>

</body>
</html>