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.1.0 (2021-11-29)

New Features:

  • Added new script urlUnsplit.js, containing a urlUnsplit function

Improvements:

  • jsregistry.xml: better attributes order (id first)

Profile changes:

  • Registered new script (but disabled, by default)

  • Incremented profile version to 1002

Requirements:

[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]

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.1.0.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file visaplan.js.urlsplit-1.1.0.tar.gz.

File metadata

  • Download URL: visaplan.js.urlsplit-1.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5

File hashes

Hashes for visaplan.js.urlsplit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6688caad27412d789a1a6d790d4dfb3465e46926bbe688372a774482289f8305
MD5 eae85e0a6aefa2dbad16ea58d1a20a04
BLAKE2b-256 835b38255bf3c36d6e58bed6529d30cfc5df9f32b6fe304d258c8fd29b9bf116

See more details on using hashes here.

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