NAME

Plagger::Plugin::CustomFeed::Script - Script support for Plagger

SYNOPSIS

- module: Subscription::Config
  config:
    feed:
      - script:/path/to/script.rb
      - script:/path/to/scrape.py
- module: CustomFeed::Script

DESCRIPTION

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.

AUTHOR

Tatsuhiko Miyagawa

SEE ALSO

Plagger