Changeset 936

Show
Ignore:
Timestamp:
06/09/06 09:24:35
Author:
miyagawa
Message:

find enclosure from links using permalink, not link

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/FindEnclosures.pm

    r899 r936  
    8080 
    8181    # check $entry->link first, if it links directly to media files 
    82     $self->add_enclosure($args->{entry}, [ 'a', { href => $args->{entry}->link } ], 'href' ); 
     82    $self->add_enclosure($args->{entry}, [ 'a', { href => $args->{entry}->permalink } ], 'href' ); 
    8383 
    8484    my $parser = HTML::TokeParser->new(\$args->{entry}->body);