Skip to main content

collective.sgvizler

SGVizler is a library that can directly question SPARQL endpoint to visualize opendat in your site. This intregration of version 0.6 use dexterity type to be flexible with parameters.

Due to time limitation for the exercise this package is not done in the Plone 5 way.

Enjoy.

Features

  • SGVizler 0.6

  • Dexterity type to make the rendering

See the SGVizler documentation and screenshot below to see examples.

Examples

This add-on can be seen in action at the following sites:

Documentation

TODO #Full documentation for end users can be found in the “docs” folder, and is also available online at http://docs.plone.org/foo/bar

Local Setup

As SPARQL works with prefix in its query, a good thing can be to overload the sgvizler-setup.js file.

Proxy Configuration

SGVizler does AJAX request between domains. You need to configure your front proxy to accept data from domains where are SPARQL endpoints, id est you need to add connect-src and script-src provider in the Content-Security-Policy HTTP header.

Example with NGinx:

add_header X-Frame-Options "SAMEORIGIN";
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline' http://endpoint.example.com http://sws.ifi.uio.no https://www.google.com; style-src 'self' 'unsafe-inline'; img-src 'self' 'unsafe-inline' http://mediaserver.example.com; media-src 'self' http://mediaserver.example.com http://videoserver.example.com; font-src 'self' 'unsafe-inline'; object-src 'self' http://endpoint.example.com http://sws.ifi.uio.no; connect-src 'self' http://endpoint.example.com http://sws.ifi.uio.no";

Notice that you need to open your server to google.com JS api (https://www.google.com/jsapi) until a better implementation of requirements in this project.

Translations

This product has been translated into

  • French (TODO)

Installation

Install collective.sgvizler by adding it to your buildout:

[buildout]

...

eggs =
    collective.sgvizler

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know. You can contact the owner (don’t abuse please): Gerard.Vidal@ens-lyon.fr

License

This work was planned and done with the courtesy of the IFÉ - École Normale Supérieure de Lyon.

The project is licensed under the BSD.

Contributors

Changelog

1.0.1 (2015-12-17)

  • Fix double compression problem on minified javascript library [encolpe]

1.0 2015-12-16

  • Initial release. [encolpe]

  • Integrate SGVizler 0.6 [encolpe]

  • Add a Dexterity type to customize SGVizler rendering [encolpe]

Metadata

Release files for collective.sgvizler 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.sgvizler 1.0.1
File Size Uploaded Provenance Actions
collective.sgvizler-1.0.1.tar.gz 167.8 kB Without provenance Details for collective.sgvizler-1.0.1.tar.gz

Release files / collective.sgvizler-1.0.1.tar.gz

Download URL collective.sgvizler-1.0.1.tar.gz
Size 167.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d3546049cbc2a11aff74a707062ad78408fef7f0704e0d3cc14a339e312def88
BLAKE2b-256 checksum
How to use checksums
d7f1b0556327e745ca7034ef957ea26af9a754a7bb031c0a47d20e7fc6e62b9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for collective.sgvizler 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page