App-Slackeria
view release on metacpan or search on metacpan
lib/App/Slackeria/Output.pm view on Meta::CPAN
return;
}
1;
__END__
=head1 NAME
App::Slackeria::Output - XHTML output for App::Slackeria
=head1 SYNOPSIS
# $project looks like this:
# {
# perl => {
# Debian => { ok => 1, data => '5.12.3-7' },
# Freshmeat => { ok => 1, data => '5.14.0' },
# },
# irssi => {
lib/App/Slackeria/Output.pm view on Meta::CPAN
filename => '/tmp/out.html',
data => $project
);
=head1 VERSION
version 0.12
=head1 DESCRIPTION
App::Slackeria::Out::XHTML takes a hashref of projects, which themselves are
hashrefs of plugin name => plugin output pairs, and stuffs it into a nicely
formatted (X)HTML table.
=head1 FUNCTIONS
=over
=item App::Slackeria::Output->write_out(B<filename> => I<filename>, B<data> =>
I<data>, [B<template> => I<template file>])
share/template.xhtml view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title><TMPL_VAR title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
html {
font-family: Sans-Serif;
text-align: center;
}
( run in 2.689 seconds using v1.01-cache-2.11-cpan-49f99fa48dc )