Tatsuhiko Miyagawa > Plagger > Plagger::Plugin::Publish::Planet

Download:
Plagger-0.7.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

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

SYNOPSIS ^

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

DESCRIPTION ^

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

CONFIG ^

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 ^

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

http://plagger.org/planet/

http://planet.yapcchicago.org/

AUTHOR ^

Casey West

Tatsuhiko Miyagawa

SEE ALSO ^

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

syntax highlighting: