Last active
October 2, 2018 10:27
-
-
Save fujii/0d88a0757ed1ccf5c0e75d27e157de56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
# Set timezone to your local one | |
timezone: Asia/Tokyo | |
# this make logger logs important information | |
log: | |
level: info | |
plugins: | |
- module: Subscription::Config | |
config: | |
feed: | |
- https://www.asahi.com/ | |
- module: Filter::Rule | |
rule: | |
module: Deduped | |
- module: Filter::EntryFullText | |
- module: Publish::Maildir | |
config: | |
maildir: /home/fujii/Maildir | |
folder: asahi | |
attach_enclosures: 1 | |
mailfrom: plagger@localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
# Set timezone to your local one | |
timezone: Asia/Tokyo | |
# this make logger logs important information | |
log: | |
level: info | |
plugins: | |
- module: Subscription::Config | |
config: | |
feed: | |
- http://b.hatena.ne.jp/ | |
- module: Filter::Rule | |
rule: | |
module: Deduped | |
- module: Filter::EntryFullText | |
config: | |
store_html_on_failure: 1 | |
force_upgrade: 1 | |
- module: Publish::Maildir | |
config: | |
maildir: /home/fujii/Maildir | |
folder: hatebu | |
attach_enclosures: 1 | |
mailfrom: plagger@localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
# Set timezone to your local one | |
timezone: Asia/Tokyo | |
# this make logger logs important information | |
log: | |
level: info | |
plugins: | |
- module: Subscription::Config | |
config: | |
feed: | |
- url: https://www.nikkei.com/ | |
meta: | |
follow_link: https://www\.nikkei\.com/article/ | |
- module: CustomFeed::Simple | |
- module: Filter::TruePermalink | |
- module: Filter::EntryFullText | |
- module: Filter::Rule | |
rule: | |
module: Deduped | |
- module: Publish::Maildir | |
config: | |
maildir: /home/fujii/Maildir | |
folder: nikkei | |
attach_enclosures: 1 | |
mailfrom: plagger@localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y libxml2-dev zlib1g-dev libexpat1-dev libdb-dev libssl-dev libgmp-dev unzip libmpfr-dev swig | |
plenv install 5.28.0 | |
plenv local 5.28.0 | |
plenv install-cpanm | |
cpanm YAML::Loader::Base | |
cpanm IO::Socket::SSL --notest | |
cpanm LWP::Protocol::https | |
cpanm --installdeps Plagger | |
# Error: Can't locate XML/Feed/RSS.pm in @INC (you may need to install the XML::Feed::RSS module) (@INC contains: /home/fujii/.cpanm/work/1538032207.210/Plagger-0.7.17/inc /home/fujii/.cpanm/work/1538032207.210/Plagger-0.7.17/blib/lib /home/fujii/.cpanm/work/1538032207.210/Plagger-0.7.17/blib/arch /home/fujii/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0/x86_64-linux /home/fujii/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0 /home/fujii/.plenv/versions/5.28.0/lib/perl5/5.28.0/x86_64-linux /home/fujii/.plenv/versions/5.28.0/lib/perl5/5.28.0 .) at /home/fujii/.cpanm/work/1538032207.210/Plagger-0.7.17/blib/lib/Plagger/FeedParser.pm line 7. | |
plenv rehash | |
> Bareword "use_test_base" not allowed while "strict subs" in use at Makefile.PL line 115. | |
cpanm Module::Install::TestBase | |
git clone https://github.com/miyagawa/plagger.git | |
cd plagger | |
cpanm --installdeps . | |
cpanm . --notest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
# Set timezone to your local one | |
timezone: Asia/Tokyo | |
# this make logger logs important information | |
log: | |
level: info | |
plugins: | |
- module: Subscription::Config | |
config: | |
feed: | |
- http://bulknews.typepad.com/blog/ | |
- https://fujii.github.io/ | |
- module: Filter::Rule | |
rule: | |
module: Deduped | |
- module: Publish::Maildir | |
config: | |
maildir: /home/fujii/Maildir | |
folder: plagger | |
attach_enclosures: 1 | |
mailfrom: plagger@localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment