Changeset 1053
- Timestamp:
- 07/04/06 04:22:07
- Files:
-
- trunk/plagger/examples/atode.yaml (modified) (3 diffs)
- trunk/plagger/examples/bloglines2gmail.yaml (modified) (2 diffs)
- trunk/plagger/examples/iefav2opml.yaml (modified) (1 diff)
- trunk/plagger/examples/livedoorreader2gmail.yaml (modified) (2 diffs)
- trunk/plagger/examples/planet.yaml (modified) (5 diffs)
- trunk/plagger/examples/podcast.yaml (modified) (2 diffs)
- trunk/plagger/examples/search.yaml (modified) (1 diff)
- trunk/plagger/examples/xoxo-planet.yaml (modified) (3 diffs)
- trunk/plagger/examples/xoxo2opml.yaml (modified) (1 diff)
- trunk/plagger/examples/yapcvideo.yaml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/examples/atode.yaml
r579 r1053 1 # Bookmark web pages "to read later" on del.icio.us 2 # Send HTML emails out of those bookmarks to your inbox 3 1 4 global: 5 # Set timezone to Tokyo 2 6 timezone: Asia/Tokyo 3 7 4 8 plugins: 9 # Add del.icio.us bookmarks tagged "toread" 5 10 - module: Subscription::Config 6 11 config: … … 8 13 - http://del.icio.us/rss/miyagawa/toread 9 14 15 # Resolve relative links in the entry body 10 16 - module: Filter::ResolveRelativeLink 11 17 18 # Upgrade entry body to fulltext. Even if upgrade fails, store the whole HTML 12 19 - module: Filter::EntryFullText 13 20 config: 14 21 store_html_on_failure: 1 15 22 23 # Deduplicate entries using URL + datetime as a key 16 24 - module: Filter::Rule 17 25 rule: 18 module: Fresh 19 mtime: 20 path: /home/miyagawa/tmp/atode.mtime 21 autoupdate: 1 26 module: Deduped 22 27 28 # Break each entry as a feed so Gmail will send you emails per entry 23 29 - module: Filter::BreakEntriesToFeeds 24 30 31 # Finally send emails to your Gmail account using localhost SMTP server 25 32 - module: Publish::Gmail 26 33 config: … … 30 37 via: smtp 31 38 host: localhost:25 32 trunk/plagger/examples/bloglines2gmail.yaml
r713 r1053 1 # Fetch Bloglines unread items using Bloglines Web Services API 2 # and send HTML emails for each feed (not entry) 3 1 4 global: 2 plugin_path: 3 - /home/miyagawa/plagger/plugins 4 assets_path: /home/miyagawa/plagger/assets 5 # Set timezone to your local one 5 6 timezone: Asia/Tokyo 7 # this make logger logs important information 6 8 log: 7 9 level: info 8 10 9 11 plugins: 12 # Fetch your Bloglines updated entries using Bloglines API 13 # Mark them read if the retrieval succceeds. 14 # Fetch optional metadata by using listsubs API 10 15 - module: Subscription::Bloglines 11 16 config: … … 15 20 fetch_meta: 1 16 21 22 # Add "Add to del.icio.us" Widget in the Email body 17 23 - module: Widget::Delicious 18 24 config: 19 25 username: miyagawa 20 26 27 # Add "Manage Bloglines Subscription of this feed" Widget 21 28 - module: Widget::BloglinesSubscription 22 29 30 # Send HTML email to your Gmail account using external SMTP server 23 31 - module: Publish::Gmail 24 32 config: trunk/plagger/examples/iefav2opml.yaml
r993 r1053 1 # Convert websites included in Win32 IE favorites to OPML file 2 # by doing RSS/Atom auto-discovery 3 1 4 global: 5 # set timezone to your local 2 6 timezone: Asia/Tokyo 3 7 4 8 plugins: 9 # Read your bookmarks by scanning IE favorites 5 10 - module: Subscription::Bookmarks 6 11 config: 7 12 browser: InternetExplorer 13 14 # Output OPML file as plagger.opml in the current directory 8 15 - module: Publish::OPML 9 16 config: trunk/plagger/examples/livedoorreader2gmail.yaml
r713 r1053 1 # Fetch Livedoor Reader's unread items using JSON API 2 # and send them as HTML email to your Gmail account 3 1 4 global: 2 plugin_path: 3 - /home/miyagawa/plagger/plugins 4 assets_path: /home/miyagawa/plagger/assets 5 # Set timezone to your local 5 6 timezone: Asia/Tokyo 7 # This makes Plagger log important things 6 8 log: 7 9 level: info 8 10 9 11 plugins: 12 # Fetch Livedoor Reader unread items using their authentication scheme 13 # Mark retrieved items as "read" if the request succeeds 10 14 - module: Subscription::LivedoorReader 11 15 config: … … 14 18 mark_read: 1 15 19 20 # Add "Add to del.icio.us" Widget 16 21 - module: Widget::Delicious 17 22 config: 18 23 username: miyagawa 19 24 25 # Send HTML emails to Gmail account using external SMTP 20 26 - module: Publish::Gmail 21 27 config: trunk/plagger/examples/planet.yaml
r988 r1053 1 1 global: 2 # Make plagger more verbose than default 2 3 log: 3 4 level: debug 4 5 5 6 plugins: 7 # Subscribe to a couple of "My Feeds" on the web 8 # They could be either Feeds URL or Blog URL (with AUto-Discovery support) 6 9 - module: Subscription::Config 7 10 config: … … 13 16 - http://d.hatena.ne.jp/miyagawa/ 14 17 15 - module: Aggregator::Simple16 18 # Create "Smart Feed" with all entries across the feeds, fresher than 7 days old 19 # Add the title "Planet Plagger" to the smartfeed 17 20 - module: SmartFeed::All 18 21 rule: … … 22 25 title: Planet Plagger 23 26 27 # Generate Planet XHTML output out of the smartfeed 28 # to the directory /tmp/planet with sixapart-std "skin" 24 29 - module: Publish::Planet 25 30 rule: … … 28 33 dir: /tmp/planet 29 34 skin: sixapart-std 30 template: 31 members_list: 1 32 style_url: http://bulknews.typepad.com/blog/styles.css 35 style_url: http://bulknews.typepad.com/blog/styles.css 33 36 37 # Output Atom feed for the smartfeed 34 38 - module: Publish::Feed 35 39 rule: … … 38 42 dir: /tmp/planet 39 43 44 # Output RSS feed for the smartfeed 40 45 - module: Publish::Feed 41 46 rule: trunk/plagger/examples/podcast.yaml
r733 r1053 1 1 # synchronize Podcasts from Odeo subscription, download all the 2 2 # episodes, rewrite enclosure URL and republish as RSS 2.0 podcast 3 # locally 3 4 4 plugins: 5 # Subscribe to Odeo RSS feed of the user TatsuhikoMiyagawa 5 6 - module: Subscription::Odeo 6 7 config: 7 8 account: TatsuhikoMiyagawa 8 9 10 # Fix permalinks to the enclosures file (by resolving redirector cruft etc.) 9 11 - module: Filter::TruePermalink 10 12 13 # Download enclosures to the local directory 11 14 - module: Filter::FetchEnclosure 12 15 config: 13 16 dir: /home/miyagawa/public_html/podcasts 14 17 18 # Rewrite downloaded enclosure's URL (file path) by replacing 19 # ".../public_html/" with ".../~miyagawa/" 20 # This way enclosure URL links to your local web server 15 21 - module: Filter::RewriteEnclosureURL 16 22 config: … … 19 25 url: http://rock/~miyagawa/ 20 26 27 # Create SmartFeed for the all entries across the feeds 21 28 - module: SmartFeed::All 22 29 30 # Create a single unified odeo.xml as RSS 2.0 format 23 31 - module: Publish::Feed 24 32 rule: trunk/plagger/examples/search.yaml
r676 r1053 1 # Create your own search engine by aggregating data from variouis search engines 2 # and store the updated entry data to the localhost HyperEstraier 3 1 4 plugins: 2 - module: Subscription::Config 3 config: 4 feed: 5 - http://b.hatena.ne.jp/t/plagger?mode=rss&sort=eid 6 - http://del.icio.us/rss/tag/plagger 7 - http://bloglines.com/citations?url=http%3A%2F%2Fplagger.org%2F 8 - http://www.technorati.com/watchlists/rss.html?wid=349774 9 - http://groups.google.com/group/plagger-dev/feed/rss_v2_0_msgs.xml 10 5 # Subscribe to search engines using "Plagger" as a keyword 6 # and "http://plagger.org/" as a linking URL 11 7 - module: Subscription::Planet 12 8 config: 13 9 keyword: Plagger 10 url: http://plagger.org/ 14 11 15 - module: CustomFeed::BloglinesCitations12 # Aggregate those feeds using Xango the asynchronous crawler 16 13 - module: Aggregator::Xango 14 15 # Fixup permalink by resolving redirector cruft to the canonicalized URL 17 16 - module: Filter::TruePermalink 17 18 # Upgrade entry body to fulltext if possible 18 19 - module: Filter::EntryFullText 19 20 21 # Create SmartFeed by merging search results into a single new feed 20 22 - module: SmartFeed::All 21 23 24 # Store merged feed entries to localhost Estraier instance 25 # by using its node HTTP API 22 26 - module: Search::Estraier 23 27 config: trunk/plagger/examples/xoxo-planet.yaml
r684 r1053 1 # Create Planet web page using XOXO microformats as a subscription 2 1 3 plugins: 4 # Create a subscription out of XOXO-compatible XHTML web page 2 5 - module: Subscription::XOXO 3 6 config: 4 7 url: http://d.hatena.ne.jp/antipop/20050628/1119966355 5 8 6 # - module: Aggregator::Xango 9 # Create SmartFeed with entries Fresher than 7 days old 7 10 - module: SmartFeed::All 8 11 rule: … … 12 15 title: Planet Perl JP 13 16 17 # Output XHTML to public_html/perl using the default skin 14 18 - module: Publish::Planet 15 19 rule: … … 18 22 dir: /home/miyagawa/public_html/perl 19 23 skin: default 20 template:21 members_list: 1trunk/plagger/examples/xoxo2opml.yaml
r685 r1053 1 # Convert XOXO XHTML subscription to OPML 2 1 3 plugins: 4 # Create subcriptions from XOXO XHTML web page 2 5 - module: Subscription::XOXO 3 6 config: 4 7 url: http://d.hatena.ne.jp/antipop/20050628/1119966355 5 8 9 # Convert the subscriptions to OPML format 6 10 - module: Publish::OPML 7 11 config: trunk/plagger/examples/yapcvideo.yaml
r755 r1053 1 # Generate videocast feed (RSS 2.0) from archive.org search result page 2 1 3 plugins: 4 # Subscribe to the archive.org tag search page 2 5 - module: Subscription::Config 3 6 config: 4 7 feed: 5 8 - url: http://www.archive.org/search.php?query=subject:%22yapc%22 6 - module: Aggregator::Simple 9 10 # Upgrade entry body to fulltext 7 11 - module: Filter::EntryFullText 12 13 # Find Enclosures from entry body by looking for links to mov/mp4 files 8 14 - module: Filter::FindEnclosures 15 16 # Issue HEAD requests to found enclosures to know HTTP Content-Length 9 17 - module: Filter::HEADEnclosureMetadata 18 19 # Create RSS 2.0 feed out of those enclosures 10 20 - module: Publish::Feed 11 21 config:
