Plagger::Plugin::Filter::RewriteEnclosureURL - Rewrite enclosure URL for republishing


Plagger documentation  | view source Contained in the Plagger distribution.

Index


NAME

Top

Plagger::Plugin::Filter::RewriteEnclosureURL - Rewrite enclosure URL for republishing

SYNOPSIS

Top

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

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

DESCRIPTION

Top

This plugin rewrites enclosure URL using rewrite rule.

CONFIG

Top

rewrite

List of hash that defines rule to rewrite URL. local to represent local path, which should match with enclosure's local_path and url to represent publicly accessible HTTP base URL.

In this example, /home/miyagawa/public_html/foo.mp3 is rewritten to http://rock/~miyagawa/foo.mp3.

AUTHOR

Top

Tatsuhiko Miyagawa

SEE ALSO

Top

Plagger


Plagger documentation  | view source Contained in the Plagger distribution.