| Plagger documentation | view source | Contained in the Plagger distribution. |
Plagger::Plugin::Publish::JSON - Publish JSON data output
- module: Publish::JSON
config:
dir: /path/to/data
This plugin dumps feed data to JSON JavaScript Object Notation.
Directory name to save.
varname: foo
Variable name to store JSON data. If set, .json file would include the variable declaration e.g.:
var foo = { ... }
Optional.
jsonp: bar
JSONP callback name to pass JSON data back. Optional. If set, .json file would wrap the returned data in a callback function, e.g.:
bar({ ... })
Optional.
Tatsuhiko Miyagawa
| Plagger documentation | view source | Contained in the Plagger distribution. |