Skip to main content

A TiddlyWeb plugin that provides a jsonp serializer.

Project description

tiddlywebplugins.jsonp is a subclass of the JSON serializer which optionally allows the JSON output from TiddlyWeb to be packaged as JSONP (JSON with padding). This is a method for getting around cross domain constraints. You should only use this if you know what you are doing with regard to security issues.

To use, add ‘tiddlywebplugins.jsonp’ to system_plugins in tiddlywebconfig.py.

When requests are made for JSON if there is a jsonp_callback query parameter the value of that parameter will be prepended to the output, with the required ‘(’ and ‘)’.

Created by Chris Dent, <cdent@peermore.com>, for the Wiki-Data project: http://www.wiki-data.com/

Licensed as TiddlyWeb itself.

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

tiddlywebplugins.jsonp-0.4.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.jsonp-0.4.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.jsonp-0.4.tar.gz
Algorithm Hash digest
SHA256 79a4a65629a5b5e50e06b2d34d3001a18e37d840ba4cb1c5acd164c34c5f7545
MD5 aacb5b38a351a432ec7a12767762c1be
BLAKE2b-256 c7c7737895b6fee64ce437ab1345f6bd25c7b9c72963e3ca7d91ff4c4d08a319

See more details on using hashes here.

Provenance

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