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


Manual Reference Pages  -  PLAGGER::PLUGIN::FILTER::TRUEPERMALINK (3)

.ds Aq ’

NAME

Plagger::Plugin::Filter::TruePermalink - Normalize permalink using its own plugin files

CONTENTS

SYNOPSIS



  - module: Filter::TruePermalink



DESCRIPTION

This plugin normalizes permalink using YAML based URL pattern files.

This plugin rewrites permalink attribute of $entry, while keeping link as is. If $entry has enclosures, this plugin also tries to rewrite url of them.

CONFIG

follow_redirect If set to 1, this plugin issues GET request to entry permalinks to see if the server returns 301 or 302 redirect to other URL. Defaults to 1.

PATTERN FILES

You can write your own pattern file using YAML data format. Usable keys are:
author Your name. (Optional)
match Regular expression rule to match with entry’s link. Rewrites only happen when the URL form matches. You can omit this configuration to apply the rewrite rule to any URLs.
rewrite Replacement regexp to filter permalink. Permalink is stored in $_ variable so that you can write:



  rewrite: s/;jsession_id=\w+//



query_param URL query parameter to extract normalized permalink.



  query_param: destination



See assets/plugins/Filter-TruePermalink for more examples.

AUTHOR

youpy

Tatsuhiko Miyagawa

SEE ALSO

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


perl v5.20.3 PLAGGER::PLUGIN::FILTER::TRUEPERMALINK (3) 2006-12-05

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