Changeset 790

Show
Ignore:
Timestamp:
05/21/06 16:16:43
Author:
topia
Message:

discard error when isPermaLink attribute not found.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Subscription/Bloglines.pm

    r724 r790  
    166166 
    167167            if ($item->{guid}) { 
    168                 my $is_permalink = $item->{guid}->{isPermaLink}; 
     168                my $is_permalink = eval { $item->{guid}->{isPermaLink}  } || 
     169                    'false'; 
    169170                my $guid_url     = "$item->{guid}"; # stringify MagicElement 
    170171                $entry->permalink($guid_url)