Take me over?
NAME
Posy::Plugin::GenStatic - Posy plugin for generating static pages.
VERSION
This describes version 0.92 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=>directory
-
The directory where the static pages are to be put.
- gen_type=>string
-
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.
- gen_match=>regex
-
If gen_type is entry,category or chrono, then only generate those files which match.
- verbose=>1
-
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.