Changeset 455

Show
Ignore:
Timestamp:
04/01/06 17:38:56
Author:
miyagawa
Message:

dedupe entries using permalink

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Feed.pm

    r430 r455  
    8181    my @entries; 
    8282    for my $entry ($self->entries) { 
    83         push @entries, $entry if !$seen{$entry->id}++; 
     83        push @entries, $entry if !$seen{$entry->permalink}++; 
    8484    } 
    8585    $self->{entries} = \@entries;