From d73574e19f3544faee8bfaf2d7269b8bc70eca7a Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 28 Mar 2006 23:06:28 +0000 Subject: [PATCH 1/1] There was a bug that [[inline archive="yes]] created an RSS link, but no feed. Fixed in the easiest way by creating an RSS feed for archive pages (it will include only a limited number of items, not everything). Alternative fix would be to track separately which pages are archives and which not, and only create feeds for non-archives. --- IkiWiki/Render.pm | 2 -- doc/bugs.mdwn | 1 - 2 files changed, 3 deletions(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index dc1fc54e7..5f9de8d26 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -266,8 +266,6 @@ sub genrss ($$$) { #{{{ my $parentpage=shift; my %params=@_; - return "" if exists $params{archive} && $params{archive} eq 'yes'; - if (! exists $params{show}) { $params{show}=10; } diff --git a/doc/bugs.mdwn b/doc/bugs.mdwn index 31c4abe77..8685511c5 100644 --- a/doc/bugs.mdwn +++ b/doc/bugs.mdwn @@ -29,4 +29,3 @@ preview, it doesn't get the link right because it makes it relative to where the page will be saved to, not to where the cgi script is. * RSS output contains relative links. Ie. http://kitenet.net/~joey/blog/index.rss contains a link to http://kitenet.net/~joey/blog/../blog.html -* [ [inline archive="yes] ] creates an RSS link, but no feed. \ No newline at end of file -- 2.39.5