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

NAME

Contenticious::Content::Node - base class for Contenticious content

SYNOPSIS

    use Mojo::Base 'Contenticious::Content::Node';

DESCRIPTION

Basic node functionality for both files and directories.

ATTRIBUTES

is_root

Is true iff this node is the root node of a content tree.

filename

The filename of this node. Needs to be set early.

name

The name of this node.

path_prefix

A prefix for this node's path in the whole content tree.

path

This node's path in the whole content tree.

meta

A hashref of meta informations.

html

Generated HTML from this node.

title

This node's title.

The name this node has in the page navigation.

METHODS

find

Find nodes in this subtree. This is a very basic version. It returns the node if the search path is empty and undef in all other cases.

SEE ALSO

Contenticious::Content, Contenticious::Content::Node::File, Contenticious::Content::Node::Directory, Contenticious