NAME

HiD::Role::IsPost - Role for blog posts

SYNOPSIS

package HiD::ThingThatIsAPost;
use Moose;
with 'HiD::Role::IsPost';

...

1;

DESCRIPTION

This role is consumed by objects that are blog posts and provides blog post-specific attributes and methods.

ATTRIBUTES

categories

date

DateTime object for this post.

excerpt

It is generally useful to summarize or lead a post with a "read more" tag added to the end of the post. This is ideal for a blog where we might not want to list the full post on the front page.

tags

title

VERSION

version 1.0

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

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