ClearPress
view release on metacpan or search on metacpan
lib/ClearPress/decorator.pm view on Meta::CPAN
@{[map {
qq( <script type="text/javascript">$_</script>\n);
} grep { $_ } @{$self->script()}]}
EOT
my $onload = (scalar $self->onload()) ? qq( onload="@{[ join q(;), $self->onload()]}") : q[];
my $onunload = (scalar $self->onunload()) ? qq( onunload="@{[join q(;), $self->onunload()]}") : q[];
my $onresize = (scalar $self->onresize()) ? qq( onresize="@{[join q(;), $self->onresize()]}") : q[];
return <<"EOT";
<?xml version="1.0" encoding="utf-8"?>
<!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="@{[join q[,], @{$self->lang}]}" lang="@{[join q[,], @{$self->lang}]}">
<head>
<meta http-equiv="Content-Type" content="@{[$self->meta_content_type() || $self->defaults('meta_content_type')]}" />
@{[(scalar $self->meta_cookie())?(map { qq( <meta http-equiv="Set-Cookie" content="$_" />\n) } $self->meta_cookie()):q[]]}@{[$self->meta_refresh()?qq(<meta http-equiv="Refresh" content="@{[$self->meta_refresh()]}" />):q[]]}@{[$self->meta_expires()?qq...
<meta name="version" content="@{[$self->meta_version() || $self->defaults('meta_version')]}" />
<meta name="description" content="@{[$self->meta_description() || $self->defaults('meta_description')]}" />
<meta name="keywords" content="@{[$self->meta_keywords() || $self->defaults('meta_keywords')]}" />
<title>@{[$self->title || 'ClearPress Application']}</title>
$ss$rss$atom$js$script </head>
<body$onload$onunload$onresize>
t/data/rendered/derived_create.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!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" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<meta name="author" content="" />
<meta name="version" content="0.2" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>Example</title>
</head>
<body>
t/data/rendered/derived_list.html view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!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" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<meta name="author" content="" />
<meta name="version" content="0.2" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>Example</title>
</head>
<body>
t/data/rendered/header-1.frag view on Meta::CPAN
<?xml version="1.0" encoding="utf-8"?>
<!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-gb" lang="en-gb">
<head>
<meta http-equiv="Content-Type" content="text/html" />
<meta name="author" content="" />
<meta name="version" content="123" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>ClearPress Application</title>
( run in 0.498 second using v1.01-cache-2.11-cpan-49f99fa48dc )