Changeset 1062

Show
Ignore:
Timestamp:
07/09/06 00:40:09
Author:
youpy
Message:
  • Exclude inline enclosure
  • Refs #325
Files:

Legend:

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

    r1058 r1062  
    6060 
    6161        if ($e->has_enclosure) { 
    62             for my $enclosure ($e->enclosures) { 
     62            for my $enclosure (grep { defined $_->url && !$_->is_inline } $e->enclosures) { 
    6363                $entry->add_enclosure({ 
    6464                    url    => $enclosure->url,