NAME

HiD::VirtualPage - Pages injected during the build process that don't have corresponding files

SYNOPSIS

    my $page = HiD::VirtualPage->new({
      output_filename => 'path/to/output/file' ,
      content         => 'content to go into file',
    });

DESCRIPTION

Class representing a virtual "page" object -- that is, a page that will be generated during the publishing process, but that doesn't have a direct on-disk component or input prior to that. VirtualPages need to have their content completely built and provided at the time they are instantiated. Examples would be Atom and RSS feeds.

ATTRIBUTES

output_filename

METHODS

publish

Publish -- write out to disk -- this data from this object.

VERSION

version 1.992

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by John SJ Anderson.

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