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


Manual Reference Pages  -  PLAGGER::PLUGIN::PUBLISH::JAVASCRIPT (3)

.ds Aq ’

NAME

Plagger::Plugin::Publish::JavaScript - publish links to entries as JavaScript

CONTENTS

SYNOPSIS



  - module: Publish::JavaScript
    config:
      dir: /path/to/www/js
      filename: %t.js



DESCRIPTION

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.

CONFIG

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:
o %u url
o %l link
o %t title
o %i id

AUTHOR

Tatsuhiko Miyagawa

SEE ALSO

Plagger, Plagger::Plugin::Publish::MTWidget
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLAGGER::PLUGIN::PUBLISH::JAVASCRIPT (3) 2006-12-05

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