Changeset 106

Show
Ignore:
Timestamp:
02/22/06 18:21:38
Author:
miyagawa
Message:

Added Odeo plugin. Refs #43

Files:

Legend:

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

    r29 r106  
    2020    my $uri = URI->new($self->conf->{url}) 
    2121        or $context->error("config 'url' is missing"); 
     22 
     23    $self->load_opml($context, $uri); 
     24} 
     25 
     26sub load_opml { 
     27    my($self, $context, $uri) = @_; 
    2228 
    2329    my $xml; 
     
    6874 
    69751; 
     76 
     77__END__ 
     78 
     79=head1 NAME 
     80 
     81Plagger::Plugin::Subscrption::OPML - OPML subscription 
     82 
     83=head1 SYNOPSIS 
     84 
     85  - module: Subscription::OPML 
     86    config: 
     87      url: http://example.com/mySubscriptions.opml 
     88 
     89=head1 DESCRIPTION 
     90 
     91This plugin creates Subscription by fetching remote OPML file by HTTP 
     92or locally (with C<file://> URI). It supports nested folder structure 
     93of OPML subscription. 
     94 
     95=head1 AUTHOR 
     96 
     97Tatsuhiko Miyagawa 
     98 
     99=head1 SEE ALSO 
     100 
     101L<Plagger>, L<XML::OPML> 
     102 
     103=cut