Changeset 552

Show
Ignore:
Timestamp:
04/06/06 17:36:24
Author:
miyagawa
Message:

Subscription::Bloglines: set permalink only if guid is an HTTP URI. Fixses #156

Files:

Legend:

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

    r493 r552  
    164164            $entry->date( Plagger::Date->parse('Mail', $item->{pubDate}) ); 
    165165            $entry->link($item->{link}); 
    166             $entry->permalink("$item->{guid}") if $item->{guid}; # stringify MagicElement 
     166            $entry->permalink("$item->{guid}") 
     167                if $item->{guid} && $item->{guid} =~ m!^https?://!; # stringify MagicElement 
    167168            $entry->feed_link($feed->link); 
    168169            $entry->id($item->{guid});