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::WIDGET::SIMPLE (3)

.ds Aq ’

NAME

Plagger::Plugin::Widget::Simple - Simple widget creation using config

CONTENTS

SYNOPSIS



  - module: Widget::Simple
    config:
      link: http://www.example.com/
      content_dynamic: "Entry from [% entry.author %]"



DESCRIPTION

Widget::Simple is a plugin that allows you to write your own widget using a simple configuration file.

CONFIG

link


  link: http://example.com/add



URL that the widget links to. Required.

query


  query:
    version: 4
    url: $args->{entry}->url



Query parameter to append to the URL. If the value contains $, it’ll be automatically eval()ed. Optional.

content


  content: <img src="http://example.com/img.gif" alt="foo" />



Content to display in a widget. HTML tags will be displayed as is and thus any HTML meta characters have to be escaped. Required, if you don’t use content_dynamic.

content_dynamic


  content_dynamic: "Entry from [% entry.author | html %]"



If you want to dynamically generate the content of widget, use content_dynamic instead. Value of the content_dynamic is compiled and rendered using Template-Toolkit. Required, if you don’t use content.

AUTHOR

Tatsuhiko Miyagawa

SEE ALSO

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


perl v5.20.3 PLAGGER::PLUGIN::WIDGET::SIMPLE (3) 2006-12-05

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