|
Revision 49, 1.2 kB
(checked in by otsune, 15 months ago)
|
|
Add kanpou and mobile hatenabookmark
|
| Line | |
|---|
| 1 | include: |
|---|
| 2 | - config.base.yaml |
|---|
| 3 | |
|---|
| 4 | plugins: |
|---|
| 5 | - module: Subscription::Config |
|---|
| 6 | config: |
|---|
| 7 | feed: |
|---|
| 8 | - url: http://b.hatena.ne.jp/entrylist?mode=rss&sort=hot&threshold=5 |
|---|
| 9 | - url: http://b.hatena.ne.jp/hotentry?mode=rss |
|---|
| 10 | - url: http://b.hatena.ne.jp/hotentry/news/rss |
|---|
| 11 | - url: http://r.hatena.ne.jp/laiso/Momegoto/rss |
|---|
| 12 | |
|---|
| 13 | - module: Filter::EntryFullText |
|---|
| 14 | rule: |
|---|
| 15 | expression: $args->{entry}->link !~ m/.*\.(jpe?g|gif|png|pdf|swf|mp3|mov|wmv)$/ |
|---|
| 16 | config: |
|---|
| 17 | store_html_on_failure: 1 |
|---|
| 18 | force_upgrade: 1 |
|---|
| 19 | |
|---|
| 20 | - module: Filter::HTMLScrubber |
|---|
| 21 | config: |
|---|
| 22 | comment: 0 |
|---|
| 23 | |
|---|
| 24 | - module: Filter::Regexp |
|---|
| 25 | config: |
|---|
| 26 | regexp: s|<[^>]+?>||g |
|---|
| 27 | - module: Filter::UnicodeNormalize |
|---|
| 28 | |
|---|
| 29 | - module: Widget::Delicious |
|---|
| 30 | config: |
|---|
| 31 | one_click_post: 1 |
|---|
| 32 | - module: Widget::HatenaBookmark |
|---|
| 33 | - module: Filter::HatenaDiaryKeywordUnlink |
|---|
| 34 | |
|---|
| 35 | - module: Filter::Rule |
|---|
| 36 | rule: |
|---|
| 37 | - expression: $args->{entry}->{date} = undef; 1 |
|---|
| 38 | - module: Deduped |
|---|
| 39 | |
|---|
| 40 | - module: Publish::CHTML |
|---|
| 41 | config: |
|---|
| 42 | title: はてなブックマーク 最近の人気エントリー 注目のエントリー by Plagger CHTML |
|---|
| 43 | work: /usr/local/www/data/i |
|---|
| 44 | mobile_gw: http://mgw.hatena.ne.jp/? |
|---|
| 45 | encoding: cp932 |
|---|