Changeset 1143

Show
Ignore:
Timestamp:
07/25/06 05:33:58
Author:
miyagawa
Message:

Add 'use_entry_title' config to use entry's title as a feed title.
via http://e8y.net/blog/2006/07/25/p126.html
via http://yadorigi.seesaa.net/article/17098416.html

Files:

Legend:

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

    r838 r1143  
    1818    $feed->clear_entries; 
    1919    $feed->add_entry($args->{entry}); 
     20    $feed->title($args->{entry}->title) 
     21        if $self->conf->{use_entry_title}; 
    2022 
    2123    push @{$self->{feeds}}, $feed; 
     
    4850entries, with Publish::Gmail plugin. 
    4951 
     52=head1 CONFIG 
     53 
     54=over 4 
     55 
     56=item use_entry_title 
     57 
     58Use entry's title as a newly genrated feed title. Defaults to 0. 
     59 
     60=back 
     61 
    5062=head1 AUTHOR 
    5163