Changeset 285

Show
Ignore:
Timestamp:
03/05/06 06:10:31
Author:
miyagawa
Message:

Subscription::Config: support just URL

Files:

Legend:

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

    r189 r285  
    2121 
    2222    for my $config (@$feeds) { 
     23        if (!ref($config)) { 
     24            $config = { url => $config }; 
     25        } 
    2326        my $feed = Plagger::Feed->new; 
    2427        $feed->url($config->{url}) or $context->error("Feed URL is missing");