GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Plagger::Plugin::Publish::JavaScript(3) User Contributed Perl Documentation Plagger::Plugin::Publish::JavaScript(3)

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.

dir
Directory to save JS files in.
filename
Filename to be used to create JS files. It defaults to "%i.js", but could be configured using the following formats like strftime:
  • %u url
  • %l link
  • %t title
  • %i id

Tatsuhiko Miyagawa

Plagger, Plagger::Plugin::Publish::MTWidget
2006-12-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.