visaplan.js.urlsplit

Plone integration of urlSplit.js


License
MIT
Install
pip install visaplan.js.urlsplit==1.1.0

Documentation

visaplan.js.urlsplit

This is a simple Zope / Plone integration of the urlSplit.js Javascript tool which provides a urlSplit(url_string) function.

Features

  • Makes available both the compressed and uncompressed versions of urlSplit.js
  • Adds the compressed version to the Javascript registry

Documentation

For the Javascript functionality, please see urlSplit.js.

Installation

Install visaplan.js.urlsplit by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.js.urlsplit

and then running bin/buildout.

After restarting your Zope instance, install the extension using the /prefs_install_products_form.

As a dependency

  • Add the package to your package dependencies, e.g. in your setup.py:

    ...
    install_requires=[
        'setuptools',
        'visaplan.js.urlsplit',
        ],
    ...
    
  • Add the package to your profile dependencies, e.g. in your …/profiles/default/metadata.xml:

    <version>1000</version>
    <dependencies>
      <dependency>profile-visaplan.js.urlsplit:default</dependency>
    </dependencies>
    
  • Restart your Zope instance and re-install your package.

Contribute

For the Javascript functionality, please contribute to urlSplit.js.

For the Zope / Plone integration:

License

The project is licensed under the MIT License.