Local::Website

Table of contents

NAME
Synopsis
Description
Examples
Author
Copyright

NAME

Local::Website - Build a web site from an XML file

Synopsis

        use Local::Website;
        use XML::SAX::ParserFactory;

        my($handler)         = Local::Website -> new();
        my($parser)          = XML::SAX::ParserFactory -> parser(Handler => $handler);
        my($input_file_name) = 'web.site.xml'; # File format undocumented :-(.

        $parser -> parse_uri($input_file_name);

        my($page_name);

        for $page_name (grep{! /^(_|Methods)/} keys %$handler)
        {
                generate HTML ... See web.site.pl for details.
        }

Description

Local::Website is a pure Perl module.

Examples

        http://savage.net.au/Ron/html/graphing-database-schema.html

Author

Local::Website was written by Ron Savage in 2004.

Home page: http://savage.net.au/index.html

Copyright

Australian copyright © 2004, Ron Savage. All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html