Changeset 106
- Timestamp:
- 02/22/06 18:21:38
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Subscription/OPML.pm
r29 r106 20 20 my $uri = URI->new($self->conf->{url}) 21 21 or $context->error("config 'url' is missing"); 22 23 $self->load_opml($context, $uri); 24 } 25 26 sub load_opml { 27 my($self, $context, $uri) = @_; 22 28 23 29 my $xml; … … 68 74 69 75 1; 76 77 __END__ 78 79 =head1 NAME 80 81 Plagger::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 91 This plugin creates Subscription by fetching remote OPML file by HTTP 92 or locally (with C<file://> URI). It supports nested folder structure 93 of OPML subscription. 94 95 =head1 AUTHOR 96 97 Tatsuhiko Miyagawa 98 99 =head1 SEE ALSO 100 101 L<Plagger>, L<XML::OPML> 102 103 =cut
