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

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

This plugin rewrites enclosure URL using rewrite rule.

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.

Tatsuhiko Miyagawa
