Plagger::Plugin::CustomFeed::Script - Script support for Plagger
- module: Subscription::Config config: feed: - script:/path/to/script.rb - script:/path/to/scrape.py - module: CustomFeed::Script
This plugin executes arbitrary script specified in subscription with script: URI protocol, then parse the STDOUT from the script to create a feed.
The output from the script can either be Atom/RSS feed, or YAML format which is compatible to the one used in CustomFeed::Debug. This means you can reuse your something2rss script used for NetNewsWire or similar tools, and you can even write your scraper code in other languages like Python/Ruby.
This plugin auto-detects if the output is XML or YAML.
Tatsuhiko Miyagawa
Plagger
To install Plagger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plagger
CPAN shell
perl -MCPAN -e shell install Plagger
For more information on module installation, please visit the detailed CPAN module installation guide.