]> sipb.mit.edu Git - ikiwiki.git/commitdiff
There was a bug that [[inline archive="yes]] created an RSS link, but no feed.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 28 Mar 2006 23:06:28 +0000 (23:06 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 28 Mar 2006 23:06:28 +0000 (23:06 +0000)
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
doc/bugs.mdwn

index dc1fc54e7a56770a18dfae04354c77619a573ad2..5f9de8d2668b16992a9c3efedc6203b542301a1e 100644 (file)
@@ -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;
                }
index 31c4abe77e379a3e814f27860c6a81a485c60d85..8685511c546ee68f53cb31f92d893f28fc52e058 100644 (file)
@@ -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