Plagger::Plugin::Publish::Planet - Planet XHTML publisher


Plagger documentation  | view source Contained in the Plagger distribution.

Index


NAME

Top

Plagger::Plugin::Publish::Planet - Planet XHTML publisher

SYNOPSIS

Top

  - module: Publish::Planet
    rule:
      expression: $args->{feed}->id eq 'smartfeed:all'
    config:
      dir: /path/to/htdocs
      theme: sixapart-std

DESCRIPTION

Top

This plugin generates XHTML out of aggregated feeds suitable to put on the web as "Blog aggregator" like Python Planet does.

CONFIG

Top

dir

Directory to save output XHTML and CSS files in. Required.

theme

Name of "theme" to use as an XHTML template. Available options are default and sixapart-std. Optional and defaults to 'default'.

template

Stash variables to pass to template. Example:

  template:
    style_url: http://example.com/foo.css
    url:
      base: http://example.org/planet/

style_url
  style_url: http://www.example.com/style.css

URL of stylesheet to use in templates. You can pass multiple URLs by passing an array. Optional.

url
  url:
    base: http://example.com/planet/

URL to be used as a Planet base. This URL is used as a base URL for RSS/Atom feeds and stylesheet if they're relative.. Optional.

EXAMPLES

Top

You can see a couple of Publish::Planet powered sites.

http://plagger.org/planet/

http://planet.yapcchicago.org/

AUTHOR

Top

Casey West

Tatsuhiko Miyagawa

SEE ALSO

Top

Plagger, http://plagger.org/planet/, http://planetplanet.org/


Plagger documentation  | view source Contained in the Plagger distribution.