|
Revision 499
(checked in by miyagawa, 2 years ago)
|
YAMLified chuspo; allow extract_after_hook
|
| Line | |
|---|
| 1 |
author: Daisuke Murase <typester@cpan.org> |
|---|
| 2 |
custom_feed_handle: http://chuspo\.chunichi\.co\.jp/dragons/tp |
|---|
| 3 |
custom_feed_follow_link: "^tp" |
|---|
| 4 |
handle: http://chuspo\.chunichi\.co\.jp/dragons/tp |
|---|
| 5 |
extract: (\d{4}.*?\d{1,2}.*?\d{1,2}).*?<FONT size="6".*?>(.*?)</FONT>.*?<FONT size="5".*?>(.*?)</FONT>.*?<FONT size=3>(.*?<BR>.*?)</FONT> |
|---|
| 6 |
extract_capture: date body1 body2 body3 |
|---|
| 7 |
extract_date_format: %Y年%m月%d日 |
|---|
| 8 |
extract_after_hook: $data->{body} = "<h2>$data->{body1} - $data->{body2}</h2>\n$data->{body3}" |
|---|
| 9 |
|
|---|