]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/aggregate.pm
* Enable utf8 file IO in aggregate plugin.
[git.ikiwiki.info.git] / IkiWiki / Plugin / aggregate.pm
index 973f7a4ca56c4355f47c3eb6c340d82983b077b8..8c4b1bfe930c6bdc133160cf9a24483f490a64d5 100644 (file)
@@ -9,6 +9,7 @@ use HTML::Entities;
 use HTML::Parser;
 use HTML::Tagset;
 use URI;
+use open qw{:utf8 :std};
 
 my %feeds;
 my %guids;
@@ -281,6 +282,7 @@ sub add_page (@) { #{{{
        if (exists $guids{$params{guid}}) {
                # updating an existing post
                $guid=$guids{$params{guid}};
+               return if $guid->{expired};
        }
        else {
                # new post