Pipesのrss
http://pipes.yahoo.com/pipes/pipe.run?_id=LnwDFzMM3BGA5e7EJZhxuA&_render=rss
のように、記事がない時に下のようなゴミ?がついてくる。
<item> <title></title> <description></description> <pubDate>Wed, 16 Sep 2009 20:55:41 -0700</pubDate> <guid isPermaLink="false">LnwDFzMM3BGA5e7EJZhxuA_ed3bde3ffc147f62d43e80e0418b8ba2</guid> </item>
おかげでPlaggerこけまくり。
Aggregator/Simple.pmを適当に書き換えたらいけた。
25 my $url = $args->{feed}->url; 26 27 return if ($url =~ /^http/); 28 my $res = $self->fetch_content($url) or return;
ひさしぶりにPlaggerのソース触ったけど浦島状態。