GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Plagger::Plugin::Filter::RewriteEnclosureURL(3) User Contributed Perl Documentation Plagger::Plugin::Filter::RewriteEnclosureURL(3)

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.

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.

Tatsuhiko Miyagawa

Plagger
2006-12-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.