Changeset 554

Show
Ignore:
Timestamp:
04/07/06 00:01:48
Author:
sekimura
Message:

supported more than one config in a stream using three dashes ("---").

Files:

Legend:

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

    r540 r554  
    7777sub load_plugin_yaml { 
    7878    my($self, $file, $base) = @_; 
    79     my $data = YAML::LoadFile($file); 
    80  
    81     return Plagger::Plugin::Filter::EntryFullText::YAML->new($data, $base); 
     79    my $data = [ YAML::LoadFile($file) ]; 
     80 
     81    return Plagger::Plugin::Filter::EntryFullText::YAML->new($_, $base)  
     82        for @$data; 
    8283} 
    8384