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.master
parent
bce9a327c3
commit
d73574e19f
|
@ -266,8 +266,6 @@ sub genrss ($$$) { #{{{
|
||||||
my $parentpage=shift;
|
my $parentpage=shift;
|
||||||
my %params=@_;
|
my %params=@_;
|
||||||
|
|
||||||
return "" if exists $params{archive} && $params{archive} eq 'yes';
|
|
||||||
|
|
||||||
if (! exists $params{show}) {
|
if (! exists $params{show}) {
|
||||||
$params{show}=10;
|
$params{show}=10;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,4 +29,3 @@
|
||||||
preview, it doesn't get the link right because it makes it relative to
|
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.
|
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
|
* 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.
|
|
Loading…
Reference in New Issue