} #}}}
sub checkconfig () { #{{{
+ IkiWiki::lockwiki();
+ loadstate();
if ($IkiWiki::config{aggregate}) {
- IkiWiki::lockwiki();
- loadstate();
IkiWiki::loadindex();
aggregate();
savestate();
- IkiWiki::unlockwiki();
}
+ IkiWiki::unlockwiki();
} #}}}
sub filter (@) { #{{{
$page=$feed->{dir}."/item";
}
my $c="";
- while (exists $IkiWiki::pagecase{lc $page} ||
+ while (exists $IkiWiki::pagecase{lc $page.$c} ||
-e pagefile($page.$c)) {
$c++
}
# Convert links in html from relative to absolute.
# Note that this is a heuristic, which is not specified by the rss
# spec and may not be right for all feeds. Also, see Debian
- # bug #XXXX TODO: get bug.
+ # bug #381359.
my $html=shift;
my $urlbase=shift;