| 1 | package Plagger::Plugin::Bundle::Defaults; | ||
| 2 | use strict; | ||
| 3 | use base qw( Plagger::Plugin ); | ||
| 4 | |||
| 5 | sub register { | ||
| 6 | my($self, $context) = @_; | ||
| 7 | |||
| 8 | unless ( $context->is_loaded(qr/^Aggregator::/) ) { | ||
| 9 | $context->load_plugin({ module => 'Aggregator::Simple' }); | ||
| 10 | } | ||
| 11 | |||
| 12 | $context->autoload_plugin({ module => 'Summary::Auto' }); | ||
| 13 | $context->autoload_plugin({ module => 'Summary::Simple' }); | ||
| 14 | |||
| 15 | $context->autoload_plugin({ module => 'Namespace::HatenaFotolife' }); | ||
| 16 | $context->autoload_plugin({ module => 'Namespace::MediaRSS' }); | ||
| 17 | $context->autoload_plugin({ module => 'Namespace::ApplePhotocast' }); | ||
| 18 | } | ||
| 19 | |||
| 20 | 1; | ||
| 21 | __END__ |