X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7591cf777606064f0bea86779be334e35b5737d2..6c546c8f3182668c6d21d578b789674894f18c39:/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