NAME

Posy::Plugin::GenStatic - Posy plugin for generating static pages.

VERSION

This describes version 0.91 of Posy.

SYNOPSIS

require Posy;

Posy->import(@plugins);
Posy->run(%args);

DESCRIPTION

This plugin replaces the 'run' method in order to generate all known pages of a given type.

It expects extra parameters:

static_dir

The directory where the static pages are to be put.

gen_type

The type of pages to generate.

init

Run the given actions, but produce no output. This is useful for things like setting up the file indexes before doing a full run.

path

Generate one file, given by the path.

entry

Generate all entry files.

category

Generate all category files.

chrono

Generate all chrono files.

verbose

Be verbose?

CLASS METHODS

run

Posy->run(%args);

This version of run goes through the file list, creates a "fake" path for the files wanted to generate, and calls the core do_actions for each one.

REQUIRES

Posy
Posy::Core

Test::More

SEE ALSO

perl(1). posy_static

BUGS

Please report any bugs or feature requests to the author.

AUTHOR

Kathryn Andersen (RUBYKAT)
perlkat AT katspace dot com
http://www.katspace.com

COPYRIGHT AND LICENCE

Copyright (c) 2004-2005 by Kathryn Andersen

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.