| Plagger documentation | view source | Contained in the Plagger distribution. |
Plagger::Plugin::Publish::JavaScript - publish links to entries as JavaScript
- module: Publish::JavaScript
config:
dir: /path/to/www/js
filename: %t.js
This plugin publishes links to feed entries as an HTML embeddable JavaScript file. The JS file contains document.write() calls, and can be easily included in any HTML page using:
<script src="/path/to/file.js"></script>
in any place, like Blog sidebar widgets.
The HTML emitted by the JavaScript code has exactly the same structure with Movable Type's standard sidebar module, so you can easily style using CSS.
Directory to save JS files in.
Filename to be used to create JS files. It defaults to %i.js, but
could be configured using the following formats like strftime:
Tatsuhiko Miyagawa
| Plagger documentation | view source | Contained in the Plagger distribution. |