Show
Ignore:
Timestamp:
06/29/09 17:20:40 (5 months ago)
Author:
mpaschal
Message:

Switch the Google Reader stream to a yaml recipe instead of a class based definition

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ActionStreams/plugins/ActionStreams/lib/ActionStreams/Fix.pm

    r1562 r1564  
    4545        $item->{thumbnail} = $thumb; 
    4646    } 
     47} 
     48 
     49sub googlereader_link_links { 
     50    my ($cb, $app, $item, $event, $author, $profile) = @_; 
     51    my $enclosure = delete $item->{enclosure}; 
     52    $item->{url} ||= $enclosure || q{}; 
     53    $item->{identifier} = $item->{url} if $item->{url}; 
    4754} 
    4855