Changeset 491

Show
Ignore:
Timestamp:
04/02/06 11:57:49
Author:
miyagawa
Message:

added HTML::ResolveLink? in CustomFeed?::Simple

Files:

Legend:

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

    r481 r491  
    77use File::Spec; 
    88use List::Util qw(first); 
     9use HTML::ResolveLink; 
    910use Plagger::Date; # for metadata in plugins 
    1011use Plagger::Util qw( decode_content ); 
     
    9091            if ($data) { 
    9192                $context->log(info => "Extract content succeeded on " . $args->{entry}->permalink); 
     93                my $resolver = HTML::ResolveLink->new( base => $args->{entry}->permalink ); 
     94                $data->{body} = $resolver->resolve( $data->{body} ); 
    9295                $args->{entry}->body($data->{body}); 
    9396                $args->{entry}->title($data->{title}) if $data->{title};