Bernard Simon > App-Followme-0.92 > App::Followme::FormatPages

Download:
App-Followme-0.92.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.92   Source  

NAME ^

App::Followme::FormatPages - Simple static web site maintenance

SYNOPSIS ^

    use App::Followme::FormatPages;
    my $formatter = App::Followme::FormatPages->new($configuration);
    $formatter->run();

DESCRIPTION ^

App::Followme::FormatPages updates the web pages in a folder to match the most recently modified page. Each web page has sections that are different from other pages and other sections that are the same. The sections that differ are enclosed in html comments that look like

    <!-- section name-->
    <!-- endsection name -->

and indicate where the section begins and ends. When a page is changed, this module checks the text outside of these comments. If that text has changed. the other pages on the site are also changed to match the page that has changed. Each page updated by substituting all its named blocks into corresponding block in the changed page. The effect is that all the text outside the named blocks are updated to be the same across all the web pages.

CONFIGURATION ^

The following parameters are used from the configuration:

quick_update

Only check files in current directory

web_extension

The extension used by web pages. The default value is html

LICENSE ^

Copyright (C) Bernie Simon.

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

AUTHOR ^

Bernie Simon <bernie.simon@gmail.com>

syntax highlighting: