Changeset 62

Show
Ignore:
Timestamp:
02/09/06 16:57:37
Author:
miyagawa
Message:

Rename filter.content hook to entry.fixup. Fixes #27

Files:

Legend:

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

    r57 r62  
    125125    for my $feed ($self->update->feeds) { 
    126126        for my $entry ($feed->entries) { 
    127             $self->run_hook('filter.content', { entry => $entry, content => $entry->text }); 
     127            $self->run_hook('entry.fixup', { entry => $entry, content => $entry->text }); 
    128128        } 
    129129        $self->run_hook('publish.add_feed', { feed => $feed }); 
  • trunk/plagger/lib/Plagger/Plugin/Widget/Delicious.pm

    r61 r62  
    1111    $context->register_hook( 
    1212        $self, 
    13         'filter.content' => \&add, 
     13        'entry.fixup' => \&add, 
    1414    ); 
    1515} 
  • trunk/plagger/lib/Plagger/Plugin/Widget/HatenaBookmark.pm

    r61 r62  
    1111    $context->register_hook( 
    1212        $self, 
    13         'filter.content' => \&add, 
     13        'entry.fixup' => \&add, 
    1414    ); 
    1515}