X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/71d2d930272bcdba0b5d2671506e2386ea416632..07a1796d3bf52bca9a325cf517f742ff44b49921:/IkiWiki/Plugin/aggregate.pm diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index be2c96369..78f8b409c 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -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)}; }