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

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

Subscription::Planet

  • Added Yahoo! Blog Search (.jp), BlogPulse?, Feedster
  • Google Blog Search switched to date order mode
  • Removed Y! API Search
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://www.blogpulse.com/rss?query=%s&sort=date&operator=and',
13         'http://www.feedster.com/search/type/rss/%s',
14         'http://blogsearch.google.com/blogsearch_feeds?hl=en&q=%s&scoring=d&ie=utf-8&num=100&output=rss',
15         'http://blog-search.yahoo.co.jp/rss?p=%s',
16         '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',
17         'http://www.namaan.net/rss?namaan=NAMA&ty=5&query=%s',
18         'http://search.msn.co.jp/results.aspx?q=%s&format=rss&FORM=RSRE',
19         'http://bulkfeeds.net/app/search2.rdf?q=%s',
20         'http://rss.sf.livedoor.com/search?q=%s&sf=update_date&start=0',
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.