App-Mowyw
view release on metacpan or search on metacpan
If all your HTML files have a common header/footer, you may want to place them
in in the files `includes/header' and `includes/footer'.
For example `inlcudes/header' may contain
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="style.css" />
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
and `includes/footer' may contain
</body>
</html>
and perhaps an additional footer line to be displayed in all pages.
example/includes/header view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="style.css" />
<link rel="stylesheet" type="text/css" media="print" href="print.css" />
example/source/.htaccess view on Meta::CPAN
Options +FollowSymLinks +Includes
AddType 'text/html; charset=ISO-8859-1' shtml
AddOutputFilter INCLUDES .shtml
AddHandler cgi-script .cgi
DirectoryIndex index.shtml
RewriteEngine On
#ErrorDocument 404 /404
( run in 0.350 second using v1.01-cache-2.11-cpan-4d50c553e7e )