Skip to main content

Plone integration of urlSplit.js

Project description

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.

Contributors

Changelog

1.0.2 (2019-06-07)

  • Corrected internet links; improved installation documentation. [tobiasherp]

1.0 (2019-06-07)

  • Initial release, containing urlSplit.js v2.1.2. [tobiasherp]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visaplan.js.urlsplit-1.0.2.dev2.tar.gz (12.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page