HTML-WebMake
view release on metacpan or search on metacpan
doc/documentation.wmk view on Meta::CPAN
</attrdefault>
</attrdefault>
</attrdefault>
<!-- and now define the metadata for those PODs quickly using a metatable -->
<metatable delimiter="|">
.|title|abstract
Main.pm|HTML::WebMake::Main|module documentation
PerlCodeLibrary.pm|HTML::WebMake::PerlCodeLibrary|module documentation
Content.pm|HTML::WebMake::Content|module documentation
webmake|webmake(1)|manual page
dump_vars.wmk|dump_vars.wmk|dump all WebMake variables and content items
sitetree.wmk|sitetree.wmk|WebMake tag to generate a per-page sitemap
navtree.wmk|navtree.wmk|WebMake tag to generate an alternative per-page sitemap
safe_tag.wmk|safe_tag.wmk|Tag to ''make safe'' WebMake, EtText or HTML data
thumbnail_tag.wmk|thumbnail_tag.wmk|Tag to create ''thumbnail'' links for photo albums
download_tag.wmk|download_tag.wmk|Tag for quick download links to files
csvtable_tag.wmk|csvtable_tag.wmk|define a HTML table using comma-separated values
</metatable>
<!-- ------------------------------------------------------------------------ -->
<{perl
# define a quick tag to mark up screenshots with a nice border.
# If I ever get around to make parameterised content references this taglib-style
# clunkiness will not be necessary ;)
define_empty_tag ("shot", \&make_shot, qw(src));
sub make_shot {
my ($tag, $attrs, $text, $self) = @_;
return qq{
<table border="0" cellpadding="0" cellspacing="0" align=center>
<tr><td bgcolor="#333333">
<table border="0" cellpadding="2" cellspacing="2">
<tr><td bgcolor="#ffffff">
<table border="0" cellpadding="2" cellspacing="2">
<tr><td>
<img src="}.$attrs->{src}.qq{" \${IMGSIZE} />
</td></tr></table>
</td></tr></table>
</td></tr></table>
};
}
'';
}>
<!-- ------------------------------------------------------------------------ -->
<attrdefault name=map value=false />
<!-- Some static bits of HTML for headers and footers... -->
<template name=header>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>WebMake: Documentation: $[this.title]</title>
<meta name="generator" content="${WebMake.GeneratorString}">
<style>${documentation.css}</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#3300cc" vlink="#660066">
<font face="lucida,verdana,sans-serif">
<div align=center> <img src=$(TOP/)images/WebMakeTitle.png ${IMGSIZE} alt="WebMake"></div>
${navbar}
<!-- yes, it's that Mozilla black-border code again ;) -->
<!-- stolen from www.mozilla.org via rc3.org -->
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr><td BGCOLOR="#aaaaaa">
<table border=0 cellspacing=4 cellpadding=4 width="100%">
<tr><td BGCOLOR="#ffffff">
<table border=0 cellspacing=4 cellpadding=4 width="100%">
<tr><td>
<h1>$[this.title]</h1>
</template>
<!-- ------------------------------------------------------------------------ -->
<template name=navbar>
<table width=100%><tr><td valign=top>
<strong><a href=http://webmake.taint.org/>WebMake</a>
Documentation</strong> (version ${WebMake.Version})
</td><td valign=top>
<div align=right>
[ $[navlinks] | <a href=$(index)>Index</a>
| <a href=$(allinone)>All In One</a> ]
</div>
</td></tr></table>
</template>
<!-- ------------------------------------------------------------------------ -->
<template name=footer>
</td></tr></table>
</td></tr></table>
</td></tr></table>
${navbar}
<div align=right>
<a href=http://webmake.taint.org/>
<img src=$(TOP/)images/BuiltWithWebMake.png ${IMGSIZE} alt="Built With WebMake" border=0></a>
</div>
</font></body></html>
</template>
<!-- ------------------------------------------------------------------------ -->
<!-- Take all the files and all the sections, and come up with
a list, for each section, of the files that should be in it,
in sorted order.
-->
<{perl
( run in 1.127 second using v1.01-cache-2.11-cpan-796a6f069b2 )