urlClean Icon

urlClean

By Dash Media (dashmedia)

urlClean first screenshot

urlClean is used as an output modifier on urls to force them to validate, also useable on document ID's to create links to them.

accepts option value equal to the makeURL scheme parameter when used on document ID's instead of full urls

eg:

url: youtube.com/test?q=this and that -> //youtube.com/test?this%20and%20that

url: /test relative?var=with, params.&that -> /test%20relative?var=with%2C%20params%2E&that

url: 2 -> /alias-to-your-page

[[+id:urlClean=`full`]] -> http://your-site.com/alias-to-document

AUTHOR: Jason Carney, DashMedia.com.au

Dash Media


New in urlClean 1.0.3

urlClean 1.0.3-pl

---------------------------------

- use system default URL Generation Scheme when a Document ID is provided

- move to repoman build system

urlClean 1.0.2-pl

---------------------------------

- fix for newer versions of PHP (was causing errors when links started with '//')

urlClean 1.0.1-pl

---------------------------------

-output modifier bug fix

==urlClean 1.0.0-pl==

-inital release

More

Information

Released
April 21, 2014
Supported Versions
2.2 – Current
Downloads
773
License
GPLv2

More from Dash Media

S
srcset

SrcSet is intended for use as an output modifier to easily generate…

View
G
GetIdList

A general purpose snippet to get a list of resource ids for MODX…

View
googleMap

This output modifier accepts an address and returns a url for the…

View
CloudFlare API Integration

Uses the CloudFlare API to purge the CloudFlare cache for your website,…

View