summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 23:06:28 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-28 23:06:28 +0000
commitd73574e19f3544faee8bfaf2d7269b8bc70eca7a (patch)
tree310538a633ad948ec74fb500b7b000aded22ff82
parentbce9a327c305455c4721d9f6b087a9298f7e460f (diff)
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.
-rw-r--r--IkiWiki/Render.pm2
-rw-r--r--doc/bugs.mdwn1
2 files changed, 0 insertions, 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