Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

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.3 (unreleased)

  • test extra fixed

  • dependency on plone.resource

[tobiasherp]

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]

Supported by

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