Extract URL Plus 2

Developer

Daniel Walton

3rd Party (Free)


EE Version Support

  • ExpressionEngine 1.x

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!