Changeset 45

Show
Ignore:
Timestamp:
02/08/06 15:17:17
Author:
miyagawa
Message:

split out tags functionality into shiny new Plagger::Tag

Files:

Legend:

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

    r44 r45  
    22use strict; 
    33use base qw( Plagger::Plugin ); 
     4 
     5use Plagger::Tag; 
    46 
    57sub register { 
     
    2527 
    2628        if ($config->{tags}) { 
    27             require Text::Tags::Parser; 
    28             my @tags = Text::Tags::Parser->new->parse_tags($config->{tags}); 
     29            my @tags = Plagger::Tag->parse($config->{tags}); 
    2930            $feed->tags(\@tags); 
    3031        }