X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/90b3140fffc9c42d255ee8788eb53c8c8a626e8c..4a5cab56d0fbd18e0e6e30b6d8b5930eb9b16237:/IkiWiki/Plugin/aggregate.pm diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 01e026c88..2069a352e 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -535,6 +535,14 @@ sub aggregate (@) { next; } my $content=$res->content; + + # This is a hack to support the media:content extension + # to RSS. XML::Feed does not support it, but it's the same + # as an enclosure, so converting it to that tag will let it + # parse. + $content=~s/parse(\$content)}; if ($@) { # One common cause of XML::Feed crashing is a feed