root/trunk/plagger/lib/Plagger/Plugin/Subscription/Planet.pm

Revision 438 (checked in by miyagawa, 14 years ago)

add Subscription::Planet by youpy

Line 
1 package Plagger::Plugin::Subscription::Planet;
2 use strict;
3 use base qw( Plagger::Plugin::Subscription::Config );
4
5 sub load {
6     my($self, $context) = @_;
7
8     map {
9         s/%s/$self->conf->{keyword}/eg;
10         push @{$self->conf->{feed}}, { url => $_ }
11     } @{[
12         'http://blogsearch.google.com/blogsearch_feeds?hl=en&q=%s&btnG=Search+Blogs',
13         'http://blog.goo.ne.jp/search/search.php?status=select&tg=all&st=time&dc=10&dp=all&bu=&ts=all&MT=%s&da=all&rss=1',
14         'http://www.namaan.net/rss?namaan=NAMA&ty=5&query=%s',
15         # 'http://www.jetrun.jp/index.rdf?keyword=%s&si=0&upspan=0&area=&capage=1&pod=0&siteurl=',
16         'http://search.msn.co.jp/results.aspx?q=%s&format=rss&FORM=RSRE',
17         'http://bulkfeeds.net/app/search2.rdf?q=%s',
18 #        'http://www.feedster.com/search/type/rss/%s',
19         'http://rss.sf.livedoor.com/search?q=%s&sf=update_date&start=0',
20         'http://rss.rdy.jp/y2rss.cgi?query=%s&enc=UTF-8',
21         'http://b.hatena.ne.jp/t/%s?mode=rss&sort=eid&threshold=1',
22         'http://d.hatena.ne.jp/keyworddiary/%s?mode=rss',
23     ]};
24
25     $self->SUPER::load($context);
26 }
27
28 1;
Note: See TracBrowser for help on using the browser.