Bulknews::Subtech RSSフィード

2006/05/13 (土)

Plagger Hackathon #3 07:23  Plagger Hackathon #3 - Bulknews::Subtech を含むブックマーク はてなブックマーク -  Plagger Hackathon #3 - Bulknews::Subtech

  • XML::Feed で add_enclosure サポート(とりあえず Hack で回避)
  • Publish::Feed で RSS 2.0/Atom enclosure サポート
  • Filter::RewriteEnclosureURL でロ-カルパスをURLに
# synchronize Podcasts from Odeo subscription, download all the
# episodes, rewrite enclosure URL and republish as RSS 2.0 podcast
# locally
plugins:
  - module: Subscription::Odeo
    config:
      account: TatsuhikoMiyagawa

  - module: Filter::TruePermalink

  - module: Filter::FetchEnclosure
    config:
      dir: /home/miyagawa/public_html

  - module: Filter::RewriteEnclosureURL
    config:
      rewrite:
        - local: /home/miyagawa/public_html/
          url:   http://rock/~miyagawa/

  - module: SmartFeed::All

  - module: Publish::Feed
    rule:
      expression: $args->{feed}->id eq 'smartfeed:all'
    config:
      dir: /home/miyagawa/public_html/feeds
      format: RSS
      filename: odeo.xml