The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statocles::Document - Base class for all Statocles documents

VERSION

version 0.030

DESCRIPTION

A Statocles::Document is the base unit of content in Statocles. Applications take documents to build pages.

This is the Model class in the Model-View-Controller pattern.

ATTRIBUTES

path

The path to this document.

title

The title from this document.

author

The author of this document.

content

The raw content of this document, in markdown.

tags

The tags for this document. Tags are used to categorize documents.

Tags may be specified as an array or as a comma-seperated string of tags.

Related links for this document. Links are used to build relationships to other web addresses. Link categories are named based on their relationship.

    crosspost - The same document posted to another web site

Each category contains an arrayref of hashrefs with the following keys:

    title - The title of the link
    href - The URL for the link

last_modified

The date/time this document was last modified.

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Doug Bell.

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