if ($config{rss}) {
writefile(rsspage($params{page}), $config{destdir},
genrss($params{page}, @list));
- $toping{$params{page}}=1;
+ $toping{$params{page}}=1 unless $config{rebuild};
}
return $ret;
my $file=$pagesources{$page};
my $type=pagetype($file);
- if ($type ne 'unknown') {
+ if (defined $type) {
return htmlize($type, preprocess($page, linkify($page, $parentpage, readfile(srcfile($file))), 1));
}
else {