EE 1
EE 2
Extract URL Plus 2
Developer
3rd Party (Free)
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
This plugin is designed to take a URL (alone, or mixed in with other text, such as the automatic link the upload form might create) and dissect it into its separate components.
These components are named, as variables:
- full_url ( [the given url] )
- scheme (http)
- user (user)
- pass (pass)
- host (http://www.example.com)
- port (8080)
- public_path (/articles)
- file_path (/articles/index.php)
- server_path (/var/www/html/articles/index.php)
- file_name (index.php)
- extension (php)
- description (PHP File)
- file_size (1.14KB)
- file_size_raw (1.14)
- file_size_unit (KB)
- query_string (id=10&q=Hello+World)
- fragment (example_anchor)
Example A
{exp:zm_extract_url_plus show="%file_name (%file_size)"}
... Some text ...
{url_custom_field}
... Some more text ...
{/exp:zm_extract_url_plus
Example B
{exp:zm_extract_url_plus url="{url_custom_field}"}
{file_name} ({file_size})
{/exp:zm_extract_url_plus}
There is an additional parameter in this version:
url_only=”” - Defaults to “no”, meaning the plugin will revert to using a regular expression to find the URL in text. This of course is more CPU intensive than if you are supplying JUST a URL, where you could set this paramater to “yes”.
Extract URL Plus 2 Links
This entry was created April 20, 2009, 4:36 pm.
This entry was last updated April 30, 2010, 8:03 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!