Changeset 538

Show
Ignore:
Timestamp:
04/04/06 19:22:57
Author:
miyagawa
Message:

fix Atom body handling if there's no content element

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm

    r466 r538  
    129129        $entry->feed_link($feed->link); 
    130130        $entry->id($e->id); 
    131         $entry->body($e->content->body); 
     131        $entry->body($e->content->body || $e->summary->body); 
    132132 
    133133        my $args = {