John SJ Anderson > HiD > HiD::Post

Download:
HiD-1.5.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.5   Source  

NAME ^

HiD::Post - Blog posts

SYNOPSIS ^

    my $post = HiD::Post->new({
      dest_dir       => 'path/to/output/dir' ,
      hid            => $master_hid_object ,
      input_filename => 'path/to/file/for/this/post' ,
      layouts        => $hashref_of_hid_layout_objects,
    });

DESCRIPTION ^

Class representing a "blog post" object.

METHODS ^

get_default_layout

The default layout used when publishing a HiD::Post object. (Defaults to 'post'.)

publish

Publish -- convert, render through any associated layouts, and write out to disk -- this data from this object.

VERSION ^

version 1.5

AUTHOR ^

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 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.

syntax highlighting: