]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/aggregate.pm
web commit by JoshTriplett
[git.ikiwiki.info.git] / IkiWiki / Plugin / aggregate.pm
index d11283f0a4fb113ccb5c444a44f727ab40d83eb3..7fceb0df3d54112478f25ab946477bd418416ee5 100644 (file)
@@ -270,7 +270,7 @@ sub aggregate () { #{{{
                        );
                }
 
-               $feed->{message}=sprintf(gettext("processed ok at "),
+               $feed->{message}=sprintf(gettext("processed ok at %s"),
                        displaytime($feed->{lastupdate}));
                $feed->{error}=0;
        }
@@ -317,7 +317,7 @@ sub add_page (@) { #{{{
                my $max=POSIX::pathconf($config{srcdir}, &POSIX::_PC_NAME_MAX);
                if (defined $max && length(htmlpage($page)) >= $max) {
                        $c="";
-                       $page="item";
+                       $page=$feed->{dir}."/item";
                        while (exists $IkiWiki::pagecase{lc $page.$c} ||
                               -e pagefile($page.$c)) {
                                $c++