Add-Ons
Details
Parse URLs
1.1.1
- Author:
- Paul Burdick
- Published:
- Jul 25, 2005
- Last Updated:
- Aug 20, 2011
- License:
- First Party License
Parses URL in a string and returns only certain parts of those URLs like just the domain and path.
Example Usage
{exp:parse_url parts="scheme|host" omit="www"}
text you want processed
{/exp:parse_url}
Notes
Wrap anything you want to be processed between the tag pairs.{exp:parse_url omit="www" parts="not path|query}
text you want processed
{/exp:parse_url}
PARAMETERS:
The "parts" parameter lets you specify what parts of the URL to keep:
scheme - e.g. http
host
port
user
pass
path
query - after the question mark ?
fragment - after the hashmark #
Include multiple ones like so: parts="scheme|host|path|query|fragment".
You can also use not like so: parts="no path|query"
***************************
Version 1.1.1
***************************
Fixed a bug where the auto linking was interfering with this plugin's processing of URLs.





