Changeset 58
- Timestamp:
- 02/08/06 21:44:53
- Files:
-
- trunk/plagger/lib/Plagger/Plugin/Splice/Tag.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Splice/Tag.pm
r54 r58 22 22 $feed->type('spliced:tag'); 23 23 $feed->id( $self->conf->{id} || ('spliced:tag:' . join('+', @tags)) ); 24 $feed->title( $self->conf->{title} || $self->gen_title($op, @tags) ); 24 25 25 26 for my $f ($context->update->feeds) { … … 38 39 } 39 40 41 sub gen_title { 42 my($self, $op, @tags) = @_; 43 return "Entries tagged with " . 44 join(" $op ", map { qq('$_') } @tags); 45 } 46 40 47 sub match_tags { 41 48 my($self, $op, $entry, $want_tags) = @_;
