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

NAME

Strehler::Element::Extra::Chapter - Chapter entity

DESCRIPTION

Just a new Article representation for frontend. Text content is parsed using Text::Markdown and new attributes are made available.

Article, in the backend, are still inserted using Article entity.

INSTALLATION

No installation is needed, just use Strehler::Element::Extra::Chapter while retrieving Strehler::Element::Article objects.

ATTRIBUTES

Chapter has the same attributes of Strehler::Element::Article.

Text manipulations (truncates) are added.

incipit

First 100 characters of the body, parsed using Text::Markdown. Text is terminated with "...".

abstract

First 800 characters of the body, parsed using Text::Markdown. Text is terminated with "...".

NOTES

This is the implementation of what is described in Strehler::Manual::MarkdownArticleTutorial.