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
Hashes for tiddlywebplugins.jsonp-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d15737fed009849397e3990d17fbef09e3e1c7579a4356307b89d84d9f8263 |
|
MD5 | af48ea8a198d82790dc014b9c6fe10f5 |
|
BLAKE2b-256 | 80b1f3a60e9d64fe7da180db26d39041529bb116960ca9f367bfa7fd6ec17753 |