root/trunk/plagger/examples/livedoorreader2gmail.yaml

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

Widget::Delicious: now you don't need username set in config. Just link to /post

Line 
1 # Fetch Livedoor Reader's unread items using JSON API
2 # and send them as HTML email to your Gmail account
3
4 global:
5   # Set timezone to your local
6   timezone: Asia/Tokyo
7   # This makes Plagger log important things
8   log:
9     level: info
10
11 plugins:
12   # Fetch Livedoor Reader unread items using their authentication scheme
13   # Mark retrieved items as "read" if the request succeeds
14   - module: Subscription::LivedoorReader
15     config:
16       username: <your-livedoor-id>
17       password: <password>
18       mark_read: 1
19
20   # Add "Add to del.icio.us" Widget
21   - module: Widget::Delicious
22
23   # Send HTML emails to Gmail account using external SMTP
24   - module: Publish::Gmail
25     config:
26       mailto:   example@gmail.com
27       mailfrom: miyagawa@example.com
28       mailroute:
29         via: smtp
30         host: smtp.example.com
Note: See TracBrowser for help on using the browser.