Mateu X. Hunter > Mojito-0.21 > Mojito::Page::Parse

Download:
Mojito-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source   Latest Release: Mojito-0.24

Name ^

Mojito::Page::Parse - turn page source into a page structure

has_nested_section

Test if we have nested sections.

add_implicit_sections

Add implicit sections to assist the building of the page_struct.

parse_sections

Extract section class and content from the page.

build_sections

Wrap up the getting of sections process.

build_page_structure

It's just an href that we'll persist as a Mongo document.

syntax highlighting: