Changeset 189
- Timestamp:
- 02/27/06 08:23:14
- Files:
-
- trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/CustomFeed/Frepa.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/CustomFeed/Mailman.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/CustomFeed/Mixi.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/Filter/Delicious.pm (modified) (2 diffs)
- trunk/plagger/lib/Plagger/Plugin/Filter/HatenaBookmarkTag.pm (modified) (2 diffs)
- trunk/plagger/lib/Plagger/Plugin/Filter/HatenaBookmarkUsersCount.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/Subscription/Bloglines.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/Subscription/Config.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm
r177 r189 91 91 92 92 1; 93 94 __END__ 95 96 =head1 NAME 97 98 Plagger::Plugin::Aggregator::Simple - Dumb simple aggregator 99 100 =head1 SYNOPSIS 101 102 - module: Aggregator::Simple 103 104 =head1 DESCRIPTION 105 106 This plugin implements a Plagger dumb aggregator. It crawls 107 subscription sequentially and parses XML feeds using L<XML::Feed> 108 module. 109 110 It can be also used as a base class for custom aggregators. See 111 L<Plagger::Plugin::Aggregator::Xango> for example. 112 113 =head1 AUTHOR 114 115 Tatsuhiko Miyagawa 116 117 =head1 SEE ALSO 118 119 L<Plagger>, L<XML::Feed>, L<XML::RSS::LibXML> 120 121 =cut trunk/plagger/lib/Plagger/Plugin/CustomFeed/Frepa.pm
r143 r189 238 238 239 239 1; 240 240 241 __END__ 241 config example. 242 243 =head1 NAME 244 245 Plagger::Plugin::CustomFeed::Frepa - Custom feed for livedoor Frepa 246 247 =head1 SYNOPSIS 242 248 243 249 - module: CustomFeed::Frepa 244 250 config: 245 livedoor_id: id246 password: pass 251 livedoor_id: your-id 252 password: password 247 253 fetch_body: 1 254 show_icon: 1 255 256 =head1 DESCRIPTION 257 258 This plugin fetches your friend blog updates from livedoor Frepa 259 (L<http://frepa.livedoor.com/>) and creates a custom feed. 260 261 =head1 CONFIGURATION 262 263 See L<Plagger::Plugin::CustomFeed::Mixi> for C<fetch_body>, 264 C<fetch_body_interval> and C<show_icon>. 265 266 =head1 AUTHOR 267 268 Kazuhiro Osawa 269 270 =head1 SEE ALSO 271 272 L<Plagger>, L<Plagger::Plugin::CustomFeed::Mixi>, L<WWW::Mechanize>, 273 L<http://frepa.livedoor.com/> 274 275 =cut trunk/plagger/lib/Plagger/Plugin/CustomFeed/Mailman.pm
r124 r189 101 101 1; 102 102 103 __END__ 104 105 =head1 NAME 106 107 Plagger::Plugin::CustomFeed::Mailman - Custom feed for Mailman pipermail 108 109 =head1 SYNOPSIS 110 111 - module: CustomFeed::Mailman 112 config: 113 url: http://lists.rawmode.org/pipermail/catalyst/ 114 115 =head1 DESCRIPTION 116 117 B<Note: Plagger has a bug that you'll have duplicated entries when you 118 have multiple installations of identical CustomFeed. It will be fixed 119 and this plugin's config interface may be changed altogether> 120 121 This plugin creates a custom feed off of Mailman's pipermail URL. 122 123 =head1 AUTHOR 124 125 Tatsuhiko Miyagawa 126 127 =head1 SEE ALSO 128 129 L<Plagger> 130 131 =cut trunk/plagger/lib/Plagger/Plugin/CustomFeed/Mixi.pm
r132 r189 104 104 1; 105 105 106 __END__ 107 108 =head1 NAME 109 110 Plagger::Plugin::CustomFeed::Mixi - Custom feed for mixi.jp 111 112 =head1 SYNOPSIS 113 114 - module: CustomFeed::Mixi 115 config: 116 email: email@example.com 117 password: password 118 fetch_body: 1 119 show_icon: 1 120 121 =head1 DESCRIPTION 122 123 This plugin fetches your friends diary updates from mixi 124 (L<http://mixi.jp/>) and creates a custom feed. 125 126 =head CONFIGURATION 127 128 =over 4 129 130 =item email, password 131 132 Credential you need to login to mixi.jp. 133 134 =item fetch_body 135 136 With this option set, this plugin fetches entry body HTML, not just a 137 link to the entry. Defaults to 0. 138 139 =item fetch_body_interval 140 141 With C<fetch_body> option set, your Plagger script is recommended to 142 wait for a little, to avoid mixi.jp throttling. Defaults to 1.5. 143 144 =item show_icon: 1 145 146 With this option set, this plugin fetches users buddy icon from 147 mixi.jp site, which makes the output HTML very user-friendly. 148 149 =back 150 151 =head1 SCREENSHOT 152 153 L<http://blog.bulknews.net/mt/archives/plagger-mixi-icon.gif> 154 155 =head1 AUTHOR 156 157 Tatsuhiko Miyagawa 158 159 =head1 SEE ALSO 160 161 L<Plagger>, L<WWW::Mixi> 162 163 =cut trunk/plagger/lib/Plagger/Plugin/Filter/Delicious.pm
r97 r189 2 2 use strict; 3 3 use base qw( Plagger::Plugin ); 4 5 # NOTE this module is untested and written just for a proof of6 # concept. If you run this on your box with real feeds, del.icio.us7 # wlil be likely to ban your IP. See http://del.icio.us/help/ for8 # details.9 4 10 5 use Digest::MD5 qw(md5_hex); … … 46 41 47 42 1; 43 44 __END__ 45 46 =head1 NAME 47 48 Plagger::Plugin::Filter::Delicious - Fetch tags and users count from del.icio.us 49 50 =head1 SYNOPSIS 51 52 - module: Filter::Delicious 53 54 =head1 DESCRIPTION 55 56 B<Note: this module is mostly untested and written just for a proof of 57 concept. If you run this on your box with real feeds, del.icio.us wlil 58 be likely to ban your IP. See http://del.icio.us/help/ for details.> 59 60 This plugin queries del.icio.us using its RSS feeds API to get the 61 tags people added to the entries, and how many people bookmarked them. 62 63 Users count is stored in C<delicious_users> metadata of 64 Plagger::Entry, so that other plugins and smartfeeds can make use of. 65 66 =head1 AUTHOR 67 68 Tatsuhiko Miyagawa 69 70 =head1 SEE ALSO 71 72 L<Plagger>, L<http://del.icio.us/help/> 73 74 =cut trunk/plagger/lib/Plagger/Plugin/Filter/HatenaBookmarkTag.pm
r81 r189 30 30 for my $entry ($feed->entries) { 31 31 my $tag = $entry->category or next; 32 $tag = [ $tag ] unless ref($tag);32 $tag = [ $tag ] unless ref($tag); 33 33 34 34 for my $t (@{$tag}) { … … 39 39 40 40 1; 41 42 __END__ 43 44 =head1 NAME 45 46 Plagger::Plugin::Filter::HatenaBookmarkTag - Fetch tags from Hatena Bookmark 47 48 =head1 SYNOPSIS 49 50 - module: Filter::HatenaBookmarkTag 51 52 =head1 DESCRIPTION 53 54 B<Note: this module is mostly untested and written just for a proof of 55 concept. If you run this on your box with real feeds, Hatena might 56 throttle your IP. See http://b.hatena.ne.jp/ for details.> 57 58 This plugin queries Hatena Bookmark (L<http://b.hatena.ne.jp/>) using 59 its RSS feeds API to get the tags people added to the entries. 60 61 =head1 AUTHOR 62 63 Tatsuhiko Miyagawa 64 65 =head1 SEE ALSO 66 67 L<Plagger>, L<Plagger::Plugin::Filter::HatenaBookmarkUsersCount>, 68 L<http://b.hatena.ne.jp/> 69 70 =cut trunk/plagger/lib/Plagger/Plugin/Filter/HatenaBookmarkUsersCount.pm
r96 r189 40 40 41 41 1; 42 43 __END__ 44 45 =head1 NAME 46 47 Plagger::Plugin::Filter::HatenaBookmarkUsersCount - Queries Hatena Bookmark users count 48 49 =head1 SYNOPSIS 50 51 - module: Filter::HatenaBookmarkUsersCount 52 53 =head1 DESCRIPTION 54 55 This plugin queries Hatena Bookmark (L<http://b.hatena.ne.jp/>) how 56 many people bookmarked each of feed entries, using its XMLRPC API 57 C<bookmark.getCount>. 58 59 Users count is stored in C<hatenabookmark_users> metadata of 60 Plagger::Entry so that other plugins or smartfeeds can make use of. 61 62 =head1 AUTHOR 63 64 Kazuhiro Osawa, Tatsuhiko Miyagawa 65 66 =head1 SEE ALSO 67 68 L<Plagger>, L<http://d.hatena.ne.jp/keyword/%A4%CF%A4%C6%A4%CA%A5%D6%A5%C3%A5%AF%A5%DE%A1%BC%A5%AF%B7%EF%BF%F4%BC%E8%C6%C0API> 69 70 =cut trunk/plagger/lib/Plagger/Plugin/Subscription/Bloglines.pm
r177 r189 115 115 1; 116 116 117 __END__ 118 119 =head1 NAME 120 121 Plagger::Plugin::Subscription::Bloglines - Bloglines Subscription 122 123 =head1 SYNOPSIS 124 125 - module: Subscription::Bloglines 126 config: 127 username: your-email@account 128 password: your-password 129 mark_read: 1 130 131 =head1 DESCRIPTION 132 133 This plugin allows you to synchronize your subscription using 134 Bloglines Web Services sync API. 135 136 =head1 CONFIGURATION 137 138 =over 4 139 140 =item username, password 141 142 Your username & password to use with Bloglines API. 143 144 =item mark_read 145 146 C<mark_read> specifies whether this plugin "marks as read" the items 147 you synchronize. Without this option, you will get the duplicated 148 updates everytime you run Plagger, until you mark them unread using 149 Bloglines browser interface. Defaults to 1. 150 151 Setting this to 0 is recommended only for testing, or users who don't 152 use Publish::Gmail plugin. 153 154 =back 155 156 =head1 AUTHOR 157 158 Tatsuhiko Miyagawa 159 160 =head1 SEE ALSO 161 162 L<Plagger>, L<WebService::Bloglines>, L<http://www.bloglines.com/> 163 164 =cut 165 trunk/plagger/lib/Plagger/Plugin/Subscription/Config.pm
r87 r189 38 38 39 39 1; 40 41 __END__ 42 43 =head1 NAME 44 45 Plagger::Plugin::Subscription::Config - Subscription in config.yaml 46 47 =head1 SYNOPSIS 48 49 - module: Subscription::Config 50 config: 51 feed: 52 - url: http://bulknews.typepad.com/blog/atom.xml 53 - url: http://blog.bulknews.net/mt/index.rdf 54 55 =head1 DESCRIPTION 56 57 This plugin allows you to configure your subscription I<hardwired> in 58 C<config.yaml>. 59 60 =head1 AUTHOR 61 62 Tatsuhiko Miyagawa 63 64 =head1 SEE ALSO 65 66 L<Plagger> 67 68 =cut
