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.
local
url
In this example, /home/miyagawa/public_html/foo.mp3 is rewritten to http://rock/~miyagawa/foo.mp3.
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.