Formatter-HTML-MPS
view release on metacpan or search on metacpan
lib/Formatter/HTML/MPS/OutputFormats.pm view on Meta::CPAN
use Exporter;
use vars qw( @ISA @EXPORT $VERSION);
@ISA = qw( Exporter );
@EXPORT = qw( %HEADERS %FOOTERS %CSS );
$VERSION = '0.2';
our %HEADERS = (
'xhtml1.0_strict' =>
q{<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>$title</title>
$css
</head>
<body>
}
t/expected1.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>Formatter::HTML::MPS</title>
<link rel="stylesheet" type="text/css" href="projection.css" media="projection" />
</head>
<body>
<div class="layout">
<div id="title"><span>Formatter::HTML::MPS</span></div>
t/expected2.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>Formatter::HTML::MPS</title>
<link rel="stylesheet" type="text/css" href="projection.css" media="projection" />
</head>
<body>
<div class="layout">
<div id="title"><span>Formatter::HTML::MPS</span></div>
t/expected_defaultcss.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>Formatter::HTML::MPS</title>
<style type="text/css">
/*
* Formatter::HTML::MPS - Default CSS
*
*/
@media projection {
t/expected_inlinecss.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>Formatter::HTML::MPS</title>
<style type="text/css">@media projection {
.screen {
display:none;
}
t/expected_singleslide_w_header.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="generator" content="Formatter::HTML::MPS"/>
<title>Formatter::HTML::MPS</title>
<style type="text/css">
/*
* Formatter::HTML::MPS - Default CSS
*
*/
@media projection {
( run in 1.672 second using v1.01-cache-2.11-cpan-49f99fa48dc )