]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
* Group passwordauth fields with a fieldset as well. Add a new
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index be2c963694c033d86853278ad7ebdb86b2593093..78f8b409c1fb01960ba1b66c03989fafd346e08c 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::aggregate;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki 2.00;
 use HTML::Entities;
 use HTML::Parser;
 use HTML::Tagset;
@@ -275,7 +275,7 @@ sub aggregate () { #{{{
                        # One common cause of XML::Feed crashing is a feed
                        # that contains invalid UTF-8 sequences. Convert
                        # feed to ascii to try to work around.
-                       $feed->{message}=sprintf(gettext("invalid UTF-8 stripped from feed"));
+                       $feed->{message}.=" ".sprintf(gettext("(invalid UTF-8 stripped from feed)"));
                        $content=Encode::decode_utf8($content);
                        $f=eval{XML::Feed->parse(\$content)};
                }